June 1, 2013

base16 - colour scheme for hackers

I came across a great set of colour schemes called base16. From the website: Base16 provides carefully chosen syntax highlighting and a default set of sixteen colors suitable for a wide range of applications. Base16 is both a color scheme and a template. There are repos for the following tools: Base 16 Builder Vim Shell iTerm2 TextMate OSX Color Palette Xresources Mou XFCE4 Terminal Gimp Palette Gnome Terminal Emacs Geany There’s even a builder so you can roll your own theme! ... Read more

May 5, 2013

Stopping a remote process after killing an ssh session

I often want to tail log files on remote server(s) when running diagnostics for an application. You can either login to the remote server via an SSH session, then execute the tail command. Or you can do it from a local shell (without explicitly logging onto the remote server first). That’s pretty simple: ssh myRemoteServer tail -f /path/to/logs/myapp.log The problem here, is when you ctrl-c out of this command to kill the tail, the process is still running on the remote machine. ... Read more

© Michael Sharman 2017