hacks

0

Introducing Ubiquity for Firefox: looks awesome!

This is the coolest application I've ever seen in my life.

0

How to - find out if a website is running drupal

Pretty simple.

#!/usr/bin/env bash

wget -S $1 2>&1 | grep -q -m 1 "Expires: Sun, 19 Nov 1978 05:00:00 GMT" \
&& echo "Yes" || echo "No"

Save the script in a file called is-drupal, and make it executable (i.e. chmod +x is-drupal) and put it in a directory in your path (e.g. ~/local/bin/). Now, you can easily check a site with following command:

is-drupal www.federicopistono.org

Found here.

0

hacks - Pizza Party Unix - order a pizza from a terminal

This is awesome. pizza_party is a 24 KB Perl script written for people who spend so much time at the command-line that they don't have
time to pick up the phone and call Dominos, or even to go thru the many-step process of using Dominos
web interface
. Obviously it's released under the GPL. The website reports that it's been ported to Python.

Pizza Party Unix


Pizza Party Unix
Pizza Party Unix
Pizza Party Unix

0

hacks - feeling at home with bash

I longed for this for so many year but somehow never took the effort to research it. Turns out that bash autocompletion can be be made into something sane by adding the following to profile/bashrc:

# make bash autocomplete with up arrow
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
# make tab cycle through commands instead of listing
bind '"\t":menu-complete'
# make cd try only directories
complete -d cd

From drupal4hu.

0

Johnny Lee - Creating tech marvels out of a $40 Wii Remote

Johnny Lee demos his amazing Wii Remote hacks, which transform the $40 game piece into a digital whiteboard, a touchscreen and a head-mounted 3-D viewer. A multi-ovation demo from TED2008.

Syndicate content