Linux

iptables.rules

Posted on Friday, January 23, 2009 at 04:43:38 AM.

This is just a simple generic rules file for iptables. It blocks all incoming traffic and pings, but allows outgoing pings and replies.

[Q]Comments (0) | Read more...

Screenshooter

Posted on Wednesday, August 8, 2007 at 11:39:26 PM.

This is a simple script that I use in conjuction with the screenshots.php script in the PHP section to display my current desktop image. What it does is takes a screenshot, makes a thumbnail, adds the image with date/time to an index file, and then uploads the files to my server. You'll need to make sure you have installed ImageMagick and NcFTP. Since this is all provided for learning purposes, you can figure out how to make the PHP scriptlet work correctly with this.

[Q]Comments (0) | Read more...

Twitter Updater

Posted on Wednesday, August 8, 2007 at 11:19:10 PM.

This is a simple script I wrote to update my status on Twitter. You'll need to make sure you have installed Zenity and cURL. Just assign it an icon on your desktop or panel, and upon execution, it should pop up a small window asking what you're doing. That's it really. Of course, you'll need to change USERNAME and PASSWORD to the correct values at the top...

[Q]Comments (0) | Read more...

PhotoDump

Posted on Wednesday, August 8, 2007 at 11:11:53 PM.

A simple shell script that downloads photos from your camera or memory card to a specified directory on your computer. You'll need to make sure you have installed Zenity and libnotify. It will of course take a little tweaking to fit your specific camera/memory card and directory structure, but the complicated stuff is done for ya already. ;) Just assign it an icon on your panel or desktop, and it should prompt for a name, date, etc, via Zenity's GUI.

[Q]Comments (0) | Read more...

My .bashrc file

Posted on Friday, January 19, 2007 at 05:38:53 PM.

This is my .bashrc file. Most if it is self explanatory. Feel free to post any tips, corrections, or other .bashrc settings or functions that you think anyone may find useful.

[Q]Comments (12) | Read more...