Tag Archives: Scripts

pygr2gl – Greek to Greeklish Converter

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.

pdf2email CUPS Backend

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.…

Continue reading

Creating An RSS 2.0 Feed Using cElementTree

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.

A Useful Script

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. A neat script like this proves to be extremely useful sometimes.

TV Grabbing On A Pentium 3

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…

Continue reading

Track ’em Down!

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…

Continue reading

DictExpress

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.

Get my kernel headers script

2 Comments

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…

Continue reading

Print to CUPS printer instances

No Comments

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…

Continue reading

Mass download

1 Comment

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…

Continue reading