page-header

Tag: coding

18
Mar

Python Snippet: Get Terminal Width

There is a wonderful command on UNIX systems to return the width of the current terminal. Enter  tput cols and see for yourself! Tput can actually provide a lot of different info by querying the terminfo database. Really all I’ve needed though is…

14
Feb

From Ruby to Python

For a while I’ve been thinking about switching to Python, especially when I see so many programs I like to use written in it. My favorite terminal Guake comes to mind first and of course my all-time favorite editor Sublime…

18
Sep

Public Code Number One

Today I finally released my first public code into the wild. I’ve been teaching myself programming, and throughout the learning process, my code has been in private repositories with Bitbucket. It was a struggle to feel confident enough to put…

19
Aug

I Forgot My Newline

This is a friendly reminder to always leave a blank line at the end of your text files. You might be thinking that it doesn’t really matter, and in many cases you’d probably be correct. However, there are also plenty…