Tag Archives: github

Monty Hall Sneak Peak

Coming Soon: Monty Hall game player in Python. For now, here is a little teaser: The 10 billion iteration answer: >>> monty_hall.play(iter=10000000000) Ran 10000000000 iterations in 104833.082781s {‘wins’: 3333340564L, ‘losses’: 6666659436L} The code is hosted, of course, on GitHub and … Continue reading

Posted in Programming, Python | Tagged , , , , , , | Comments Off

Bash Snippet for Git Users

Keeping track of what branch you are using while in a git repository can be a bit of a pain. Adding the following code to your ~/.bashrc file can make it a bit easier since it will prepend your prompt … Continue reading

Posted in Hacks, Linux, Programming | Tagged , , , , , | Comments Off

Stumpy Updated – v1.4.3

The Mutaku URL shortener, Stumpy, has now been updated to version 1.4.3. You can find out more about Stumpy by clicking the first link in this post to read the initial write up on Mutaku, or you can go to … Continue reading

Posted in Mutaku, Programming, Python | Tagged , , , , , , | Comments Off

Stumpy v1.4.1 – Critical bug fix

Stumpy has been updated to version 1.4.1 to fix a critical bug that was in all previous versions [Thanks, Erik!]. There was an issue with case-sensitivity in short url lookups that is now all patched up. For general information on … Continue reading

Posted in Programming, Python, Server/Webserver | Tagged , , , , , , , | Comments Off

Stumpy v1.4 – Grab it now!

Stumpy has been updated to v1.4. UPDATE: v1.4 and prior has a bug in short url lookups. v1.4.1 fixes this bug and should used over previous versions. See post here. There are several fixes here which I will simple highlight … Continue reading

Posted in Programming, Python, Server/Webserver | Tagged , , , , , | Comments Off

Stumpy is Now Available!

Stumpy has gone v1.0 and is now available on Github. The project is a URL shortener that I originally wrote in Python and have recently rebuilt from scratch to use the Django Python web framework. Now that I’ve reached what I … Continue reading

Posted in Hacks, Mutaku, Programming, Python, Server/Webserver | Tagged , , , , , , , , , | Comments Off