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…

(English) Create or update a commit by a specified author

Rất tiếc, mục này chỉ tồn tại ở English.

(English) Create an empty commit

(English) 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…

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 dự định chỉ biên bằng tiếng Việt. Không có bản chuyển ngữ sang tiếng Anh hoặc Pháp.

(English) Working with the Grails Database Migration Plugin

Rất tiếc, mục này chỉ tồn tại ở English.

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…