depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Getting Wheezy Beta running on the Raspberry Pi from OS X

    July 11, 2012 by The Man

    Download the beta. Pop in your card

    sudo dd bs=1m if=wheezy.img of=/dev/disk1

    where wheezy.img is the unzipped image file – I renamed because I am lazy and there is less typing involved 🙂

    /dev/disk1 is the name of the SD card without the s1.

    It does take AGES to write.

    You can also update the firmware by grabbing it from here https://github.com/raspberrypi/firmware and following instructions here.


  2. Cannot Ctrl Click & Open apps downloaded to OS X

    June 19, 2012 by The Man

    Ok if you have Allow Applications set to Mac App Store and trusted developers you can usually just ctrl click and press open to get round opening untrusted apps.

    This didn’t work with the latest beta of Mountain Lion but there is a quick workaround. Simply set to Anywhere, open the app then set back to App Store and trusted developers.


  3. Thunderbolt Gigabyte Ethernet Adapter in action

    June 15, 2012 by The Man

    Well the postman arrived this morning and the last piece holding me off retiring the MBP arrived.

    The Thunderbolt Ethernet adapter, yes it works, yes it really was plug and go. About a minute and a half for a 800Mb file over a 100Mb switch. Seems perfect and only a little cpu spike.

    Well worth it. Off to reboot into Windows now and see what happens 🙂

    Update

    No there are no drivers for Windows 7 so it doesn’t work – and as a byproduct it knocked out the wifi for a bit as well.


  4. Run NoSQL (MongoDB) on OS X 10.8 with PHP support

    June 1, 2012 by The Man

    Wow it’s quite easy

    1. Download Mongo from here

    2. Grab the PHP drivers from here

    3. Unzip 2. and move to /usr/lib/php/extensions/no-debug-non-zts-20090626/mongo.so

    4. Edit php.ini and add extension=mongo.so then restart Apache

    5. Start Mongo by extracting the files in 1. then fire up terminal and make a data directory with sudo mkdir -p /data/db for the data then run sudo mongod to run the server.

    6. Head over to here for a basic Hello World

    7. Download MongoHub for a nice, sexy GUI at http://mongohub.todayclose.com – and it’s even on github https://github.com/bububa/MongoHub-Mac – perfect.

    Easy peasy….


  5. Get rid of the dock icon for Skydrive on OS X

    April 24, 2012 by The Man

    Why this wasn’t the default is beyond me but….

    defaults write /Applications/SkyDrive.app/Contents/Info.plist LSUIElement 1

    Also it’s a long way off Dropbox functionality, thank god for the 25Gb


  6. VMWare on OS X using Xcode !!! Maybe

    January 29, 2012 by The Man