Posted: 2014-05-26
Puppet 3.6.1 - deprecation: environments

This weekend I updated puppet (master and agent) from 3.6.0 to 3.6.1 (this is on debian using the apt.puppetlabs.com repository). This filled my logs with the following error: So - something in a…

Posted: 2014-05-02
Postgresql sort 'WHERE id IN' by original id list order

I've been testing elasticsearch in a rails project recently - and stumbled on an issue with sorting. You see - elasticsearch returns the search results either sorted by score or by the sort order…

Posted: 2014-04-02
Site specific chrome launcher's on OSX

I was looking for a chrome based site specific browser (SSB) for mac. This is similar to http://fluidapp.com/ but chrome based. I ended up using the shell script makeapp.sh - I used the version from…

Posted: 2014-01-28
Setting system path for command line on Mac OSX

There's plenty of information out there on how to set up the PATH variable for your local shell for OSX - it uses the same method as people are used to on linux - settings in your shell config files…

Posted: 2014-01-20
Deploy from github to heroku via travis-ci

A small test of using travis-ci to build a github project and auto deploy it to heroku. Step 1 - A webapp Create your webapp. For this I created a simple hello world webapp (1 jsp) with a dummy test…

Posted: 2013-12-13
Puppet service config for ejabberd

I have an issue getting a working puppet service config for ejabberd on debian. The init.d script supports the following options: So - it has restart but not status. That means setting hasstatus to…

Posted: 2013-10-26
Automated App Compat virtual machines for IE testing

I very very very rarely need a windows install for anything. However - today I needed to talk to something that only has a windows driver. This got me looking for ways to get a simple virtualized box…

Posted: 2013-08-14
Time-based One-Time Password (TOTP) authentication for Google and more on iOS7

I use two-step authentication for both my GMail and Google Apps accounts as well as dropbox. Up to now I've been using Google's iOS authenticator app - but this app has issues in iOS7 It forgets…

Posted: 2013-08-10
Site converted to use middleman static site generator

I've had this site running drupal since august 2006 but over time I've reduced the modules in use to almost nothing. There's nothing on the site that needs to be dynamic any more. So I decided to…

Posted: 2013-05-25
Enabling GPU for Premiere Pro CS6 and After Effects

Got a modern mac with a good nvidia graphics card but premiere and after effects won't use your GPU? All the details - http://www.vidmuze.com/how-to-enable-gpu-cuda-in-adobe-cs6-for-mac/ Short form…

Posted: 2013-04-16
BankID on Mountain Lion

Norwegian BankID (used by most banks in Norway) uses a java applet for login. The current combination of java, mac osx 10.8.x, applets and BankID is a mess. Things to note: Java 1.6 from Apple removed…

Posted: 2013-02-25
Generating twitter auth tokens for non-web clients

I use twitter for various system stuff - and needed a way to get auth tokens for users for twitter oauth based apps. Twitter provides PIN based authentication for this - you generate a URL based on…

Posted: 2013-02-08
Setting a fixed hostname alias on mac overriding DHCP

This turned up as an issue when developing webapps. If you set a fixed hostname (local.foo.bar for example) via an /etc/hosts alias to 127.0.0.1 (perhaps you need to have access to .foo.bar cookies or…

Posted: 2013-02-02
Sony Pulse Elite headset not connecting

Hmm - found today that my pulse elite headset wouldn't connect to the PS3. I don't use it often - so no idea when it last worked. Reset method is a pin in the dongle for one sec then hold the vss/mode…

Posted: 2012-12-17
Google apps removing EAS support - moving to CalDAV/CardDAV

In response to google turning off EAS support for free google apps accounts - the way to synchronize contacts/calendars has changed. You'll need a CalDAV and CardDAV config. CalDAV CardDAV This post…

Posted: 2012-10-11
iMessage fall back to SMS

iMessage has a setting whereby you can tell it to fall back to SMS if it isn't able to reach a data network or if the recipient isn't available via a data network. This is under: For some reason - my…

Posted: 2012-08-27
Mountain Lion upgrade

Things I need to remember when updating to Mountain Lion. This list could well grow over time ;) Paths - /etc/paths get's written back to standard with /usr/local/bin last Set to: /opt/local/bin /usr…

Posted: 2012-04-12
Entropy on debian squeeze

Struggling again to get a decent amount of entropy on a headless squeeze server. rng-tools + /dev/urandom wasn't working (and feels wrong too) randomsound needs a soundcard entropy key would have to…

Posted: 2012-04-11
Incorrect time and date on ReadyNAS

My ReadyNAS (pro 6) had suddenly been set to 1992. It seems that the NTP servers (FrontView > System > Clock) that I had time-a.netgear.com and time-c.netgear.com were way off base. I set them to the…

Posted: 2012-04-11
script 'nexus' missing LSB tags and overrides

Was getting the error Luckily I found that someone had already done the work :) http://mrexception.blogspot.com/2011/12/make-nexus-startup-script-lsb-compliant.html From that post - add the following…