Recent Posts

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 […]

Connect to Raspberry Pi via SSH WiFi through Router

Setup: Enable the SSH server from the config menu: sudo raspi-config Setting up WiFi for the Pi: In order to connect to the Pi via SSH through router, we have to fix the IP address of the Pi. In order to allow the Pi sending requests to the server (localhost in my laptop), we have […]