Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collection of useful scripts that don't fit anywhere else
Python JavaScript HTML Other
tree: 8d1574d435

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
jsjupiter
.gitignore
README
analemma.py
bdump
chatsounds.py
decodemail.py
eggtimer
epubtag.py
falls_between.py
fontasia
fotogr
langgrep
louder
masq
pathmatch
pisoothe
preso
pyclip
pykey
pyplay.py
pyruler
pysync
randombg
randomline
readkey.py
termcolors
tweet
vol
xlsrd

README

A collection of useful scripts and snippets

analemma.py:
    Plot the analemma from the selected location, using PyEphem and PyGTK.

bdump:
    Ascii/hex/decimal dumps of any file. Like od but much more readable.

chatsounds.py:
    An xchat Python script to handle nick (and other special-case) sounds.
    Also a rare example of an xchat Python script.

decodemail.py:
    Decode email lines encoded in RFC 2047 format, printing only lines
    that match a specific header (Subject:, From:, etc.).

eggtimer:
    Pop up a reminder window in a specified number of minutes.

epubtag.py:
    Display author, title and tag information for ebooks in epub format;
    or add or modify an ebook's topic tags.

falls_between.py:
    given a day of the week ("tue") or a day of the month (15),
    did it occur between two given dates?

fontasia:
    A Linux font chooser and categorizer.

fotogr:
    Search for strings in files named Keyword beneath the current directory.

langgrep:
    Search (grep) for patterns only within scripts written in a
    specified language (e.g. in all python scripts).

louder:
    Increase alsa system volume by a small increment. Symlink it to
    another name like "quieter" and it will decrease instead.
    Bind those to volume increase/decrease keys on your laptop.
    and set it as the system wallpaper.

masq:
    Set up IP masquerading to talk to another computer, such as a
    Raspberry Pi, over eth0 while using wlan0 for the internet.

pathmatch:
    Search your executable path to find programs matching a string.
    Like str<tab> except you can match patterns anywhere in the
    string, not just at the beginning.

pisoothe:
    Play sound samples (e.g. soothing white or pink noise samples)
    in a loop, reacting to key events for volume control or to skip
    to the next sample.

preso:
    A lightweight presentation program for displaying HTML slides.

pyclip:
    Read the X clipboard.

pykey:
    Simulate keypresses under X. A simpler, Python version of
    Crikey http://shallowsky.com/software/crikey/

pyplay.py:
    A class to play sounds asynchronously by calling aplay (or an app
    of your choice). Don't repeat a sound that's already playing.
    Used in the xchat script chatsounds.py.

pyruler:
    An X pixel ruler. Useful for measuring things like icon sizes.

pysync:
    Call rsync, but check first what would be changed, and save the
    password between the two calls.

randombg:
    Choose a random background (wallpaper) from a directory named based on
    current X resolution. So you can have different sets of backgrounds
    sized for laptop screen, external monitor etc.

randomline:
    Print a random line from a file. Useful for things like choosing
    a random wallpaper or random system beep tone.

readkey.py:
    Read a key press from the keyboard without waiting for a newline.
    For CLI programs: doesn't need X, tkintr, pygame or similar libs.

termcolors:
    Display ANSI colors for the current terminal.

vol:
    A simple python-gtk volume slider. Much simpler and smaller than
    alsamixergui.

xlsrd:
    Display an .xls spreadsheet as a formatted ASCII table, using
    the xlrd package to parse the spreadsheet.

Something went wrong with that request. Please try again.