ix5 tech

Technology section • ix5.org

Firefox modifications

December 20, 2015

Addons Essential uBlock Origin (with custom filters) Stylish Session Manager GrabMyBooks I don’t care about cookies Clean Uninstall New Tab override(since Firefox doesn’t allow setting newtab.url any more for some reason) Suspend Tab (actually works, as opposed to UnloadTab) VimFx(with custom mappings, don’t forget to back up) wallabag(v2) Warn Before Quit Unused UnloadTab (loses tabs, not recommended) Super Start (load a custom html page from file:/// instead) RSVP Reader ScrapBook HTML5 Video Everywhere!

Debian cheatsheet

May 16, 2014

This has grown into a very useful list of things that make my life easier. Divided into sections for clarity. Mostly applicable to Ubuntu as well. Nifty shortcuts, one-liners and useful programs netcat for file transfer receiver: nc -l -p 1234 > somefile.png sender: nc -w 3 192.168.178.20 1234 < somefile.png ssh port forwarding ssh -R 80:localhost:8080 user@server.com -i key.pem multiple x sessions exec startx -- :1 vt8 get random SALT openssl rand -base64 32 use imagemagick to resize pictures convert <infile> -resize 100x100 [<outfile>] force aspect ratio convert <infile> -thumbnail '100x100>' -background white -alpha remove -gravity center -extent 100x100 [<outfile>] use imagemagick to create quick thumbnails POSIX, only works with .

Vim cheat sheet

May 16, 2014

Folds za to toggle current fold zm to close, zr to open Windows from windows A buffer is the in-memory text of a file. A window is a viewport on a buffer. A tab page is a collection of windows. Opening: CTRL-W and v(vert), s(split/duplicate), n(horiz) Closing: CTRL-W and q(quit), c(close) Moving cursor: CTRL-W and up, down, left, right Moving windows: CTRL-W CTRL-O make window the only(maximize) Plugin mappings sensible: CTRL-u in insert mode: delete backwards, for real sneak: s or S and then two letters for faster jumping, ; to repeat table-mode: <leader>tm to toggle, <leader>tr to realign, SHIFT-jklö to jump table cells multiple cursors: CTRL-n to select word, CTRL-p for undo, CTRL-x to skip the current one Settings in vimrc