Creating a SVN Repository

Create a Repository To create an empty repository: svnadmin create /path/to/repository Once the repository is created you need to import data. Typically, svn repositories are broken into 3 directories, /trunk, /branches, and /tags with the…

Blocking an IP Address

To quickly block an IP, just execute the following (where 1.2.3.4 would be the IP you want to block): # route add 1.2.3.4 127.0.0.1 All ACKs to 1.2.3.4 would not be able to reach their…

fstab and UUID

Recently, I added a USB removable hard drive I added to my primary desktop. To make it simple to mount, I added a line in my /etc/fstab with the appropriate sdx device which I determined…

Mirror the contents of a hard drive

There is a handy little *nix program that allows you to copy a disk image from one disk to another called dd dd bs=32k if=/dev/da*** of=/dev/da*** conv=noerror,notrunc,sync bs=32k block size if=/dev/da*** the path to the…