Code

Here are some scripts and documents that I have written for my own needs that may (or may not) be useful to others too.

If you want to redistribute any of the code, you must include a copy of the Lesser GPL with them. Do what you like with the PDFs.

Zetact

A reusable contact form module in Python.

zetact has two parts. The FormProcessor class that can be reused by Python web developers to make more advanced forms with different fields. There is also a simpleform function that can be used by those who just want a simple contact form in a hurry. The other files demonstrate how to use this.

Download: zetact-0.1.tar.gz

Zecoin

A Python library for coin collecting applications. Works for me, might be too low-level for you if you don't like the Python interface.

Download: zecoin-0.1.tar.gz

Better Python Console plugin for gedit

IDLE-like console for the Gnome Editor. Aims to help people learn Python. It allows you to whack F5 to execute Python code.

Visit the following link for more information and screenshots. http://live.gnome.org/Gedit/Plugins/BetterPythonConsole

Download: betterpythonconsole-0.2.5.tar.bz2

OpenOffice History

Print out all the available OpenOffice history. You can use as a command line application, or you can use it as a Python module. Save as .py. of course.

Download: oohistory.txt

twitnotify.py - Twitter and Gnome integration

This script sends notifications about Twitter updates to pop-up boxes on your desktop. It assumes a GNOME based Linux/Unix system.

Download: twitnotify.txt

Netwomb

If you have a Linux desktop, then this module/application allows you to access the complete history and information about the wireless connections you have used.

Download: netwomb.txt

files.py

Python module that generates a simple webpage index from a directory.. Good for temporary work with difficult servers.

Download: files.txt

MyFlickr

Put an index of your own flickr photos on your webpage.

Download: myflickr.txt

iplocal.py

iplocal.py - gives you access to the local network address in Python, no matter how the Linux/Unix distributor organises their config files. Useful in a crunch.

Download: iplocal.txt

filehistory.py

Recursively order a directory of files by last modified date. A command-line application with many uses.

Download: filehistory.txt

pdfgrep

A bash command for searching inside PDF files like grep. Requires that pdftotext is installed

Download: pdfgrep.txt

bulkdelete.py

Batch admin of MoinMoin users, get all the spammers off your wiki in one go.

Download: bulkdelete.txt

Email to blog

Update a PyBlosxom-based blog using only your email address.

Download: emailtoblog.txt

Emacs Cheat Sheet - PDF Version

Key bindings for the Emacs Text Editor.

Download: emacs.pdf

Emacs Cheat Sheet - Text Version

Key bindings for the Emacs Text Editor.

Download: emacs.txt

Mutt Cheat Sheet - PDF Version

Key bindings for the Mutt Email Client.

Download: mutt.pdf

Mutt Cheat Sheet - Text Version

Key bindings for the Mutt Email Client.

Download: mutt.txt

Using your Ipod on Linux

This was a guide for gtkpod and Sound Juicer written for non-technical users. E.g. one technical person sets up a computer for someone else and gives them this document.

Nowadays, Ipod support for Linux is built into Rhythmbox and Amarok, so a non-technical user can hopefully use their Ipod on Linux without a document. But it might still be useful to someone.

Download: Using-iPod-0-1.pdf

GPG and Keysigning guide

Ciaran has written a really nice GPG and Keysigning guide. Dead handy for key signing parties.

Download: GPG-and-Key-Signing-Guide.pdf

ssh.py

A friendly Secure Shell (SSH) module for Python program. Supports put, get and execute. Requires paramiko.

Download: ssh.txt

identi.py

A Python module and command line tool for the social networking site identi.ca.

Download: identi.txt

table.py

Python Module for generating reStructuredText tables.

Download: table.txt

countries.py

A CountryField for Django. This is really useful, e.g. so the user can select a country.

Download: countries.txt

version.py

Bazaar version script, use in any Python package that is version controlled using Bazaar, then the user of a package can easily see an automatically generated minor version number.

Download: version.txt

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Essex Web Design

September 3, 2010
A lot of contract providers give you free internet usage now, but if you have Pay As You Go, then you are going to be paying heavy prices.
Calling time on mobile internet nonsense?

Krasochka

September 2, 2010
Hack again?!
Adding more terminals to your function keys

GenryFlorist

September 2, 2010
<b>Cheap flowers delivery around the world!</b> Celebrate summer with our gorgeous flowers. They?re the perfect gift for any summer occasion. From birthdays to anniversaries, we offer beautiful flowers, lush plants, ...
Burning an iso to CD on Windows

auto-financing.co.cc

September 2, 2010
auto-financing
ReStructuredText tables and doctests

rubaxa

September 1, 2010
FTP = NOT RANDOM software Dominated hands postflop suckout often on all-ins. EX. AK vs. A9 or KQ vs. K6. Both players hit top pair. Bad player goes all in ...
Burning an iso to CD on Windows

empodayaddelm

September 1, 2010
Sorry admin - my post is test
This Week: Heroes and Monsters

increase synthroid dosage

September 1, 2010
Latest world news: 1 <a target="_blank" class="ext" href=http://www.maktabti.org/profiles/blogs/viagra-cialis-buy-no>buy cheap cialis generic levitra viagra</a> Viagra 2 <a target="_blank" class="ext" href=http://www.maktabti.org/profiles/blogs/buy-viagra-online-at-lowest>rainbowpush discussion board buy viagra</a> Viagra 3 <a target="_blank" class="ext" href=http://www.maktabti.org/profiles/blogs/how-to-get-generic-brand>search viagra ...
SFTP in Python: Paramiko

Lacilslaw

September 1, 2010
HYUN JAIMIE enniless and homele JAMILA
This Week: Heroes and Monsters

domaserisk

August 31, 2010
who was shaking his head back and forth knowingly Grissom shifted his eyes over at Brass,
How I Removed Windows from my Laptop

get ready loan

August 30, 2010
Though, by the you kill the legitimate PC user from visiting the site. Also, think about the dynamic IP's issue.
Only the penitent man will pass - on captchas and cotton wool

Packers and movers in pune

August 30, 2010
The topic you disscussed here is very amazing, informative and useful in future...
On Comment Spam

serhanters1

August 30, 2010
?? ???????? ??... ??????...... ??. ????????? ??? ??? ???????D ???????? ??. ????? ????? ???? ??? ???=) ?? ?????- http://letitbit.net/download/8746.894a84bc20f38f1661895aeee0/stereokartinki.html ???http://f-zona.ru ? ? ?? ????????????
Burning an iso to CD on Windows

strona startowa

August 29, 2010
Thanks For This Post, was added to my bookmarks.
Python CGI contact forms

lerexottori

August 29, 2010
?????????????? ??????????
Adding more terminals to your function keys

KelpAugmeme

August 29, 2010
aofaapsymp, http://forums.quark.com/members/jennaq.aspx online stock trading broker, rdgofzary
PuTTY Series: Adding PuTTY to your system path

Cheeday

August 28, 2010
What flowers do you like?
This Week: Heroes and Monsters

magfcvb

August 28, 2010
??????? ?????????????? ?????? - ????? ?????? ?????????????? ??????, ?????????????? ?????? ???????, ?????????????? ?????? crosman, ???? ??????????????? ??????, ?????????????? ?????? ?????? ????????. ???? magazin-oruzhie.ru
Include ODF support in the Linux Standard Base?

noni

August 28, 2010
I find myself coming to your blog more and more often to the point where my visits are almost daily now!
On Comment Spam

Latenadsfes

August 28, 2010
http://mynewblog.for-breastcancer.com/ http://mynewblog.photoblogcentral.com/ http://ilovezebras.thechicks.org/ http://mynewblog.cyberbardsymposium.com/ http://wewphost.com/ilovezebras/
Burning an iso to CD on Windows

LeupoldEst

August 28, 2010
pretty cool stuff here thank you!!!!!!!
OOXML Vote Coverage