SPLITMYTAB READY FOR THE PUBLIC!

Splitmytab.net is finally for the public to check out. Splitmytab is a bill splitting and IOU system for friends. It uses facebook’s login, so you won’t need to put in anyone’s emails, names, or get people to sign up for an account. It’ll automatically keep balances of who owes who, so you can keep a running tab with friends and always know who’s buying the next case...

JESTER WIKI UPDATED WITH TUTORIAL

I’ve updated the Jester wiki with a basic Tutorial featuring examples of creating rules and seeing how events coming into the system are processed. Enjoy!

'NEW PROJECT: JESTER'

I’ve started a new open source project called Jester. Jester is a rules engine for points and badges, also known as Gamification. Jester is written in Python, using Redis for storage. I’ve created a tiny Domain Specific Language for defining rules using the pyparsing library. A couple examples of rules: create rule on game_play award 5 points create rule on game_play award badge...

OPEN NEW TERMINAL TIP

I tend to open up several terminals when working on a project, so I usually want them to start in the same directory I’ve been working with. Stick this in your ~/.bash_profile to have your new terminal windows automatically cd to the directory you last used. export PROMPT_COMMAND='echo `pwd` > ~/.lastpwd' cd `cat ~/.lastpwd ``

INSTALLING MYSQLDB ON MACOS LION

I ran into an issue installing the MySQLdb module. >>> import MySQLdb /Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.py:3: UserWarning: Module _mysql was already imported from /Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.pyc, but /Users/jhaddad/Downloads/MySQL-python-1.2.3 is being added to sys.path...

HEADLESS VM SERVER USING UBUNTU 11.10

In this tutorial I’ll be guiding you through setting up a headless Ubuntu 11.10 box that you’ll manage using virt-manager, accessed via X11. My main machine is a Mac running OSX Lion. You’ll need the Ubuntu CD, and for the first part of the tutorial, physical access to the box with a keyboard and monitor. **Install Ubuntu on your server. ** I installed Ubuntu Desktop so I could...

GET RID OF FACEBOOK'S AWFUL TICKER

It’s appropriately named Facebook News Ticker Remover. Now I just need to clear out the entire right column. And most of the newsfeed. Edit: Just found minimalist-facebook which hides even more features I can’t stand.

API TESTER NOW HOSTED ON GITHUB

About 4 years ago I decided to write a little GUI tool for manually testing API calls. Put it on the top of my blog, people have downloaded it, and I haven’t touched it since then. Last updated timestamp was 2007. I don’t know if anyone wants it, but it could be useful as a starting point, or to understand how Cocoa apps were written… 4 years ago… I don’t know....

TRAC .11 JQUERY BUG

Running Ubuntu 10.04 LTS, we were seeing an error in trac (File js/jquery.js not found) about jQuery being missing. After plowing through about 20 forums, I finally found a post which gave a tip similar to this: ln -s /usr/share/pyshared/trac/htdocs/js/jquery.js /usr/lib/python2.6/dist-packages/trac/htdocs/js/jquery.js After doing that, jQuery showed up.

MULTIPLE FILETYPES IN VIM

I’m finding this useful as I work with snipmate and have defined custom snippets for solr config files. I still want to use the XML filetype, but I have no real use for the solr fields outside of editing the schema.xml file. set filetype=xml.solr Booya.