Import / Export a mySQL database
This can also be used for backing up a database. Resource: https://my.bluehost.com/cgi/help/112 Export / backup database: mysqldump -u username -p database_name > dbname.sql Import / restore backup...
View ArticleMySql-python: Pre Compiled Installer
Setting up the mysql python library requires a C compiler. There is a built in compiler with visual studio, however configurations took some time, and still wasn’t making too much headway. Instead you...
View Articlehtcaccess
Resources for learning about htcaccess: http://support.hostgator.com/articles/specialized-help/technical/apache-htaccess/-htaccess-guidance http://www.javascriptkit.com/howto/htaccess.shtml...
View ArticleCreating paged documents in a web environment
As a web developer, it is an ingrained design pattern (with plenty of accompanying tools) to generate mark up which is then rendered in a clients browser. There are however, often situations when...
View ArticleWordPress – Tribe Events Calendar
I have been using the tribe events calendar plugin for wordpress – which is excellent. I have been customising the list view, and was trying to add an additional link to the event. Elsewhere on the...
View ArticleReset style sheet
I have used the Meyer reset style sheet in the past – I will add some feed back after having tested it.
View ArticleTwitter Bootstrap – compiling on windows.
I had tried a couple of the tools for compiling less on windows, but none seemed to compile bootstrap out of the box. Instead I found Sylvain’s post which was exactly what I was after. It was a great...
View ArticleNarcissistic Numbers
A narcisistic number is a number where the sum of the nth powers of the digits of an n-digit number is equal to the number. For instance, 153 is a narcissistic number of length 3 because 1^3 + 5^3 +...
View ArticleReading csv files
This post is a Python solution to a programming challenge from Programming Praxis. The challenge is to read a csv file and convert it into an html table. On first inspection, this seems quite a simple...
View ArticleGoogle Code Jam – Helper classes
Google Code Jam is a programming competition, where you have to write a solution to a problem, that can then process a file containing sample input data. The competition is performed under time...
View Article