Automatic resizing of a set of pictures using Ruby
In the previous post :"How to resize an image using Ruby" I made a program that can be used to resize a single image using the Ruby Language and RMagick. This is a preview of Automatic resizing of a... Read more
How to add text to pictures using Ruby
As I have already done with python (in How to add a text to a picture using python) , I'm going to write a simple program which adds a text over an image. The text I want to add... Read more
How to resize an image using Ruby
Ruby is a fantastic programming language, it provides a lot of features. This is a preview of How to resize an image using Ruby. Read the full post (198 words, 1 image, estimated 48 secs reading time) Read more
My minimal installation of Ruby on Ubuntu 12.04
Wikipedia: <<Ruby was conceived on February 24, 1993 by Yukihiro Matsumoto who wished to create a new language that balanced functional programming with imperative programming. Matsumoto has said, "I wanted a scripting language that was more powerful than... Read more
How to disable the file system check at boot time in linux
Why do you want to do that? It's not advised to do so. I know it. I know, I know, I know, I know, I know, I know, I know…. but in some cases it can be useful so I want to tell... Read more
Automatic resizing of a set of pictures using python
Last week we've seen how to resize a picture using PIL. Take a look to Resize an image using python to get more information on how to do this task. This is a preview of Automatic resizing of a set... Read more
How to add a text to a picture using python
Python provides a lot of useful tools and libraries to handle images. If you want to modify an image you can use the PIL (Python Image Library) to apply filters, draw a line, draw a rect, draw an oval,... Read more
Resize an image using python
Python provides a lot of useful tools and libraries to handle images. If you want to resize an image, for example if you want to create a thumbnail, you can use the following few lines of python code: ... Read more
how to extract columns from a text file using the bash
Extracting columns from a text file is a very common task for system administrators or for scientific engineers, but, sometimes also other people needs to do this task. Using the bash and awk, this task is a very simple... Read more
Converting a pdf file to a series of pictures
Sometimes, for strange reasons, you can have the need to convert a pdf file into an image or into a collection of images. I've tried a lot of methods to do this job, I used: inkskape, gimp, libreoffice……. to... Read more
loading a shared library, programmatically
In a previous article I explained how to create a shared library (in Mac OS X) and how to build an application using this shared library. Instead of linking the application against the library, the developer can choose... Read more
How to add startup applications in CentOS 6.3
With CentOS 6.3 you can add a set of startup applications to run each time you login. There are several ways to do this job, you can edit several configuration files but with CentOS 6.3 and Gnome you can... Read more
How to configure autologin in CentOS 6.3
Auto-login could be considered a severe security issue, despite this, sometimes, it could be useful for specific tasks. To do this job you have only to change a file. Gain root privilegies. open /etc/gdm/custom.conf with your favourite... Read more
How to configure the TCP offload engine (TOE) in Linux
TCP offload engine or TOE is a technology used in network interface cards (NIC) to offload processing of the entire TCP/IP stack to the network controller. It is primarily used with high-speed network interfaces, such as gigabit Ethernet and... Read more
How to create a shared library using the GCC on Linux
Before starting this task I want to say something about "Shared Libraries Pros & Cons" PROS - They give to you the ability to split your code in conceptually separated sections. Each section will be loaded only if it... Read more
Check for root user in Python
Since the Raspberry Pi was released, the python programming got a new life. So, many customers ask to me how to do some simple task using this programming/scripting language. This is a preview of Check for root user in... Read more
How to autologin to Ubuntu 12.04 LTS (or to 12.10)
Sometimes could be useful to get automatic access to your Ubuntu box. Imagine you want a default user that can access the Inernet, You could create the user with the specifics authorizations then with the autologin nobody of... Read more
Using Ubuntu to cross compile for Raspberry Pi
The Raspberry Pi has limited resources compared to a regular desktop PC. Development and compilation on the Raspberry Pi tends to be quite slow. In this tutorial I'm going to show to you how use Ubuntu 12.04 LTS... Read more
