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

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

Nui

July 18, 2008
Hmm, this would be more persuasive as an argument with some evidence. I am a happy admin of Windows and a novice user of Linux, so I have taken the ...
Give Linux a chance

Paddy3118

July 18, 2008
Hi, I too work with Electronic Design Automation tools, where Tcl is used extensively. I tend to only occasionally have to write in Tcl and so find the TclTutor utility: ...
Python and TCL

Cliff Wells

July 17, 2008
I personally cannot live without the Web Developer extension or Firebug. Unfortunately these are probably both among the more difficult to port extensions. Given how poorly Firefox functions on Linux ...
Will Epiphany be able to compete with Firefox's extensions?

making money on the internet

July 17, 2008
[url=http://www.divinecaroline.com/public/user/profile?user_id=83997]extra money 101waystoincome.com[/url]
A year after my 2007 predictions - the score card

Leatherjackets99

July 16, 2008
New Style in Leather Jackets For Man and Woman at http://www.Leatherjackets99.com They Offer Free Shipment Worldwide.
Email Syntax Check in Python

Åke Forslund

July 13, 2008
I'm pretty much a novice in both of these languages but I find them both easy to use and preform the tasks I give them. However I rarely use them ...
Python and TCL

Christopher Thoday

July 12, 2008
A single test is not sufficient to give you confidence that the algorithm is working. You should make 'number' an argument of 'main' so that you can test some boundary ...
Python and TCL

paul21

July 10, 2008
Shame on Mozilla. They should make developers specify the extension license before hosting it. They should show the license next to download button as well.
Are your Firefox extensions proprietary software?

Tris

July 8, 2008
Justin - You say they had not heard of Linux? That doesn't sound very professional to me!
Give Linux a chance

michael

July 8, 2008
what about Galeon? in Gnome i use Galeon mostly. it is fast and stable and has a nice portal with search masks for Debian, FSF, Freshmeat and so on. wtf ...
Will Epiphany be able to compete with Firefox's extensions?

vermin

July 7, 2008
> Eventually, after a bit of digging and Googling, I found their Toolbar-License... You simply found the license of the StumbleUpon Toolbar for Internet Explorer. This is another product, much ...
Are your Firefox extensions proprietary software?

Andrew West

July 6, 2008
Both the Python and the Tcl example could do with error checking. While at first this may not seem on topic with the post I think it better shows the ...
Python and TCL

Kurushiyama

June 30, 2008
XML is no replacement for SGML, it's a subset.
An Introduction to ReStructuredText