front | idx | new | login |
 

Misc notes

xfce terminal off fullscreen

tmux detach remote debian timezone configure tmpfs ramfs mount owl random test virtualbox host ip: year start days: gnu screen splitting: brightness: send files with speed cap: xkb key remap: xkb layout: basic heirloom mailx cmdline: tcp/udp listeners: netstat -plunt

ssh socks proxy:

raspbian boot overclock skip: hold shift at boot

debian locally administered mac: /etc/network/interfaces, iface eth0 inet dhcp,pre-up ip link set eth0 address <themac>

manual LUKS encrypted partition use:

animated gif: raspi core temperature: alias temperature='expr $(cat /sys/class/thermal/thermal_zone0/temp) "/" 1000'

png2webm:

mencoder grab audio: mencoder "$VIDEO" -of rawaudio -oac mp3lame -ovc copy -o "$VIDEO.mp3"

QEMU 2.x

Ubuntu boot politely to console in Qemu/curses: reduce page flushing interval: /proc/sys/vm/dirty_expire_centisecs 1000

Firefox don't toggle menubar with alt:

git tag: fix screens: xrandr --auto + window manager restart

swap mouse buttons: xmodmap -e 'pointer = 3 2 1'

Quick record: ssh -C host "for foo in \$(seq 100 150); do DISPLAY=:0 xwd -root > frame-\$foo.xwd; sleep 0.9; done; convert -resize 30% -delay 90 frame-* anim.gif; rm frame-*; cat anim.gif | gzip -9" | gzip -d > host.gif

basic git setup:

linux reboot on kernel panic: Debian locale init: locale-gen en_US, fi_FI.UTF-8 en_US.UTF-8 + dpkg-reconfigure locales

ClojureScript: see object structure in logs by using js logging directly (duh!) (.log js/console <object>)

ClojureScript: avoid inliner attack in advanced compilation:

debian keyboard layout allow X to be run by everyone: letsencrypt stunnel: #note #public
@aohelin | aoh@github