How to prettify HTML documents at the terminal

When working with RESTful APIs, developers often hit API endpoints to test and look up data in either JSON or XML as the common formats. We have published two recent…

How to prettify JSON documents at the terminal

Nowadays, many users and application developers know that using RESTful APIs is the most common and useful to grab remotely published data. It’s often to look at any RESTful API…

How to prettify XML documents at the terminal

Recently, we have published a post about prettifying JSON documents at the console window which is likely useful for many developers. In this post using some ideas from this question,…

Move a subdirectory into a new git repository

Context In the real world, we may probably have a large Git repository where you want to move out some sub-directories into single Git repositories. Regarding the Git repository, we…

Create preview images for your web page displayed in Google search results

You might want to create a preview image for your web page which it will be displayed in Google search results. This image will help users in the sense of…

Undo the last commit

As a software engineer or developer, I am pretty sure we often use git in our work on a daily basis. Many commits are committed to your local or remote…

How to automatically delete a Docker container after running it

Normally, a Docker container persists after it has exited. This allows you to run the container again, inspect its filesystem, and so on. However, sometimes you want to run a…

Create or update a commit by a specified author

You may have a situation where a repository is mirrored to multiple remote URLs. One of the URLs is on Bitbucket and the other one is based on GitLab for…

Create an empty commit

When updating a submission, a new revision will be created to capture the updates and a commit will also be created. However, some updates don’t change the files coming alongside the submission but edited some metadata on that submission/dataset. In this case, an empty commit is created to match the newly created version.

Loop and autoplay your YouTube videos with YouTube Music

In this blog, six years ago, I shared a way of making videos repeated/looped forever by creating an HTML document to include a piece of HTML code. This way is…