01.03.08

Backup Directories To Amazon S3 Script

Posted in Bash, Linux, Projects, Tips at 11:12 pm by Guy

This is a small script I wrote today, to automate my backups, which I do on Amazon S3. This is fairly short, yet useful bash script that utilize the s3cmd to do the actual sending of the files.
Read the rest of this entry »

01.02.08

Activating Guarddog Settings on Startup

Posted in Linux, Tips at 10:50 pm by Guy

Like many Linux users, I use Guarddog as a frontend to my iptables firewall. At some point, I noticed that Guarddog started acting strangely. Every time I restarted my computer, all internet traffic was blocked (both in and out). The only way to fix this situation was to open Guarddog and press “Apply” (without doing any changes). While it was annoying, it didn’t bother me much because I used to restart my computer about once a month. But few days ago, I decided to solve this problem once and for all.
Read the rest of this entry »

18.01.08

Delete Unversioned Files Under SVN

Posted in Linux, Tips at 1:20 pm by Guy

Sometimes svn switch fails because unversion files exist in the working copy, and the need to erase them comes up. This is also true when updating to an old revision (usually one that misses directories that exist in the head revision), doing some work (like compiling), and then trying to update back to the head revision. Subversion (SVN) will fail complaining that directories/files already exist.
Read the rest of this entry »

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 »

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 »