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
| *~ | |
| *.swp | |
| /lib/ |
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
| su "$1" -l -c 'script -c "ssh-agent screen" /dev/null' |
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
| shopt -s globstar # now, use e.g **/*.clj |
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
| fn keys | |
| https://help.ubuntu.com/community/AppleKeyboard | |
| terminal | |
| 80x40, black on white | |
| firefox | |
| prefs; noscript + prefs, vimperator; g, wp | |
| system settings |
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
| require 'obfusk/data/hash' | |
| require 'mongoid' | |
| Mongoid.load! "#{ Dir.home }/tmp/_/mongoid.yml", :development | |
| module ValidMongoid | |
| module ClassMethods | |
| def data (*a, &b) | |
| self::ValidHash.data(*a, &b) | |
| end |
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
| #!/system/xbin/bash | |
| CHROOT=/data/__felix__/__chroot__ | |
| if [ -z "$1" -o "$1" == root ]; then | |
| CMD='/bin/bash -l' | |
| else | |
| CMD="/bin/su - $1" | |
| fi |
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
| === debugging === | |
| android browser: about:debug | |
| firefox: >> su -c 'logcat GeckoConsole:V \*:S' << | |
| === eventsource === | |
| https://github.com/remy/polyfills/blob/master/EventSource.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
| function! Cream_conf_override() | |
| let g:CREAM_AUTOINDENT = 0 | |
| let g:CREAM_AUTOWRAP = 1 | |
| let g:CREAM_AUTOWRAP_WIDTH = 70 | |
| let g:CREAM_EXPANDTAB = 1 | |
| let g:CREAM_SOFTTABSTOP = 2 | |
| let g:CREAM_TABPAGES = 1 | |
| endfunction | |
| call Cream_conf_override() |
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
| copy/link *.desktop to ~/.local/share/applications/ |
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
| desc 'Run specs' | |
| task :spec do | |
| sh 'lein spec -c' | |
| end | |
| desc 'Run specs verbosely' | |
| task 'spec:verbose' do | |
| sh 'lein spec -c -f d' | |
| end |
OlderNewer