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

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

A more meaningful way to reschedule Zyzzyva cardboxes

June 3, 2015, 5:59 a.m. zyzzyva , scrabble , cardbox , sqlite

Playing competitive Scrabble but not using the Zyzzyva cardboxes? Well you should. Using Zyzzyva cardboxes but you have an unmanagable number of quizzes coming up each day? Read on.   Zyzzyva does have it's own built in rescheduling feature it's pretty usefull if you miss your quizzes f ...