PDFTK – The PDF Toolkit
I have long been a keen user of pdftk, the PDF Toolkit, but am frequently surprised when people have not heard of it. True, it is a command line tool, but it is easy to incorporate into service menus, scripts etc and doubtless there is a GUI front-end for it somewhere (in fact there is one linked to from the above page).
Clearly a blog post is called for, but, whilst you wait for a post that will never arrive, here is a link to some examples that should open your eyes to what is possible with pdftk.
To get started on a Debian-based system:
$ sudo apt-get install pdftk
$ man pdftk
Anyone who has enjoyed the dubious benefits of working with IPSEC will find OpenVPN a delight, but what do you do with your client.ovpn file once you have it?
If you spend most of your time in a terminal anyway, then I would suggest just putting all your client.ovpn files into ~/.openvpn, renaming them in some appropriate way, and then using them simply by typing:
Oh Vodafone, please explain to me,
how a business based on technology,
can be so bad at web-based stuff?
Really, downloading a bill should not be so tough!
Very early on in my Linux life, I came across this suggested header for crontab and I’ve used it ever since. So much so that I am always slightly thrown when I come across a crontab without it! No, you don’t need it, yes the standard commented header works just fine, but, if like me you prefer things neatly lined up, then this might suit you:
Occasionally users are unable to connect to our FreeNX server, they report an error “Startup Session Failed”. Clicking on “Detail” shows that it is unable to find the server session file.
Searching for solutions suggested a number of options, including removing the server /tmp/.X1***-lock files, or simply removing FreeNX and installing NoMachine’s NXServer instead.
In the end the solution proved remarkably simple:
iRedMail – Open Source Mailserver
Whilst the world seems to be moving email to “The Cloud”, rightly or wrongly I remain reluctant to give up the control of our own mailserver. For over ten years now we have been using a combination of the following open source applications:
- Postfix MTA with Amavis + Spamassassin
- Dovecot IMAP server
Whilst these are super-stable and bulletproof solutions, the main issue with such a solution is the administration – setting up users, changing passwords, vacation notifications, sieve etc. It is also a lonely business administering a custom mailserver, where set-up is never going to be completely standard.
Having created an sshfs mount in /etc/fstab, I was frustrated that it would mount okay, but unmounting always resulted in an error “mount disagrees with the fstab”. The following solution worked for me: