Building a website with docker is absolutely an enjoyable experience. With prebuilt images we are allowed to focus more on wiring and configuring different components instead of taking time to setup environment for each one of them. And with several configuration files, we are able to reproduce the same process from scratch as many timesContinue reading “Build a Website with WordPress, Let’s-Encrypt and Docker”
Category Archives: Tech
Character Encoding Made Simple
Computers are smart enough to read bytes, but human beings aren’t. What we are able to read are characters, so we use encoding standards like ASCII and Unicode to map characters to bytes. An ASCII character can fit to a byte (8 bits), but most Unicode characters cannot. So encoding forms/schemes like UTF-8 and UTF-16Continue reading “Character Encoding Made Simple”
HC12 Microcontroller: Timer and PWM
Timer Main (free-running) timer is a 16-bit register TCNT. It increases every clock period, and when it overflows (from 0xFFFF to 0x0000) it will set the overflow flag register TFLG2. Any access (read or write) to TCNT will reset the TFLG2 if fast flag clear all bit of system control register TSCR1 is set. TwoContinue reading “HC12 Microcontroller: Timer and PWM”