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/sh | |
| # Directory which will contain symlinks to messages lacking replies | |
| MFOLDER=~/.mairix-results | |
| # default query - all messages from me | |
| QUERY="f:$USER" | |
| if [ "x$1" != "x" ]; then | |
| QUERY="$@" |
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/sh | |
| twidge lsfollowers | sort > followers.new | |
| diff -Nu followers.old followers.new | ifne mail -s "New Followers" cwarden@xerus.org | |
| mv followers.new followers.old |
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
| diff -ru wyrd-1.4.4/interface_main.ml wyrd-1.4.4-newline-fix/interface_main.ml | |
| --- wyrd-1.4.4/interface_main.ml 2008-02-21 20:25:25.000000000 -0800 | |
| +++ wyrd-1.4.4-newline-fix/interface_main.ml 2011-01-11 14:28:36.000000000 -0800 | |
| @@ -626,7 +626,7 @@ | |
| let remfile_channel = | |
| open_out_gen [Open_append; Open_creat; Open_text] 416 remfile | |
| in | |
| - output_string remfile_channel remline; | |
| + output_string remfile_channel (remline ^ "\n"); | |
| close_out remfile_channel; |
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
| (IFS=$(echo -e "\n\r"); for i in $(ls -1 *.); do ...; 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
| # Exim filter | |
| if $header_from: matches "(mail@e.groupon.com|deals@livingsocial.com)" and $header_subject matches "(Treatments?|Facials?|Massages?|Pampering|Spas?|Salon)" | |
| then | |
| seen finish | |
| endif |
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/sh | |
| # read from stdin, write to a temp file, open the temp file in a browser, then delete it | |
| tmpfile=$(tempfile); cat > $tmpfile; x-www-browser $tmpfile; rm $tmpfile |
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
| Words | Source | Result | |
|---|---|---|---|
| pestology Gomel | cheap | 0 | |
| cocreating | cheap | 1 | |
| munitioner impersonating nonextinct | cheap | 1 | |
| Kolomna | expensive | 1 | |
| Enyo's snakemouth | expensive | 0 | |
| blueberries backare farriers | cheap | 0 | |
| markets rafales | cheap | 0 | |
| abided Gomel | expensive | 0 | |
| gurjun Gomel | expensive | 0 |
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
| myURLdecode <- function(URL) | |
| { | |
| x <- charToRaw(URL) | |
| pc <- charToRaw("%") | |
| out <- raw(0L) | |
| i <- 1L | |
| len <- length(x) | |
| while(i <= len) { | |
| if(x[i] != pc || i + 2 > len) { | |
| out <- c(out, x[i]) |
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
| $('iframe-id').contentWindow | |
| $i = $('itarget').contentWindow.$ |
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
| 13 8 * * * bash -c "(mkdir -p /home/cwarden/twitter; cd /home/cwarden/twitter; git init -q; twidge lsfollowers 2> >(egrep -v 'Bad response: (0|400)' >&2) | sort > followers; git diff followers | ifne mail -s 'New Followers' cwarden@xerus.org; test -z \"\$(git status --porcelain -z followers)\" || (git add followers; git commit -q -m'updated followers' followers ))" |
OlderNewer