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…
Author: Nguyen Vu Ngoc Tung
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…
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ẻ…
How To Check If Key Exists In Dictionary In Python
If you try to retrieve a non-existed key of a dictionary, you are gonna stuck an exception obviously. To be get safer, you should do check its existence before doing…
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…