SSH keys and SSH agent in OS X

If you’re like me and connecting to many servers over SSH, you soon realise it’s very tedious to remember and enter the passwords every time. One way to avoid this it to just remove the passwords, but that’s very unlikely something you would want to do. Another safe solution is to use SSH keys. This [...]

Image + Geotag + automation = Map Gallery

My latest personal project is a wordpress plugin that automatically reads geotags from images and adds the image as a point on a google map. You insert the map using a shortcode () and there you go. Shortcodes were introduced with WordPress 2.5, and I rely on some PHP5 functions, so those are the requirements. [...]

display: inline-block; A lesser known css property that works!

No more trouble getting the vertical alignments correct. display: inline-block allows you to set a width and height on your elements without forcing a break; you get an inline element which you can set width and height on, just like you can on a block element. Simply set a fixed width on your labels and [...]

Working with image meta data in Exif and IPTC headers from PHP

Most people know that when you take a picture a digital camera it writes the image to a file, but quite a few people do not know that there’s usually a lot more data being written to this image file. The extra data being written is meta data (data about data), and it may contain [...]

New google charts wrapper in PHP

I’ve been doing a freelance project for a while for one of the biggest media corporations in Norway. Without going into details it involves tying together a lot of data and make it available on a map. I’m building the back-end for this thing, and it needs to support charts and diagrams.