Pretty JSON in Terminal

If you ever deal with JSON API requests through the terminal with cURL, you might be frustrated with how the resulting data is rendered. In a normal API call (in this case, the Chuck Norris Database): curl http://api.icndb.com/jokes/random …there is no formatting at all, see: JSON with No Formatting In order to get your JSON responses to print out in the Terminal prettily formatted, you can pipe (using the | character) the response into Python using the following command:
Continue →

Terminal Navigation 101

The Terminal, (AKA CLI, or “Command-Line Interface”) is super-powerful and allows you to interface directly with the underlying workings of your operating system. It’s pretty essential you learn how to use the Terminal if you’re going to be developing software or doing any more advanced operations within your operating system as many operations are done exclusively through the Terminal. In this post, I’ll give you a quick run-down on how to navigate your file system in Terminal.
Continue →