Skip navigation

Tag Archives: coding

I have been using bash for many years but I haven’t really done too much with it except some simple setup scripts. I learned some things today and I just wanted to write this down to help me remember:

Separate multiple paths in a bash environment variable using a colon, not a semicolon:


PYTHONPATH can be viewed in os.environ[ “PYTHONPATH”] ( not os.environ[ “PATH” ] ) and any of those paths should be visible in sys.path. If the paths added to PYTHONPATH in your .bash_profile on Mac OS X do not show up in sys.path then something is wrong.

Use the “source” command to reload your .bash_profile settings in your existing terminal:

source ~/.bash_profile

I also found this “Bash by Example” article helpful.


I updated my Python Oauth Client Library so that it actually works now!

Here’s an example of how to use it:


(using Twitter)

def myCallback ( data ):
  print "data: %s" % data

c = oauthConsumer.Client( consumerKey, consumerSecret, requestTokenURL, accessTokenURL, authorizeURL, "" )
c.requestAuth( myCallback )
c.requestSession( oauth_token, oauth_verifier, myCallback )
#data: oauth_token=20687908-snoIXOqT7StBdYtyeatV0fAzxLTB0DYklIgBh8klx&o...
print c._sessionSecret
print c._sessionToken

Now make requests via createRequest

update = c.createRequest( path="/statuses/update.json", callback=myCallback) = { "status":"testing pyoauthconsumer oauth client python library I'm working on" } )
#data: {"truncated":false, ... }

You can see the post made with this example here.


Softpedia has added my Adobe AIR app, Diomedes IRC client to their website! I didn’t even apply. Wonder how they found out about it. Maybe found it on the Adobe AIR marketplace? In any case, it’s pretty interesting. First of all, they added to the Mac section even though since it was built on Adobe AIR it is cross platform and works on Windows and Linux too. They took several screenshots, and seem to know their way around IRC.  Unlike they do not host the file, they link to my file on my site. They also have cleared the software of being spyware free, which is great.

I get to use this fancy badge:

Diomedes IRC on Softpedia

And maybe this one too:
Diomedes IRC on Softpedia

Here is the text of the email I received:


Diomedes IRC, one of your products, has been added to Softpedia’s database
of software programs for Mac OS. It is featured with a description text,
screenshots, download links and technical details on this page:

The description text was created by our editors, using sources such as
text from your product’s homepage, information from its help system, the
PAD file (if available) and the editor’s own opinions on the program

“Diomedes IRC” has been tested in the Softpedia labs using several
industry-leading security solutions and found to be completely clean of
adware/spyware components. We are impressed with the quality of your
product and encourage you to keep these high standards in the future.

To assure our visitors that Diomedes IRC is clean, we have granted it with
the “100% FREE” Softpedia award. To let your users know about this
certification, you may display this award on your website, on software
boxes or inside your product.

More information about your product’s certification and the award is
available on this page:

Feel free to link to us using the URLs above. If you choose to link to the
clean award page for your product, you may use the award graphic or a text
link: “100% FREE award granted by Softpedia”.

If you feel that having your product listed on Softpedia is not a benefit
for you or simply need something changed or updated, please contact us via
email at and we will work with you to fix any
problem you may have found with the product’s listing.

The Softpedia Team

I have made my Adobe AIR IRC client Diomedes IRC open source, utilizing the MIT license. :)

Check out the project page for more info.

Diomedes IRC

This is kind of fun. I got my Diomedes Adobe AIR IRC client made with JavaScript listed on the official Adobe AIR Market Place. It’s been up all day and only two downloads though, one from someone I know. :(

It is kind of fun making stuff and putting it up. Would be nicer if someone actually used it. :o

Next I’m going to work on a game, possibly using canvas. Looks like that will be a lot of work since drawing on a canvas is really low level drawing basic shapes and lines. Animation consists of clearing and redrawing the canvas. Yeah.

I haven’t blogged about it yet, but I’ve been working on an IRC client in Adobe AIR using Javascript, AJAX and HTML/CSS.

I’m going to make a more recent download available soon at The version that’s available now on that site is very old and buggy. I don’t recommend using it!

Here are a couple of screen shots of latest progress:

Diomedes IRC

Diomedes IRC