Weblog Archives
You are currently browsing the archives for the Scripts tag.
Published on December 18th, 2006 by George Notaras - Comments : 4
Inspired by Aggelos greek to greeklish text converter implementation, I decided to write such a text converter in Python. It accepts text either from the stdin or by reading a file specified in the command line. It also auto-detects UTF-8 and ISO8859-7 encodings. Two sample text files are provided in the distribution for testing. Download: [...]
Published on December 3rd, 2006 by George Notaras - Comments : 0
pdf2email is a CUPS backend that uses GhostScript to print a document to PDF and sends the final file to the user that requested the print via email. This software is written in Python. I had written this backend a few months ago, it has worked fine for me, so I decided to release it. Your feedback is welcome.
Published on May 11th, 2006 by George Notaras - Comments : 3
I’ve made some progress with the cElementTree Python module. After reading the available documentation and the RSS 2.0 specification, I was able to write a very simplistic RSS 2.0 feed generator in order to demonstrate the usage of this module. There is no such example in the documentation, so this might be useful to someone.
Published on May 6th, 2006 by George Notaras - Comments : 0
While browsing the archives of Raphael Slinckx’ blog, among other very interesting things, I came across a post about a Python script of his, which uploads a text file on the on-line pastebin pastebin.ca. A neat script like this proves to be extremely useful sometimes.
Published on May 2nd, 2006 by George Notaras - Comments : 0
Lately, I have been revising a script I use for video grabbing from a bt878-based TV tuner card. What such a task requires is real CPU horsepower, but my desktop PC can only offer an old Pentium III 700MHz running at 933MHz. I decided to squeeze all the performance out of this overclocked processor in [...]
Published on April 7th, 2006 by George Notaras - Comments : 0
I’ve been checking the web server logs lately seeking for a way to track down the remote hosts that regularly submit, or try to submit, spam comments massively. Grep-ing the logs is no fun at all, so I wrote a small BASH script to do the dirty work for me. Well, this one was written [...]
Published on March 16th, 2006 by George Notaras - Comments : 0
This is a dictionary protocol server implementation written in Python. I decided to write this stuff just to learn Python. The goal is to create a full-featured dictionary server, while making the retrieval of word definitions from any source and in any language easy. The server is usable and acts as a proper UNIX daemon.
Published on December 15th, 2005 by George Notaras - Comments : 2
This BASH script automates the procedure of getting the Fedora kernel headers, that was discussed in my previous post about preparing the complete kernel headers. It’s at a very early stage, does not include many checks, but does the job well, if configured properly. The configuration options are inside the script and they are mainly [...]
Published on November 10th, 2005 by George Notaras - Comments : 0
This Nautilus script was written because gnome-print does not list the user-defined or system-wide CUPS printer instances in the printers list. "Printer instances" are just sets of settings, so that a user does not have to type them for every print. Check the CUPS documentation for more info. So, in order to use your defined [...]
Published on November 10th, 2005 by George Notaras - Comments : 1
I’ve written this script so that I can download multiple files of the same type from a web page. The file extension can be defined in a dialog box that appears as soon as the script is run. It uses Lynx to parse the web page for links and Zenity for the dialogs. The desired [...]