~/cristian.radulescu/dev-notes
About RSS

August 25, 2011

Display random posts in WordPress

WordPress posts may be randomly displayed

Read more →

August 20, 2011

Get random results from a MySql table

It is possible to retrieve random results from a MySql table using the RAND() mathematical function

Read more →

August 6, 2011

Pretty print JavaScript with Google Chrome

The built-in Developer Tools from Google Chrome allows formatting of an inline JavaScript code to a human readable format.

Read more →

May 7, 2011

Display banner text in command line

Display banner-like texts with large characters created from regular characters using the FIGlet utility.

Read more →

October 2, 2010

Use your browser to decode base64 encoded data

Any modern browser can easily decode base64 encoded data using the Data URI scheme.

Read more →

March 11, 2010

CLI search and replace in multiple files

Quick tip about how to find and replace a text in multiple files from CLI.

Read more →

October 11, 2009

Find all folders with same name in a directory tree and execute commands on them

Find folders having the same name in a directory tree and execute commands on them.

Read more →

October 3, 2009

PHP CLI increase memory limit

When running a PHP script from command line interface, a higher memory limit may be required...

Read more →

July 12, 2009

Insert value 0 for primary keys with auto increment in MySQL

In order to insert value 0 in a field that is set as primary key for a MySQL table you need to execute the following query...

Read more →

November 24, 2008

Disable foreign key checks in MySQL

Disabling foreign key checks in MySQL is useful when you are dealing with tables that use foreign keys (InnoDB engine).

Read more →
← Newer Page 2 of 3 Older →

Built with Staccato.