Josh Duncan

Python Type Hints and Fancy Banners

While leaning about Python Type Hints, I wrote a nifty little function to display cool banners and help remind me about the concepts of type hinting.

Generating an RSS Feed using Flask and Flask-FlatPages

Need to generate a valid RSS feed for your Flask website? Using Flask-FlatPages? Well, it's really quite simple.

Generating a Sitemap with Flask and Flask-FlatPages

If you're using Flask-FlatPages, it's really simple to generate a sitemap that plays nice with search engines and helps your website get noticed.

ANSI Terminal Colors

Ping-pong'ing from project to project as I often do (a.k.a. failure to focus 🤦‍♂️), I end up writing a fun little Bash script to display a bunch of ANSI terminal colors for future reference.

Unpacking Tuples in a For Loop

Have you ever noticed as you learn more and more of a programming language, you often forgo the basics for a more complex solution? Well, today I was reminded of the KISS principle when I needed to unpack a bunch of tuples.