gpg --gen-keyusernameはkaosfと入力した(5文字以上必要だった)
emailはka.kaosf-=at=-gmail.comと入力した(-=at=-は@)
| Earthquake.init do | |
| command %r|^:bri?no|, :as => :brno do |m| | |
| browse 'https://twitter.com/i/notifications' | |
| end | |
| end |
https://gist.github.com/long-long-float/c542e5232dfd297ab724 のforkみたいなものです.FirefoxのVimperatorのための設定です.
~/.vimperatorrcにコピペして下さい:rurimaupdate すると最新の(ではなくJavaScriptコード内のVERSION)るりまになりますrurima じゃなくて rurema に変えたりとかは各自お好みでお願いします.
| while :; do | |
| adb shell \ | |
| 'while :; do | |
| input swipe 200 900 200 100 | |
| sleep 0.2 | |
| done' | |
| echo Stopped at: `date` | |
| sleep 1 | |
| done |
| mysqldump -u root -p -x --all-databases > backup.sql | |
| mysql -u root -p < backup.sql | |
| # ref. http://phpspot.net/php/pgmysqldump%E3%81%A7%E3%83%90%E3%83%83%E3%82%AF%E3%82%A2%E3%83%83%E3%83%97%EF%BC%86%E5%BE%A9%E5%85%83.html |
| #!/usr/bin/perl | |
| use 5.008; | |
| use warnings FATAL => 'all'; | |
| use strict; | |
| use Encode qw(decode_utf8 encode_utf8); | |
| # Highlight by reversing foreground and background. You could do | |
| # other things like bold or underline if you prefer. |
| #!/bin/bash | |
| RESULT=`free | head -2 | tail -1` | |
| TOTAL=`echo $RESULT | awk '{print \$2}'` | |
| USED=`echo $RESULT | awk '{print \$3}'` | |
| PERCENTAGE=$(($USED * 100 / $TOTAL)) | |
| printf "%2d%%\n" $PERCENTAGE |
| Earthquake.init do | |
| command :twilog do |m| | |
| browse "http://twilog.org./#{m[1]}" | |
| end | |
| end |
| diff --git contrib/diff-highlight/diff-highlight contrib/diff-highlight/diff-highlight | |
| index ffefc31..c2547cf 100755 | |
| --- contrib/diff-highlight/diff-highlight | |
| +++ contrib/diff-highlight/diff-highlight | |
| @@ -4,6 +4,8 @@ use 5.008; | |
| use warnings FATAL => 'all'; | |
| use strict; | |
| +use Encode qw(decode_utf8 encode_utf8); | |
| + |
| # ref. http://maoe.hatenadiary.jp/entry/2014/12/25/064900 | |
| cabal get pandoc | |
| cd pandoc-1.15.0.6 | |
| cabal sandbox init | |
| cabal install --bindir ~/.cabal/bin --datadir ~/.cabal/share |