Posts tagged with “linux”

Monit style alerts for Systemd

TL;DR

I created a ruby gem to provide email and slack notifications for Systemd services, which gives visibility over process stops, starts, restarts and reloads. This post documents why and how.

I also need some testers, so if this is relevant to you please give it a go and send the appropriate feedback.

Read more →

Impress your friends with this UNIX terminal setup

My UNIX terminal configuration has gradually evolved over the last couple of years, and I finally feel like I’m happy with the setup. In short, I use Tilda for my terminal, Zsh (with Oh My Zsh) as my shell and tmux as a multiplexer. This post explains why, and how, to set it all up, making you the envy of all your friends and colleagues.

Read more →

Understanding ssh-agent and ssh-add

You may have come across the following message when doing some operation that uses your private key, such as working with git or ssh:

Read more →

Compiling Vim with Ruby from RVM (on Ubuntu)

The other day, I was in the position where I had to recompile Vim (and GVim) on Ubuntu. I had installed the version from aptitude, which is perfectly good apart from the fact that it requires and installs the ruby 1.8.7 package. I actually use RVM for my ruby binary management, and I wanted to tell Vim to use the ruby 1.9.3 installed on my system via RVM.

Read more →

Set up Xdebug with Netbeans and LAMP (and CakePHP)

If you’re a regular user of Netbeans IDE then, like me, you might sometimes get the feeling that you’re not using it to its full potential. Take debugging for instance: did you know that you can use Netbeans to debug a web application by pausing at particular lines of code, and get a list of all the variables in the current scope? It takes a bit of setting up, but you can do it - here’s how.

Read more →