Troy Mcilvena


Recent Articles

Work: Earthmoving Solutions Australia

April 1, 2013, 6 a.m. – tags: django, work

Earthmoving Solutions Website http://www.earthmovingsolutions.com.au

Just launched a new website for Earthmoving Solutions Australia.

Launch Website

Work: Ballarat Swap Meet

Feb. 1, 2013, 6 a.m. – tags: django, work, charity

Ballarat Swap Meet Website http://www.ballaratswapmeet.com.au

My capacity to contribute to Rotary has been constrained of late, so as my contribution to the 2013 Ballarat Swap Meet project I decided to donate a new website.

Launch website

How to modify the Android emulator hosts file

Dec. 9, 2012, noon

If you have a need to access domains on your local machine from the Android emulator, you should find this script helpful. You will need to replace my hostname (troy.local) with your own.

Put this script in the root Android developer folder (the same folder as platform-tools).

#!/usr/bin/env bash

# You'll need to run this
#./tools/emulator -avd NAME -partition-size 128

./platform-tools/adb remount
./platform-tools/adb pull /system/etc/hosts /tmp/hosts
echo "10.0.2.2    troy.local" >> /tmp/hosts
./platform-tools/adb push /tmp/hosts /system/etc

cat /tmp/hosts

jQuery Retina Display Plugin

Aug. 23, 2010, 9 a.m. – tags: jquery, ios, retina, code

A simple way to add Retina Display support to your website.

The jQuery Retina Display plugin will substitute high resolution versions of your images (if they exist) for high resolution displays (such as iPhone 4) only.

Continue reading...