Screwdrivers and Handsaws

my do-it-fast-do-it-good toolbox

March 1, 2015

Tom Preston-Werner, one of the co-founders of GitHub, creator of Gravatar and Jekyll (on which this blog runs) recently tweeted:

This led me to ponder about what are my most used utility websites, programs, tools, plugins, etc. I thought I’d share them with you.

This list serves three purposes. Firstly, it serves as a thank you note to the people behind each one of the referenced utilities. It is also a simple reminder that sometimes we should mind the little things. Finally, it is an excuse for me to show what I consider to be a set of cool assets that anyone can use.

Rubular is a Ruby-based regular expression editor. It’s a handy way to test regular expressions as you write them.

How many times did you have to test a regex against a given set of sentences and iterate on it until you got it to cover every corner case? Rubular makes it easy and fast to test that out. It’s true that regex is not a great part of my programming activity (I believe that if you are using it too much, maybe there is a better way to do it), but when a situation arises in which regexes are needed, Rubular has proved to be very helpful.

JSON lint is a clean and simple linter for parsing and formatting JSON text.

Lately I’ve been working with a lot of external APIs which are in most of the cases JSON-powered. Because of that, JSON lint has become one of my top utility websites. Whether be it because I am doing something wrong when trying to POST data to the external service I’m interacting with, because I want to understand how to correctly parse the error messages or simply because I want to have a more structured (i.e., formatted) view of the service response. It is a must.

Create and send any HTTP request using the awesome Postman request builder. (…) With Postman, you can construct simple as well as complex requests quickly, save them for later use and analyze the response sent by the API. Postman can dramatically cut down the time required to test and develop APIs.

Continuing on the API madness, I use the Postman REST client Chrome extension mostly for testing our internal APIs at Talkdesk.

Shell script gh is a really simple tool to open the GitHub page of a given branch of a repository. The following gif exemplifies the usage of git-open, which is based off of gh.

git-open

It is pretty much all the same. Instead of doing git open like it is shown in the gif, I just type gh. This is useful to open a new Pull Request right after that last push or simply visually checking the state of a given branch upstream.

Project Naptha: a browser extension that enables text selection on any image

This project showed up on Hacker News a while back. It has as much of interesting as of useful. Haven’t you had times in which you want to search for the text present in an image, or even just copy it for some reason? This Chrome extension allows just that.

I am sure there are others I could have mentioned, but a top 5 seems reasonable enough.

What are some of your favorite utility websites or tools?