Programming Trail

This blog was setup as a result of too much programming, I realised that I was getting back to the same problems which I had solved a few years ago. I thought a blog that can serve to remind me of what I did when i ran into programming problems :) So yep. Hence the title programming trail.

Saturday, June 28, 2014

Best webpage downloader

›
So far, the best I have used is: http://www.sitesucker.us/mac/mac.html
Friday, June 27, 2014

Unable to use Fontawesome because of library PIL

›
Was trying to use fontawesome library to generate PNG files. However, met many errors along the way. In simple steps: 1. downloaded and ...
Wednesday, May 7, 2014

Warning: mysql_connect(): No such file or directory in but file exists in terminal

›
This will fix the issue: sudo su ln -s /Applications/xampp/xamppfiles/var/mysql/mysql.sock /tmp/mysql.sock mkdir /var/mysql ln -s /App...
1 comment:
Sunday, May 4, 2014

Custom files redirection error on wordpress

›
Even though the permissions for the folders and files are correct, a 404 error kept showing on the wordpress site. This can be resolved by ...
Wednesday, April 30, 2014

Persistent ampersand/html entities in jquery

›
You can solve it by doing this: $(' ').html("HTML YOU WANT TO CONVERT").text()
Sunday, April 27, 2014

SimpleXML error - unterminated entity reference.

›
While repurposing a blog today into XML doc, ran into the usual ampersand error.  Warning : SimpleXMLElement::addChild(): unterminated e...

Weird characters in PHP crawler/curl such as รข€™s...

›
Solution is to convert the doctype to UTF with the following line of code at the header: header ( 'Content-Type: text/html; charset=u...
›
Home
View web version
Powered by Blogger.