Category Archives: Code

Tarsnap Nagios checks

While I have been using Tarsnap for a while now it is first recently I have gotten around to make Nagios monitor those backups. Given that I really don’t want to give the nagios user any actual access to my backups, I instead take the approach of having my backup script create a status file [...]

birthday reminders, vCard to e-mail

A couple of months ago I wrote a Python script which parses my vCard address book and reminds me about upcoming birthdays. Given that it has worked well for me I figured I would share it with the rest of you. http://bitbucket.org/andol/birthdays/ I have not added any e-mail capabilities to the script, as I find [...]

tarsnap bash-completion

I’m currently trying out the Tarsnap backup solution (beta). Since it doesn’t come with a bash-completion of its own I’ve created one myself. I really can’t stand working with –long-options without proper completion. For now I maintain it as a “junk branch” in Launchpad. https://code.launchpad.net/~andol/+junk/tarsnap-completion UPDATE:  http://bitbucket.org/andol/tarsnap-completion/ So far there is only the initial commit, [...]

rdiff-backup bash-completion

I use rdiff-backup for most of my private backups. It’s a great piece of software. I just wish it had its own bash-completions. rdiff-backup wiki: bash-completion (Problem solved.) Update October 6th: Now included in Debian (sid).

/etc/init.d/autossh_tunnel.foo

Autossh is a nice way to keep a ssh connection alive. This is especially useful when it comes to ssh tunnels. To make things even more automagicial I have now written the init script template autossh_tunnel.foo. A few import facts regarding the script: Autossh 1.4 or later is required. Earlier versions of autossh doesn’t handle [...]

line_removal.pl (known_hosts)

Manually removing entries from your known_hosts doesn’t take my of an effort. Still, it’s something you can grow tired of. Especially so after resent events (DSA-1571). That is why I’ve now written my very own line_removal.pl  script. Basically you feed the script one or more line numbers. Corresponding lines in your ~/.ssh/known_hosts will then be [...]

Follow

Get every new post delivered to your Inbox.