Cropping images in mass
Recently a friend told me:
I have to remove the watermark of hundreds of images, you could do it with a program like GIMP but are hundreds of images, I know that you can automate this process using some commands of the ImageMagick suite; I need your help to make the script in bash.
Compile php 5.5 with apache prefork support
PHP 5.5 introduces new features and improves several existing ones but to make use of them in distributions such as Debian, CentOS, Ubuntu, Fedora we should compile it because at the moment in which I write this article PHP 5.5 has not been included in official repositories today LibreByte will show how to compile PHP 5.5 on Debian GNU/Linux.
Fixing ugly fonts on GNU/Linux
Some months ago when I replaced my Ubuntu 10.10 (Maverick Merkat) by Debian 6.0 (Squeeze) XFCE, on my work computer, it happened that the font rendering were very ugly, the desktop in general looked ugly then I found some interesting trick at the Arch Linux wiki, after reading: Font Configuration, I execute the following steps:
Install Iceweasel 5.0 on Ubuntu 10.10
Iceweasel is a completely free web browser based on Mozilla Firefox, but differs from it in that the logo and the brand can be distributed as free software
Get the size of a directory/file on GNU/Linux
Desktops such as GNOME, KDE, LXDE, XFCE offer an easy way to determine the size of a file or directory, right-click on the file in question, select properties from the context menu, but environments servers we dont like those mentioned above so it should resort to the CLI and make use of the du command which calculates the space occupied by a file or directory