bash 4.0 – new feature mapfile

Recently I encountered a problem where I had to create couple of arrays in bash and these were quite dynamic…

Continue Reading →

Adding a sub-menu in the wordpress admin menu :)

For the impatient ones, first the code: (in wp-admin folder, open the file menu.php) and locate the code: $submenu[\’edit.php\’][10]  =…

Continue Reading →

colors in bash — script to display all the possible colors.

If you wanted to have colors in the bash output (including the colors in PS1-4), don\’t you keep wondering how…

Continue Reading →