This file contains hidden or 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
| hg status | gawk '/^M/ { print $2; }' | egrep -L 'filefield_paths|ffp' | xargs hg revert --no-backup |
This file contains hidden or 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
| gfind . -type f -name *.css -print0 | xargs -0 yuicompressor -o '.css$:.css' | |
| gfind . -type f -name *.js -print0 | xargs -0 yuicompressor -o '.js$:.js' |
This file contains hidden or 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
| var sys = require("sys"), | |
| http = require("http"), | |
| growl = require("./node-growl/lib/growl"), | |
| child_process = require("child_process"); | |
| function createClient() { | |
| var i = http.createClient(80, website); | |
| // Handle a connection error. | |
| // Thanks to http://rentzsch.tumblr.com/post/664884799/node-js-handling-refused-http-client-connections. |
This file contains hidden or 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
| brew install lorem; lorem -l 108 -q 10 | say |
This file contains hidden or 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
| var command = sprintf("echo '%s' | /usr/local/bin/gsed -e '%s'", | |
| last_said[message.user].replace("'", "'\"'\"'"), | |
| result[1].replace("'", "'\"'\"'")); |
This file contains hidden or 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
| 8:51:22 AM smerrill: ohai\n | |
| 8:51:25 AM smerrill: s/./&/ | |
| 8:51:26 AM n00b_sedbot: What smerrill meant to say was: | |
| 8:51:26 AM n00b_sedbot: ohai | |
| 8:51:37 AM smerrill: s/$/, dudes!/ | |
| 8:51:38 AM n00b_sedbot: What smerrill meant to say was: | |
| 8:51:39 AM n00b_sedbot: ohai, dudes! | |
| 8:51:39 AM n00b_sedbot: , dudes! | |
| 8:51:39 AM n00b_sedbot: , dudes! | |
| 8:51:45 AM smerrill: s/$/, dudes!/ |
This file contains hidden or 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 | |
| for i in `hg heads . | grep changeset: | awk '{ print $2; }' | egrep -o '^[0-9]+' | sort -n`; do | |
| hg merge $i; | |
| hg commit -m "Merge of doom."; | |
| done |
This file contains hidden or 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
| autossh | |
| bash-completion | |
| cmake | |
| coreutils | |
| csshx | |
| ctags | |
| curl | |
| discount | |
| dos2unix | |
| drush |