Jan 182012
 

Sometimes it’s useful to limit the bandwidth used by some of your programs, perhaps you want to limit your Browser or FTP client, and they dont’ have a native way to limit the input and/or output bandwidth they are using, there is a small application that can solve this problem for you: Trickle

trickle is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.

trickle works by taking advantage of the unix loader preloading. Essentially it provides, to the application, a new version of the functionality that is required to send and receive data through sockets. It then limits traffic based on delaying the sending and receiving of data over a socket. trickle runs entirely in userspace and does not require root privileges.

Continue reading »

Flattr this!

Jan 102012
 

Afrikaans: Geroosterde pitte van die koffiepla...

Image via Wikipedia


Ever get the urge to build something, and wonder, “How can I make a homemade coffee roaster?” Well, thankfully for us, someone has already thought up the basics. But, then there’s that small question in the back of our brains, “Can I make my Linux laptop control the homemade roaster?” Surprise, surprise! Someone thought that up to, and has put their version public so the technological inclined coffee drinkers can have something to do during winter break.
Continue reading »

Flattr this!

Jan 032012
 

eSpeak

Article by Ankur Aggarwal, owner of the Blog http://flossstuff.wordpress.com

Sometimes we want our Linux box to speak to/for us.This ability is very useful to make announcements and alerts in case of many critical events in our machines or can be used just for sheer fun. There exists a command line synthesized known as eSpeak that comes pre installed in Ubuntu. You can also install it on debian systems by typing the command sudo apt-get install espeak in a command console .For all other operating systems you can install it from source available at http://espeak.sourceforge.net/download.html

Continue reading »

Flattr this!

Jan 012012
 

I think that a lot of computer user are now used to the concept of copy on the “Cloud”, with tools like Dropbox or Ubuntu One, you can have the same file saved in multiple computers (also with a different operating system) and at the same time have a copy of it on the Cloud.
Usually you get some free space to start and if you need more you have to pay a monthly or yearly price, but these concepts where already there and available for Linux with Unison.

Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

The latest stable version, is 2.40.63. It is available as source code and precompiled binaries for Linux, Win32 and Mac OS X.
Continue reading »

Flattr this!

Dec 312011
 

Sometimes in my small shell script i’ve to do some math, usually nothing too complex but it’s useful to do the math inside the bash script. Bash it’s really complete and among the many builtin functions there are also some mathematical functions.

Using the syntax $((expression)) you can evaluate the expression. Operations allowed are quite a few. From  man bash:

ARITHMETIC EVALUATION
The shell allows arithmetic expressions to be evaluated, under certain circumstances. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The operators and their precedence, asso ciativity, and values are the same as in the C language.
Continue reading »

Flattr this!