Randomly Featured Post

Customised Cake Gone Horribly Wrong

20. November 2009

7 Comments

Customised Cake Gone Horribly Wrong

Tweet Looking at the photo below, you’d think nothing was wrong – the cake looks like a pretty good picture of the jump drive. Maybe it was for the company that manufactures the jump drives right? Until you realise that the cake is supposed to show what was IN the jump drive. Check it out, […]

Continue reading...

Recent Posts

21. September 2014

0 Comments

How To Set Up Your Own VPN

Tweet VPNs (Virtual Private Networks) are beautiful things that allow you to get past firewalls, protect your data when you’re using WiFi networks of a suspicious nature (Free Airport Wifi?), and even get access to country-specific websites and services. You can get VPN service from VPN providers — or you can have your very own […]

Continue reading...

22. August 2014

0 Comments

How To Import Excel Dates Into MySQL Using PHPMyAdmin

Tweet I tried importing a CSV into PHPMyAdmin, and everything got imported successfully except the date. The date used in Excel is different from MySQL, and number formatting won’t work in this case. The only solution that I found was to create a new column, and apply this formula to it (assuming column A has […]

Continue reading...

8. April 2014

0 Comments

How To Enable Gzip Compression

Tweet Whenever someone visits your website, your website’s server will deliver all the required files (text, CSS, HTML, etc) to the visitor’s computer. Logically, the bigger the files, the longer it takes for your website to load on your visitor’s computer. The main reason why gzip is important is because it speeds up file transfer […]

Continue reading...

2. April 2014

0 Comments

How To Output The Current Date in Javascript

Tweet Sometimes you want to display a date that’s based on your visitor’s computer’s time, and that’s when Javascript comes in handy because it’s client-side. Here’s code that will display today’s date in this format: Thursday, April 3 2014 No tag for this post.

Continue reading...

30. March 2014

0 Comments

How To Use AWeber Personalization Code And Variables

How To Use AWeber Personalization Code And Variables

Tweet Personalization fields allow you to tailor your emails so that it appears like like a personal email to every one of your subscribers. With AWeber, you’re able to do this easily. Using personalisation fields in your AWeber emails is a simple 2-step process: Step 1: Craft your email message as you would normally, but […]

Continue reading...

29. March 2014

0 Comments

How To Randomly Select From A Record Based On Weight (PHP, MySQL)

Tweet I got this code from a brilliant comment here, and it’s a simple formula that allows you to randomly select from a database. The difference is, each record is weighted and the random sampling also takes that into account. For example, this will be very useful if you have several people in your database, […]

Continue reading...
See more articles in the archive