rahji.com

Main menu:

Site search

Categories

My Other Sites

People

Places

Stuff from the 'scripting' category

Corrupt mailbox

My email breaks about once a year. Something about one of the mail clients I use, the mail server, procmail or whatever, trashes the mail file somehow. I’ve tried editing the file but that often doesn’t work. I think I’ve found another potential solution…

Convert a Folder of .WAV files to numbered .MP3 files

A quick bit of bash that you can do from the command line on linux (or MacOS, if you have lame installed)…

rdqcutils Quartz Composer plugin

During my weekend of procrastination, I created a Quartz Composer plugin. As I need some new patch I will probably add it to this plugin, so it will continue to grow.

Mapping a value to a new range

A handy formula that I usually have to look for when I need it – make a value fall into a specific min-max range. This is the math that gives you a new, scaled up or down, value.

20 Challenges

This is a list of twenty arbitrary challenges for people who are learning to create using a tool like Processing, Quartz Composer, or the like.

Using OSCemote with Processing

This is my tutorial for using Processing with the OSCemote iPhone app.

iPhone and Processing

I made a couple simple demos for the VIS145A students at UCSD to show how we can use an iPhone as the interface to Processing sketches.

Creating Visual Rhythm in Processing

I’m teaching Processing to art students at UCSD and the course’s professor has basically asked them to create visual rhythm. I made a few sketches to show a simple way in which this might be accomplished.

How to get your RSS feeds out of Mail.app (and into NetNewsWire)

If you use Mail.app to read RSS feeds and want to export the URLs for those feeds (maybe you want to use some other RSS reader now?), you can use this command.

PHP Countries, States and Provinces

I modified my phpstates code include to display countries and Canadian provinces as well. The country codes come from the UPS developer’s API. This is another one of those snippets that I use often, so maybe it will help you out.