School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 306,779 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,567 people online right now. Registration is fast and FREE... Join Now!



's Contributions
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
Binding directories with mount in Linux Tutorials (Last Comment: Tom9729, Views: 2,908)
Code Snippets
Submitted: January 4, 2008        Views: 2062
I wrote this for someone who wanted to learn Bash, so there are more comments than I usually put in my scripts. This script keeps multiple archives of a single directory. Ex. Say you want to backup ~/stuff. ~/stuff changes a lot, and is important, so you want to back it up (and you want to keep revisions of it to prevent a mistake overwriting the good backups. Now unfortunately, you don't have an infinite hard drive, so you're only going to keep 5 revisions of ~/stuff. This script lets you do that. When 5 revisions exist, and you want to make another backup, the oldest revision is deleted to make space.
Submitted: January 4, 2008        Views: 1716
This script counts the number of files in a directory. If the number of files exceeds a certain value, delete the oldest until the value is met. Ex. 10 files are in a directory, 5 new files are added. If the limit value is set to be 10, the 5 oldest files will be deleted.
GPA Calculator in Lisp by Tom9729
Submitted: September 13, 2009        Views: 88
Simple GPA calculator using the console.
Submitted: January 4, 2008        Views: 1265
A simple backup script written in Bash. Generates a folder with the day's date, and fills it with .tar.bz2 archives of whatever folders you specify.
Submitted: August 19, 2008        Views: 1500
This is a simple script that enables/disables an iptables firewall. When the firewall is enabled all packets except for those belonging to normal requests will be dropped. This script must be run as root.
Submitted: June 24, 2008        Views: 2667
This bit of code loads an uncompressed TGA image into a data structure (which can then be used as a texture in OpenGL).
Tic-Tac-Toe in Lisp by Tom9729
Submitted: December 10, 2008        Views: 1303
A very simple Tic-Tac-Toe game using Common Lisp and the console.