Upload an Image to Azure Storage with Static Web Apps

One of the great advantages to Azure Static Web Apps should be the ability to easily integrate with other Azure services. I’ve been working on a sample blog project a la the old Ruby on Rails tutorial, and I wanted to add the ability to upload an image to a blog. Now, there are two ways to go about this. You can do it from the client, or you can do it from the server....

How to use 'Dark Mode' in VS Code

After my post on how to auto-switch your theme based on the time of day, a few readers pointed out that VS Code “does this automatically”. In other words, you don’t need the extension that I recommended to do this. I had no idea! Is this true? Kind of… While VS Code doesn’t have built-in ability to change your theme based on the time of day, it does have the ability to change your theme based on whether or not you are using “Dark Mode” in your Operating System....

Google trends shows Python interest surging

While looking at Google Trends the other day for “visual studio code”, I noticed that one of the rising trends was “visual studio code format json”. Today, it’s gone, but still in the top related queries along with “how to format code”. This got me curious as to what it is that people search for the most along with “visual studio code” or “vs code” in the last 12 months....

How to switch themes in VS Code based on the time of day

It’s a good idea to switch between dark and light mode depending on what time of day it is. During the day when your body is more awake, it might make more sense to use a light theme where reading comprehension is better. At night, your eyes become more tired and bright screen light can be harder on your tired eyes. Visual Studio Code doesn’t do this out-of-the-box, but just like Steve Jobs once said, “There’s an extension for that”....

Beginner's series to Dev Containers free video course

"Knowledge isn't free. You have to pay attention." — Richard Feynman Ok, but all “play on words” aside, knowledge is free. That’s the key contribution of the internet, isn’t it? That all knowledge is now essentially free? And this is kind of a recent development. It used to cost quite a bit to learn the skills that will make you successful. I mean, there is still a 700 billion dollar industry built on selling you knowledge....

Using Azure Logic Apps to auto-print sales orders

No / Low Code tools (NoLow - I just coined that) have been the holy grail of software since I got into programming. I remain optimistic, but skeptical in regards to the idea that some day anyone will be able to build apps. Optimistic because we really need to get humans out of the business of writing code wherever we can. Less code means less bugs. Skeptical because in the 15 years I’ve been a developer, I’ve watched so many of these tools come and go....

How to configure a root domain in an Azure Static Web App

This article is now obsolete. Please use the official Custom Domain supportin Azure Static Web Apps....

Professional quality audio with the Blue Yeti, GarageBand and Screenflow

One of the best things you can do to improve the quality of your screencasts, is improve the quality of your audio. I’m assuming that unless your name is “Dr. Dre”, you probably do not have a professional sound studio in your basement full of high-end equipment and expensive software. And if you’re like me, you don’t even have a basement. What I do have is a Blue Yeti microphone, GarageBand and a copy of Screenflow that I can barely afford....

Trimming expenses on The Urlist with Azure Cosmos DB Free Tier

Summary: We migrated theurlist.com to the new Cosmos DB Free Tier and shaved ~35$ per month off of our Azure bill. Cosmos DB Free Tier gives you 400 RU/s for free every month. This should be more than enough for most small projects. Get Azure Cosmos DB Free Tier theurlist.com is a project that I wrote with my colleague Cecil Phillip last year. We wanted to see if we could build a site on Azure that was two things…...

Cosmos CRUD

Cosmos DB JavaScript SDK is clean - I like it. But I feel like I always end up forgetting how to CRUD. For the uninitiated in database street-slang, CRUD means Create, Read, Update And Delete. Feel free to use that if you find yourself in a turf war or dance-off. Well, I take that back. I can “read” everything purty gud. Actually, I can “create” as well. It’s the retrieving of one item that always throw me off....