Category Archives: programming

Adding GIT branch to BASH prompt

Save this: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh to ~/.git-prompt.sh Then add to ~/.bashrc: source ~/.git-prompt.sh GIT_PS1_SHOWCOLORHINTS=1 PROMPT_COMMAND='__git_ps1 "\# \w" ": "' yielding: 19 ~/proj/app (develop): Note: There are more options to show the status of files. See the .git-prompt.sh for info. Edit: This is … Continue reading

Posted in programming | Leave a comment

New Programming / Shell / Vim Font

Thanks to Chris Weisel for pointing out a great new font for shells and Vim. I usually check out “great new programming fonts” and am consistently disappointed. This one is different. It is similar to Bitstream Mono, but not as … Continue reading

Posted in programming | Leave a comment

Easy Erg – C++ Library for the Concept 2 Rowing Machine Released

I recently open-sourced some of my code. It’s a C++ library that wraps the API and provides an ‘Erg’ class. It currently it builds against an older version of the SDK – version 1.24 – and the current build system … Continue reading

Posted in indoor-rowing, programming, rowing | Leave a comment

VI Joke

I have no idea where I found this. People don’t argue about editors as much as they used to. This joke was more relevant then. Two guys are sitting in a bar, and get talking. "What's you IQ?" one asks. … Continue reading

Posted in programming | Tagged , | Leave a comment

RESTful API Design

I just stumbled on Geert Jansen’s book ‘Thoughts on RESTful API Design.’ Here he has documented things he learned while designing the Red Hat Enterprise Virtualization API. The nice thing is that the source to the book is on github … Continue reading

Posted in programming | Tagged , | Leave a comment

Mothballed Software

We all probably have mothballed software – projects that didn’t go very far. This was one of mine, a rowing game!

Posted in programming, rowing | Leave a comment

Rynsc on Windows 7 Under Cygwin

Getting rid of permission denied errors in rsync under Windows 7 Continue reading

Posted in programming | Leave a comment

Sequence from every Nth Item of another Sequence

The phrase ‘every Nth item‘ may be off here, but it is close enough what I want to do (reduce a data set for charting purposes). # data = sequence of data items # nth = you want every nth … Continue reading

Posted in programming, Python | 12 Comments

In-Application Customer Feedback

Matt Wilson asked about ‘awesome web-apps to let customers suggest/vote/comment’ on upcoming features.‘ This gave me the idea to post about ErgMate’s in-application feedback mechanism. In addtion to sending an email to the support mailbox, there are two other ways … Continue reading

Posted in Micro-isv, programming, Python | Leave a comment

Restful Interfaces to 3rd-Party Websites in Python

Here are the slides and examples from my Code Mash 2.0.1.0 talk: Restful Interfaces to 3rd-Party Websites with Python (PDF) examples.tar.gz

Posted in programming, Python | Leave a comment