tech

XH.IO is Hiring

Wednesday, June 14, 2017
By Colin

XH.IO makes web apps for the financial industry. We are looking for a senior developer. The job description is posted here: https://xh.io/wp-content/uploads/2016/11/Job-Description-2016.pdf. It’s a great place to work. Get in touch if interested. -Colin »

GIT Commands Cheat Sheet

Monday, January 25, 2016
By Colin

A cheat sheet of git commands that I use the most, and also of the ones I use the least (which is really much more important to have on a cheat sheet). »

How to type accents é, è, ñ, ü, ê and other special characters on your Mac keyboard

Tuesday, January 12, 2016
By Colin
How to type accents é, è, ñ, ü, ê and other special characters on your Mac keyboard

Problem:  You’re on an English keyboard on a Mac, and you need to type letters with accents, like é, è, ñ, ü, ê or other special characters, like ç, å, æ, or œ. Solution:   Hold down the vowel key for a little bit longer than usual, and a hint with accented versions of your... »

Amazon Silk Browser does not send a user agent when downloading assets specified in a cache manifest

Saturday, May 31, 2014
By Colin

Here is some header info for a file downloaded by the part of the silk browser that is reading the cache manifest: Date: May 31 21:41:56 HTTP Code: 200 HTTP Version: HTTP/1.1 Referer: - Size (in bytes): 16057 User Agent: This means that if you are trying using the user agent on the server... »

Bitcoin-Qt fix for Mac OS 10 Mavericks – prevent App Nap

Monday, December 9, 2013
By Colin

If your Bitcoin-Qt app on Mac OS 10.9 Mavericks is taking for ever to download blocks of transaction history and synchronize with the network  (if your starting from scratch, it should typically take several days — but I mean if it is looking like it will take months), it’s quite likely that the app... »

Mobile Web App Reference

Monday, December 26, 2011
By Colin

iOS web app icon dimensions: 57x57px for the iPhone 3G and 3GS, 72x72px for the iPad, 114x114px 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 properties this browser has. It’s... »

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 on... »

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... »