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
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
Or if you want specific IE versions (since this is really for IE testing - e.g. IE7 and IE9):
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="7 9" bash
More details are on the github page - including info on snapshots (which can help you get around the 30 day limit - just revert to the original snapshot).
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
The first one is of course the most serious.
After some googling I found that there are other TOTP app’s out there. I settled on Duo Mobile
After following the third-party accounts page I had both my google accounts and my dropbox account in the app and it’s working nicely.
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. It seems to work well and I find that writing the few small extensions I need has been easy.
I’ve added apache redirects from the old drupal URLs to the new site - so I hope that google links etc will work. If not - let me know :)
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/
Install cuda driver from nvidia - http://www.nvidia.com/object/mac-driver-archive.html
Use GPUSniffer to get the card name (both of the apps have a copy of the GPUSniffer - choose one of the following):
/Applications/Adobe\ Premiere\ Pro\ CS6/Adobe\ Premiere\ Pro\ CS6.app/Contents/GPUSniffer.app/Contents/MacOS/GPUSniffer /Applications/Adobe\ After\ Effects\ CS6/Adobe\ After\ Effects\ CS6.app/Contents/GPUSniffer.app/Contents/MacOS/GPUSniffer
/Applications/Adobe\ Premiere\ Pro\ CS6/Adobe\ Premiere\ Pro\ CS6.app/Contents/cuda_supported_cards.txt /Applications/Adobe\ After\ Effects\ CS6/Adobe\ After\ Effects\ CS6.app/Contents/raytracer_supported_cards.txt
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:
So - install Oracle java, go visit a test page - log in with a workaround to get OK buttons to enable and you might just be allowed to login to your bank.
The BankID applet needs to die.
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 consumer_token and consumer_secret as command line params (in that order), generates the authorize URL and prints it - then waits for the PIN. Displays consumer and auth token info at the end.
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 hostname given by DHCP - and this can change often.
It seems to be trying to do some kind of network lookup/matching and won’t start tomcat unless it finds a good match.
So - you need to force the mac to ignore hostname allocation by setting a fixed hostname.
For Lion and Mountain Lion:
scutil --set HostName local.foo.bar
Previous versions of OSX had some settings in /etc/hostconfig - but I don’t have an old enough install to test on.
YMMV on whether you need sudo or not for editing /etc/hosts and scutil call
Tip: Don’t pick an alias that’s an existing host - it’ll prevent you reaching that host by name :)
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:
So - let’s see if draining the battery helps.
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
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 and on - no help.
Then - under
Settings > Messages > Send & Receive
I noticed that my phone number was listed under the “You can be reached by iMessage at:” list but not under the “Start new conversations from:” list.
It makes sense (at least to me) that a message sent from an e-mail address can’t fall back to SMS - but why was the number not available? It’s automatically there on the receive list and I could not see any way to add it to the send list.
So - I tried turning iMessage off and on. After about 5 mins - bingo - the number came into the “Start new conversations from:” list.
But there was a final wrinkle. Fallback to SMS would not work for any conversations already started at this point. I had to delete them in the messages app first.
Now it works - send as iMessage times out after 5 mins and it sends as an SMS.
Oh - btw - an iMessage that’s waiting can be forced to an SMS - click on it and choose Send as SMS.