Skip to content

Instantly share code, notes, and snippets.

View wizardishungry's full-sized avatar
🐫
Copyright 1987-2013, Larry Wall

Jon Williams wizardishungry

🐫
Copyright 1987-2013, Larry Wall
View GitHub Profile
#! /bin/bash
while true; do
curl -s -L http://phobos.apple.com/version | grep -i Restore | grep -i "iPhone3,1" | grep -i 4.1
if [ "$?" = "1" ]; then
echo "No firmware yet"
else
growlnotify -s -m "iOS 4.1 is now available!"
fi
sleep 120
done
cd ~/Music && nice -n 20 rsync -aP --delete --delete-excluded --inplace --exclude=*.itc --exclude=*.ipa NO\ LEAKS iTunes Mp3\ Dump chmmr\ mp3s misc\ demos [email protected]:~/Music 1> /dev/null 2> /dev/null
PANTS: HELLO ??? AM I LATE FOR BURNING MAN ??? IT IS COLD
PANTS: THEY PROMISED FOUR AND TWENTY BLACKBIRDS
PANTS: THIS IS MORE LIKE FOUR HUNDRED AND TWENTY BLACK DICKS ALL AT ONCE (WITHOUT REMORSE OR AN OUNCE OF POLITENESS I MIGHT ADD)
@wizardishungry
wizardishungry / facebook-like_bomb.bookmarklet.js
Created February 2, 2010 01:14
javascript to be really funny on facebook
elms=document.getElementsByTagName('button');for(var like in elms){if(typeof elms[like] === 'object'&& elms[like].hasClass('like_link')){elms[like].click()}}
We couldn’t find that file to show.
@wizardishungry
wizardishungry / myspace.css
Created December 28, 2009 21:54
myspace css for chmmr
body { background:url(http://farm3.static.flickr.com/2690/4052388930_f9a6e55e78_o.png) !important; background-position:top center;margin-top: 1500px; background-repeat: no-repeat !important; background-attachment: fixed !important; } body * { background: 0000ff99; color: orange !important; border:none !important; border-width:0 !important;} tr * {background:url(http://farm3.static.flickr.com/2690/4052388930_f9a6e55e78_o.png);}ul { background: white;}
table td { background: white; }
table, tr, td {border: none; background-color: transparent; padding: 0;}
table {border: none; background-color: transparent;}
table table {border: none; border-color: none; background-color: transparent;}
table table table {border: 1px solid; border-color: FFFF00; background-color: 18ff00; padding: 0;}
table table table table {border: none; border-color: none;}
a:link, a:link font, a:active, a:active font, a:visited, a:visited font, a.navbar:link, a.navbar:active, a.navbar:visited, a.redlink:link, a.redlink:active, a.redlink:visi
command GrepWord :execute 'grep -r --exclude=metrics/coverage/* --exclude=*.log --exclude=*.*-base --exclude=vendor/* --exclude=*.tmp '.expand('<cword>').' *' | :copen | :cc
sudo tcpdump -vi en0 'dst port 53'
@wizardishungry
wizardishungry / MYSQL-lib.model.schema.sql
Created June 24, 2009 18:34
mysql schema for limetracker 1.0
# This is a fix for InnoDB in MySQL >= 4.1.x
# It "suspends judgement" for fkey relationships until are tables are set.
SET FOREIGN_KEY_CHECKS = 0;
#-----------------------------------------------------------------------------
#-- client
#-----------------------------------------------------------------------------
DROP TABLE IF EXISTS `client`;
#!/bin/sh
#short circuit if screensaver is running
/usr/sbin/lsof /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine && exit
CAPTURE="/opt/local/bin/isightcapture -t jpg"
cd $HOME/Documents/captures
D1=`date +%y%m%d/%H`
D2=`date +%y%m%d.%H%M%S`