Automated App Compat virtual machines for IE testing

Posted: 2013-10-26 | virtualbox | microsoft | ie | ievms | 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 running - which led me to this github repo: Automated installation of the Microsoft IE App Compat virtual machines

So - first step was simply to install virtualbox (or in my case update it).

Then - all you have to do is

~~~ shell curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh |...

Read full article

Time-based One-Time Password (TOTP) authentication for Google and more on iOS7

Posted: 2013-08-14 | TOTP | google authenticator | duo mobile | two-step authentication | ios7 | dropbox | google

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

  1. It forgets accounts when you restart the phone
  2. You can no longer edit the descriptive name for each account so you have no idea which code is which account
  3. Lately it's stopped scanning barcodes too

The first one is of course the most serious.

After some googling I found that there are other TOTP app's out there...

Read full article

Site converted to use middleman static site generator

Posted: 2013-08-10 | drupal | middleman | site generation

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 migrate it to a static site generator - which means that the site is a lot easier to serve, requires far less maintenance and can be easily stored under version control :)

I've tried nanoc before - it works but I find the documentation on extending it a bit opaque, so for this site I've gone with middleman

Read full article

Enabling GPU for Premiere Pro CS6 and After Effects

Posted: 2013-05-25 | mac | adobe | premiere | after effects | nvidia | cuda

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:

~~~ shell /Applications/Adobe\ Premiere\ Pro\ CS6/Adobe\ Premiere\ Pro\ CS6.app/Contents/GPUSniffer...

Read full article

BankID on Mountain Lion

Posted: 2013-04-16 | java | mac | osx | apple | mountain lion | bankid | oracle | applet

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 support for web applets - so you'll need Oracle java 7
  • Java 7 from Oracle will work - but - not in Chrome (Chrome doesn't support 64 bit java - Oracle don't provide 32 bit)
  • Most BankID pages test to see if java is enabled - and after installing java - it still gives the java not installed or...
Read full article

Generating twitter auth tokens for non-web clients

Posted: 2013-02-25 | ruby | twitter | oauth

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 the consumer token/secret - visit that - log in - get a PIN and use the PIN to generate the auth token/secret.

get_keys.rb is a simple ruby script to do just that.

It takes consumertoken and consumersecret as command line params (in that order), generates the authorize URL and prints it - then waits...

Read full article

Setting a fixed hostname alias on mac overriding DHCP

Posted: 2013-02-08 | java | mac | tomcat | dhcp | hostname

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 similar) then you can browse localhost via the local.foo.bar name.

However - when starting tomcat under java this gave an error on hostname/url. I've had the issue running tomcat 6 under java 7 - have had reports of tomcat 7 under java 6 also being an issue.

It turns out that Mac OSX takes the...

Read full article

Sony Pulse Elite headset not connecting

Posted: 2013-02-02 | playstation | ps3 | sony | elite | pulse

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/mic mute buttons in while you turn on the headset - but it didn't help.

The really odd thing was that the headset stayed in connecting mode (2 rapid blue blinks every couple of secs even when you turn it off)

I've found exactly one post on the 'net that describes it:

http://community.us.playstation...

Read full article

Google apps removing EAS support - moving to CalDAV/CardDAV

Posted: 2012-12-17 | google | googleapps | ios

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.

This post replaces Syncing secondary google apps calendars to iPhone

Read full article

iMessage fall back to SMS

Posted: 2012-10-11 | ios | imessage | 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:

Settings app > Messages > Send as SMS.

For some reason - my iPhone5 wasn't doing this. I could send iMessages fine - I could send SMS's fine - but fallback from iMessage to SMS when the recipient was unavailable - nope. It's supposed to time out and fall back after about 5 mins.

I'd tried turning

Send as SMS

off...

Read full article