Installing LedgerSMB with Homebrew on OS X

Published on Tue, 2013-07-16 - 22:25

I use LedgerSMB for doing the finances for Drupal Danmark and Högh I+O. I recently moved my installation to a Mac, and reinstalled it with Homebrew.

I thought my installation notes might be useful to others, so there they are. Shell commands are denoted with $. The $ is not part of the command, so leave it out if you copy and paste.

Tags

American comedy movies – idiocy distilled

Published on Sat, 2013-06-08 - 21:42

A concept that periodically fills me with dread, wonder and frustration is American comedy movies, or perhaps just a certain subgenre of it, depending on where you draw the line.

You probably know the kind of movie I'm talking about, where the protagonist, usually a male white anglo-saxon protestant, usually around 30 years of age, is trying to woo his potential or keep his current girlfriend. And the supposedly funny part is where at crucial plot points, he act in the most idiotic ways to his target's obvious frustration.

Tags

Varnish as reverse proxy with nginx as web server and SSL terminator

Published on Tue, 2012-07-24 - 21:37

Or, if you like, the nginx-Varnish-nginx sandwich.

Why?

This is, admittedly, a bit unorthodox. But here’s my rationale:

Since time immemorial (ie. more than a couple of years of Internet time), we at Reveal IT have been deploying Varnish in front of the web sites we build for our customers, with the dual purpose of a faster (and thus better) user experience and conservation of server resources.

Tags

Shave a couple of stubborn of DIV-wrappers off your Drupal site

Published on Thu, 2011-10-20 - 17:27

One of the more annoying things about theming Drupal sites is having to wade through the staggering amounts of wrapping <div> elements and containers. Some of these are are fairly easy to get rid of. Others require you to override core templates.

I recently found a clean way to get rid of a couple of those. These two were introduced in Drupal 7, and you will probably find them on almost all Drupal 7 sites – they look like this:

Triple wrapped content

Tags
Subscribe to Mikkel’s blog