Author Archives: Cristian Radulescu

About Cristian Radulescu

PHP // MySql // Linux // Android

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

Understanding file permissions and ownership on Linux

The files on a Linux system can have reading permissions, writing permissions, executing (running) permissions or no permissions for the user that owns that files, groups of users or the rest – users who does not own that files and they are not members of any group.Continue reading

Enable trackball pulse notifications for HTC Hero with CM7

How to enable trackball pulse notifications for missed calls on HTC Hero with CyanogenMod 7 (or other CM7 based ROM like the one provided by elelinux).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