Archive for the ‘Operating Systems’ Category

Midnight Commander preserve saved settings

Thursday, December 3rd, 2009

After installing Ubuntu 9.10 (Karmic Koala) I have noticed that Midnight Commander, one of the most used CLI file managers available for Linux is unable to preserve settings over different sessions. The solution is quite simple: in order to save it's settings, Midnight Commander requires a ".mc" folder (notice the ...

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

Sunday, October 11th, 2009

In a Linux CLI environment you can use the "find" command to search for files or folder. In this tutorial I will explain how to find folders having the same name in a directory tree and execute commands on them. Since the best way to learn is by example, let's consider ...

PHP CLI increase memory limit

Saturday, October 3rd, 2009

When running a PHP script from command line interface (CLI), a higher memory limit may be required in order for the script to be successfully executed. This can be achieved using the "-d" or "--define" option in the command. According to the manual: This option allows you to set a custom ...

Copy from Firefox and paste into Excel

Wednesday, December 3rd, 2008

You've probably already noticed that if you try to copy a table from Firefox and paste into an Excel spreadsheet, using the classic methods the table formatting is not preserved, and the data from the table is copied into one cell from the Excel spreadsheet. The solution is to paste the ...

Enable compositing effects for metacity in Ubuntu 8.10

Tuesday, November 25th, 2008

Desktop effects in Ubuntu 8.10 can be used without Compiz, by enabling compositing in Metacity - the Gnome's default window manager. [caption id="attachment_116" align="alignleft" width="108" caption="Ubuntu"][/caption] There are more ways to enable compositing in Metacity, but first you need to disable Compiz if you are using it. The fastest way is to ...