Highlight your source code in the console

Your editor supports source code highlighting, so why not the console? Actually it can with source-highlighter via Peter Eisentraut’s Blog: Adding Color to the Console: Code Syntax Highlighting with less and source-highlight.   I’ve just created a shell alias like alias shl=”/usr/bin/source-highlight -fesc -oSTDOUT -i ” though

Eight reasons to upgrade to Apache 2.4

  The Event MPM is no longer experimental and is fully supported – this gives greater performance ala nginx. Conditionals in config – so you can have for example, a generalized config across multiple hosts with slightly different requirements. Similarly, you can have config file variables. mod_remoteip – allows you to easily get the “true” …

Continue reading ‘Eight reasons to upgrade to Apache 2.4’ »

Mosh: the mobile shell

The #1 reason you should replace ssh with mosh, if your environment permits: “With Mosh, you can put your laptop to sleep and wake it up later, keeping your connection intact. If your Internet connection drops, Mosh will warn you — but the connection resumes when network service comes back.” via Mosh: the mobile shell.

Conspy – remote control of Linux virtual consoles

Conspy allows a possibly remote user to see what is displayed on a Linux virtual console, and send keystrokes to it. It works with Linux and FreeBSD, as far as I know.It is rather like VNC, but where VNC takes control of a GUI conspy takes control of a text mode virtual console. Unlike VNC, …

Continue reading ‘Conspy – remote control of Linux virtual consoles’ »

Puppet 3 on Centos 5

Puppet 3 wants Ruby 1.8.7, Centos 5 supplies 1.8.5. So to get round this, add this repo Add then add a exclude=ruby* line to the updates section in /etc/yum.repos.d/CentOS-Base.repo yum update && yum install ruby then you are good to install puppet from the PuppetLabs repo.