This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elms=document.getElementsByTagName('button');for(var like in elms){if(typeof elms[like] === 'object'&& elms[like].hasClass('like_link')){elms[like].click()}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command GrepWord :execute 'grep -r --exclude=metrics/coverage/* --exclude=*.log --exclude=*.*-base --exclude=vendor/* --exclude=*.tmp '.expand('<cword>').' *' | :copen | :cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tcpdump -vi en0 'dst port 53' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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` |