Progress Spinners Using Python Generators and Context Managers
Making neat little progress spinners that let you know things are working in your cli apps is quite simple using Python generators and context manager.
Making neat little progress spinners that let you know things are working in your cli apps is quite simple using Python generators and context manager.
I recently found myself needing to sort a list by cardinal directions. Here's a super simple solution to do custom sorting in Python.
Building a search results page? Thinking about highlighting the search terms so they standout? Here's how I did it using vanilla JavaScript.
I decided to switch my to-do list to Things 3 and needed to move a lot of to-dos over from Todoist. Seemed like a great project to explore their API and save myself a bunch of copying and pasting.
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.
Need to generate a valid RSS feed for your Flask website? Using Flask-FlatPages? Well, it's really quite simple.
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.
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.