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:
In the first part of this three-part series, I’ll guide you in setting up a simple blog like the one you’re on right now, and show you how to host it for free on Github Pages. When I began on this journey myself, I had close to zero experience with Github. I followed some of the available guides already out there on the web, (including those from Hugo themselves), but there were some parts that didn’t quite click with me right away and it relied upon a lot of time and trial & error before it all finally worked.
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.
If you ever felt like you’d like to customise and change the standard icons of any app, file, or folder on macOS, but you didn’t know how, you’ve come to the right place. It’s actually very easy, and can be done in just a few very simple steps. You first need to find and download an icon of your choice. I recommend the site IconArchive, they have many high-quality icons.