[]: {{{1
- ...
- ...
- ...
- ...
*~ | |
*.swp | |
/lib/ |
su "$1" -l -c 'script -c "ssh-agent screen" /dev/null' |
shopt -s globstar # now, use e.g **/*.clj |
fn keys | |
https://help.ubuntu.com/community/AppleKeyboard | |
terminal | |
80x40, black on white | |
firefox | |
prefs; noscript + prefs, vimperator; g, wp | |
system settings |
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 |
#!/system/xbin/bash | |
CHROOT=/data/__felix__/__chroot__ | |
if [ -z "$1" -o "$1" == root ]; then | |
CMD='/bin/bash -l' | |
else | |
CMD="/bin/su - $1" | |
fi |
=== debugging === | |
android browser: about:debug | |
firefox: >> su -c 'logcat GeckoConsole:V \*:S' << | |
=== eventsource === | |
https://github.com/remy/polyfills/blob/master/EventSource.js |
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() |
copy/link *.desktop to ~/.local/share/applications/ |