After using ubuntu Linux in my xiaomi laptop for months, I find the password prompt really annoying when I try to switch to root account by running the command ‘sudo su -‘. After checking the manual page of ‘sudoers’, I… Read More
disable test in junit5
To disable a test in junit5, using @Disabled annotation in the class or method definition. For example, @Disabled class SortTest { @Test void sortAscTest() { xxxx } } or class SortTest { @Disabled @Test void sortAscTest() { xxxx } }… Read More
recommend a website for SQL railroad generation
Recently I am reading the book “SQL The Complete Reference” to refresh the SQL language of the RDMS. I find that the SQL syntax diagram, sometimes also called SQL railroad, helps a lot in understanding the structure of the SQL… Read More
find package owning a specific file in ubuntu
I am familiar with the rpm package management system, because the products in our company are running in the RHEL Linux OS and the development in my daily work sometimes involves manipulating rpm packages, for example, installing, uninstall, searching rpm… Read More
nginx proxy_request_buffering
Yesterday, I was assigned a bug, in which uploading a file caused a ‘401 unauthorized’ error response. After analyzing this issue, I found that it took about 10 minutes to upload a file. The long time was caused by network… Read More