maz solie's

HomeBadges

Subscribe to my newsletter and never miss my upcoming articles

Send HTML mail with Gmail API

Nov 12, 20201 min read

Again, 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...

Gunicorn, Inlets, Whitenoise

Sep 22, 20201 min read

Ok, 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 ...

Inlets Reverse Proxy with Caddy2

Aug 18, 20202 min read

If 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...

Another DIY Ngrok Using Inlets and Apache

Aug 15, 20204 min read

Ngrok 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...

© 2021 maz solie's

PrivacyTerms
Proudly part of