cat /dev/brain

Articles in the development category


Showing bash some love

So in my last post I discussed my pyserv bash function that looks and behaves like a program. I didn't exactly disect it, but I have a different one that I will disect.

Meet my nifty function called sandbox:

sandbox(){
    if [[ -z "$1" ]] ; then
        echo "sandbox: No directory provided"
    else …
Posted on 06 January 2013 by Ian Cordasco

Unittests in github3.py

After mostly finishing github3.py[1] I started writing the unittests for the library. I waited until the end because I knew I wanted to test directly against the API. To do that, I needed to make sure I had all the functionality that would return the proper objects to …

Posted on 18 September 2012 by Ian Cordasco

Git(hub) Basics

After encountering some problems working on github3.py I stopped by #github on Freenode to see if anyone else had come across the same problems. While there, I noticed a lot of people asking some basic questions about how to do things with respect to git and Github. They seem …

Posted on 12 June 2012 by Ian Cordasco