Solving “This extension may have been corrupted” in Chrome version 59

Background I found our extensions being detected as corrupted in the Chrome stable release version 59. After some research, I found a related bug report. Basically, if the extension contains files with file size with is the multiple of 4096, the extension will be marked as corrupted. Printing all files’ name and size This following python code […]

Django Template Translation (i18n) for Window

Setup Download gettext Install the binary executable and make sure select “Add application directory to your environmental path” option. Run the following instruction through makemessages -l en   If you are using PyCharm, pressing ALT + CTRL + R will show you the task popup If everything is fine you will see the […]