raditha.com, The Site With The LAMP is dedicated to Linux, Apache, Mysql and Python (formerly PHP). It's the work of Raditha Dissanayake, who has an affinity for these technologies as well as several other non redmond technologies such as Java
These photos are from my infrequently updated photo blog

Sending Google Cloud Notifications with python and XMPP

May 2, 2016, 1:31 p.m. python , android , xmpp , xmpppy , gcm , ccs

Trouble with running Google's sample script for python CCS? You need to update to you xmppp libraries as follows ...

Updrading Postgresql 9.3 to 9.5 with Postgis.

April 29, 2016, 6:21 a.m. postgis , postgresql , pg_dump

encodings for database "postgres" do not match:  old "UTF8", new "SQL_ASCII"   can be overcome by using /usr/pgsql-9.5/bin/initdb -E 'UTF-8' 9.5 as mentioned in the manual. When you run pg_upgrade, you must provide the following information: &nbsp ...

Modified round robin pairing.

Feb. 2, 2016, 6:34 a.m. scrabble , chess , round robin , pairing , python

Do you want to organize a tournament where the pairing system is round robin but some players need to play against other players at a specific time? This gist is what you are looking for.   On friday evening, I got a call from the tournament director of the Scrabble league, asking if I could write a bit of code .. ...

Wifi with Qualcomm Atheros Device [168c:0042] (rev 30) on Linux Mint

Jan. 8, 2016, 6:45 a.m. wifi , ath10k , mint

Having trouble with an Atheros wifi device on linux? Here's how to fix it. ...