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 … Continue reading Solving “This extension may have been corrupted” in Chrome version 59

Advertisements

Explore Firebase Cloud Functions

Introduction: Firebase, Backend as a service, released a new feature Cloud Functions. It allows developers write back-end code without worrying handling a server. In the following blog post, I explored how fast it is to create a simple HTTP request listener. 1. Install the Firebase CLI tools: npm install -g firebase-tools 2. Login with Google … Continue reading Explore Firebase Cloud Functions

Django Template Translation (i18n) for Window

Setup Download gettext  http://mlocati.github.io/gettext-iconv-windows/ Install the binary executable and make sure select "Add application directory to your environmental path" option. Run the following instruction through manage.py: makemessages -l en   If you are using PyCharm, pressing ALT + CTRL + R will show you the manage.py task popup If everything is fine you will see the … Continue reading Django Template Translation (i18n) for Window

AJAX Request using reqwest [React Redux]

Background: The website contains a signup form which consists of a Languages dropdown option. In order to get language options from the database, we need to call an AJAX get request. Problem: 1) Where to trigger the Ajax call in the react life cycle. 2) How to use redux to handle UI changes after AJAX … Continue reading AJAX Request using reqwest [React Redux]