MSmaz solieinsolie.ml·Nov 12, 2020 · 1 min readSend HTML mail with Gmail APIAgain, TLDR; to send a HTML formatted text via gmail API, what you need is just a simple 'html' word to the MIMEText(). Here is the sample from the google developer site itself: import base64 from email.mime.text import MIMEText ..... def create_mess...00
MSmaz solieinsolie.ml·Sep 22, 2020 · 1 min readGunicorn, Inlets, WhitenoiseOk, tldr; I need to test gunicorn vs manage.py runserver in my local development. Normally gunicorn will not handle the static files serving, since it's nginx or other web server thing. But, in case of inlets, I don't want to setup a web server just ...01D
MSmaz solieinsolie.ml·Aug 18, 2020 · 2 min readInlets Reverse Proxy with Caddy2If you read my past article, maybe you didn't notice if I use version 1 of caddy. While it's okay and running fine, I found that caddy 1 actually will be ended at October 2020, so migrate to caddy 2 is urged. The problem, caddy 2 is not backward comp...00
MSmaz solieinsolie.ml·Aug 15, 2020 · 4 min readAnother DIY Ngrok Using Inlets and ApacheNgrok is one of the most popular tunneling tool to make your local server accessible world wide. Back in the days, I used to use it when it's the time to show my work to remote client. It's still a prototype, not even an MVP, so setting up a public d...00