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

Use git commit -m <message> to create a new commit with the specified <message>. Use the –author option to change the <name> and <email> of the commit’s author. git commit -m <message> –author=”<name> <email>” # Make some changes to…

Create an empty commit

We use VCS as the back-end technology to track changes made on each submission or dataset into our system. The users or submitters can update their submissions and all changes…

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…

Hai cách dùng từ để đặt tên chức năng cho máy lọc nước gia đình

Phân tích Bạn thấy gì qua cách dùng từ để đặt tên chức năng? Để ý vụ này lâu rồi nhưng đến nay mới viết bài này để chia sẻ…

Yale Smart Home Living – Door/Window Contact

Bài này mình dự định chỉ biên bằng một thứ ngôn ngữ pha trộn Việt Anh. Bản chuyển ngữ hoàn toàn sang các ngôn ngữ Anh, Pháp và Việt sẽ…

Working with the Grails Database Migration Plugin

In this post, I want to share with you some experience you might find useful for your projects when working with the Grails Database Migration plugin. Brief information of the…

How to write logging messages to a file in PHP

Being proficient in logging debug or error messages is critical to every programmer. If you used to make programs in any high and robust programming languages such as Java or…

Is it possible to start a web server from any php web based directory?

I recently discovered another way to start a web server from any location for any application written in PHP. As of PHP web developer, I bet all of you are…