Subscribe
Twitter Updates
- RT @firefox: A new update for Firefox is here. This release makes updating easier and includes a bunch of developer goodies: http://t.co ... 3 weeks ago
- today's worklog: git log --committer=cristianrd --since=1.day 1 month ago
- Beware of deceptive in-app advertising bit.ly/IENvRS 1 month ago
- RT @phoronix: Adobe Issues Final Linux Flash Player Release: Adobe released the official Flash Player 11.2 for Linux release t... http:/ ... 1 month ago
- James Justice Shuts Down the College Dunk Contest: youtu.be/BS737iP9AzY via @youtube 1 month ago
Category Archives: Programming
Easy file sharing with Python SimpleHTTPServer
An easy way to share files from your computer is to use Python SimpleHTTPServer. You don’t need to know Python programming to use the SimpleHTTPServer, the only requirement is to have Python installed on the machine where the files that needs to be shared are located.Continue reading
Display random posts in WordPress
WordPress posts may be randomly displayed using the “Get random results from a MySql table” tip placed in a simple plugin. What this plugin does is to simply ad the “RAND()” value to “ORDER BY” clause in the sql query which retrieves the WordPress posts.Continue reading
Get random results from a MySql table
It is possible to retrieve random results from a MySql table using the RAND() mathematical function. In order to get the random results the RAND() function needs to be used in the ORDER BY clause.Continue reading
Pretty print JavaScript with Google Chrome
The built-in Developer Tools from Google Chrome allows formatting of an inline (minified) JavaScript code to a human readable format.Continue reading
Use your browser to decode base64 encoded data
If you are dealing with base64 encoded data you may find useful to know that any modern browser can easily decode it using the Data URI scheme. All you need is pass the encoded data to the browser in the same way as you would enter a regular URL, but of course using the correct structure of the data URI scheme.Continue reading
