29.10.07

Creating Local SVN Repository (Home Repository)

Posted in Linux, Tutorials at 9:39 am by Guy

In this tutorial I will explain how to create a local Subversion (SVN) repository, intended for a single user. I assume that you already know the benefits of keeping track of old revision of projects or important documents such as a resume or a thesis you have been writing. Subversion offers you a very convenient yet strong method to do so, and the easiest way to do so with Subversion (SVN) is to create a local, home, repository intended for a single user - you.
Read the rest of this entry »

20.10.07

spass - A Secure Password Generator Utility

Posted in Linux, Projects, spass at 9:22 pm by Guy

spass is a secure password generation tool. spass was designed under the assumption that a password generator is as good as its random number generator, so spass uses the Random class, a /dev/random based cryptography strong random number generator class. As always, I tried to make a user-friendly as possible command-line interface (as much as a command-line interface can be friendly).
Read the rest of this entry »

12.10.07

Conditional Expressions in Python 2.4

Posted in Python at 12:52 pm by Guy

Python 2.5 introduced new syntax structure: the conditional expressions. For programmers in languages such as C these structures seem very basic and fundamental but Python lacked them for many years. As I said Python 2.5 introduced such syntax structure, one may use it in the following form:

x =  a if condition else b

As you probably guessed a is assigned to x if condition evaluates to true and b is assigned otherwise. This is pretty much equivalent to the C conditional expressions. But as I said, this structure was only introduced in 2.5. Previous versions of Python are still widely deployed and in use, so how do you achieve the same thing in older version of Python?
Read the rest of this entry »

05.10.07

ssh-keygen Tutorial - Generating RSA and DSA keys

Posted in Linux, Tutorials at 12:32 pm by Guy

In this post I will walk you through generating RSA and DSA keys using ssh-keygen. Public key authentication for SSH sessions are far superior to any password authentication and provide much higher security. ssh-keygen is the basic way for generating keys for such kind of authentication. I will also explain how to maintain those keys by changing their associated comments and more importantly by changing the passphrases using this handy utility.
Read the rest of this entry »

02.10.07

radio.py-0.4 - Listening to Radio the Easy Way

Posted in Projects, radio.py at 9:00 am by Guy

radio.py is a little script that makes it very easy to listen to radio under Linux (and maybe other OSs too) with mplayer. All you need to do is to call radio.py with the name of the station you want to listen to. For example:

radio.py Radio Paradise
or
radio.py BBC3
To read more about radio.py go to the first post discussing radio.py.

What’s New

Here are some of the things that have changed in radio.py-0.4 compared to the previous release (0.3). Read the rest of this entry »