Chuan JinConnect Django to PostgreSQL in DockerDjango uses SQLite database by default, now we want to switch it to postgreSQL. Firstly, we fetch postgreSQL docker image and start an…May 23, 2020May 23, 2020
Chuan JinLet’s deploy nowPreviously, we have Setup the blog using Hexo and deploy it to Github page . Additionally, we can deploy it to Vercel(formerly zeit). We…May 13, 2020May 13, 2020
Chuan JinBring fortune to your Linux terminal with cowsay figlet lolcatWe will cover a few interesting commands today, they are figlet, toilet, lolcat, fortune, cowsay, shuf. To learn a new command, I believe…May 8, 2020May 8, 2020
Chuan JinLearn AWK by examplesPractice makes perfect. Good code and examples are usually self-explanatory.May 7, 2020May 7, 2020
Chuan JinAlternatives of man in Linux command lineWhen we need help in Linux command line, man is usually the first friend we check for more information. But it became my second line…May 1, 2020May 1, 2020
Chuan JinTransfer file over TCP/UDPThis is a small lab I have done to see how easy to use python to transfer file over TCP and UDP. File formats including plain text, MS…Apr 28, 2020Apr 28, 2020
Chuan Jinsecure MQTTWe have covered the MQTT Basics and MQTT with websockets support, now we talk about security.Apr 28, 2020Apr 28, 2020
Chuan JinCapture Network PacketTcpdump is a very useful tool to capture network packets. e.g. to capture TCP packet from interface lo0 via port 9999Mar 4, 2017Mar 4, 2017
Chuan JinAQII’v been experimenting to fetch data related to AQI in China recently.Nov 10, 2016Nov 10, 2016