Use Letsencrypt to Generate Wildcard SSL on Raspberry Pi 3

Install ACME Client There are many ACME client tools out there to choose. I used certbot because it is offically recommended in Letsencrypt site. You simply follow instructions on certbot site to grab appropriate package for your target machine. To be able to issue wildcard ssl, we need to use

Read More

ES2017 - Features

In this article, I simply try to summarize new features of es2017. Major new features: Async & Await Shared memory and atomics Minor new features: Object.values and Object.entries String padding Object.getOwnPropertyDescriptors() Trailing Commas in Function Parameter Lists Async & Await The async function declaration defines an asynchronous

Read More

ES2016 - Features

Array.prototype.includes Before es2016, we have to use indexOf() to check if a value is contained in an array. Now we have includes which is similar to indexOf() but more convenience in some case. Let check it out. The Array method includes has the following signature: Array.prototype.includes(

Read More

Memory Management in JavaScript

Memory life cycle When executing assignment statement in JavaScript, JavaScript engine will allocate memory to store new given values. for example: const students = ['John', 'David', 'Susan']; When running the above code, the JS Runtime will allocate a block of memory to store array ['John', 'David', 'Susan']. and then we can

Read More

Access Your Home Server Without Static IP

How your server can be seen from outside Your computer at home need to connect to network of ISP before your computer can access other computers on the internet. Your ISP will assign an unique address to identify where your computer is. ex: 31.13.95.36. With this ip

Read More