tech

todoslist.com progress update

Monday, May 6, 2013
By Colin

application cache and local cache now work on mobile devices, so you can use the site when offline (in an airplane or in the subway, for example) and when you come back online, it will sync to the cloud (if you are signed in). »

todoslist.com progress update

Wednesday, December 26, 2012
By Colin

minified all JS in production (makes the site load faster) eliminated data transfer (most of it) when sending user operations to server (makes using todoslist.com much faster) »

Mobile Web App Reference

Monday, December 26, 2011
By Colin

iOS web app icon dimensions: 57×57px for the iPhone 3G and 3GS, 72×72px for the iPad, 114×114px for the iPhone4 Apple Device DPIs: 163dpi for the iPhone 3G and 3GS 132dpi for the iPad 326dpi for the iPhone4 Media Queries Examples: view layout.css on http://hicksdesign.co.uk/journal/finally-a-fluid-hicksdesign »

aboutmydevice.com : a new site that helps explore a mobile browser’s Javascript properties

Wednesday, September 7, 2011
By Colin
aboutmydevice.com : a new site that helps explore a mobile browser’s Javascript properties

Here’s the latest website I’m releasing onto the world: aboutmydevice.com. I wrote  it so that I could explore what Javascript properties, objects, and values exist on the browsers of various mobile devices. I walk into a store, go to a phone, load up aboutmydevice.com, and see what kind of... »

Scream in a soundbite.

Monday, May 9, 2011
By Colin

Scream in a soundbite. Scream in a tweet. Millions will read you. No one will hear you. »

My cousin Graham, living on the bleeding edge of chicken wing consumption tracking technology

Monday, February 28, 2011
By Colin

http://grahamc.com/blog/how-to-create-a-super-nerdy-superbowl-that-everyone-will-love/   a rather impressive demonstration of skills »

Perl script make MySQL query, binds variables, outputs JSON

Friday, July 16, 2010
By Colin

An example of a Perl script that is called by an ajax request. The script takes in just one parameter, opens a MySQL DB connection, binds the parameter to the query, and sends the query. The result is then formatted into JSON and returned to the browser. This can be seen in action... »

Perl script makes MySQL query; outputs to JSON

Sunday, June 20, 2010
By Colin

An example of a perl script that is called by an ajax request. The script takes in a few parameters, opens a mySQL DB connection, and then makes a rather tortuous query. The result is then formatted in to JSON and returned to the browser. »

macbook pro turns on but screen stays black — my solution

Saturday, June 5, 2010
By Colin

The Apple Macbook Pro would turn on, but the screen would not.  The screen would stay black.  I could tell the computer was on because when I hit the “caps lock” key, the green light on the key would turn on and off. I fixed this the following way (this is basically resetting the Power... »

UNIX/AWK Tricks: How to copy a long list of files into a directory

Sunday, April 25, 2010
By Colin

Make your list of files, with complete paths, call it “imgList.txt”. Put every file on a new line. Write a small awk script with the following 1 line: { printf(”cp %s images/\n”,$0);} Save the script as “copyList.awk” Do the following command: awk -f copyList.awk imgList.txt | sh Brief explanation of the awk script: %s means you’re putting a string in that... »