mark notes: this blog post was created with the help of an AI assistant.
[Read More]
Getting Generic ESP32 Boards Working on Windows with the CP2102 Driver
the board shows up, windows has no idea what it is, and you have to go hunting.
mark note: this blog was created with the help of an AI assistant.
[Read More]
Generating Random RGB Colors in PowerShell
more complex and interesting that I initially thought
Windows Terminal is one of the best things Microsoft has shipped in years. Tabs, profiles, custom colors, pane splitting, GPU-accelerated text rendering.
[Read More]
Disable PSReadLine Predictions During Demos
When you dont want people to see your shell history
I love me some PSReadLine. It’s honestly one of those things that once you have it you cant imagine life without. The inline prediction feature in particular is great - it reads your command history and ghost-texts suggestions as you type. Feels like magic.
[Read More]
How Much Time Have I Actually Spent on This Thing?
If I ever become a consultant and need to define billable hours...
EDIT/DISCLAIMER: Do not actually use this to track billable hours. This is just a rough estimate and could lead to some potential “fraud” issues.
[Read More]
I "developed" a C# .NET8 desktop app in 25 minutes
Human + agent collaboration ftw! What a time to be alive
Earlier today, my coworker walked into the office and mentioned something about needing to install Python. My brain immediately latched on.
[Read More]
Getting USB Devices Working in WSL2
When you need that FTDI adapter to show up in Linux
I’ve been running into this issue more and more lately – I’m developing on Windows, but I need to flash firmware or talk to hardware inside WSL2. By default, WSL2 can’t see any USB devices connected to Windows, which is… problematic when you’re trying to work with FTDI adapters, ESP32s,...
[Read More]
Parse PowerShell Errors Without IDE/Linter
But of course PowerShell has a built-in error parser.
I’ve heard about AST in the PowerShell context before, particularly during this episode of PowerShell Podcast: Holiday Special with Andrew Pla and Gilbert Sanchez: PSScriptAnalyzer, AST, and PowerShell Gifts: PS Podcast E150
[Read More]
mpremote example: run code from device memory, install missing module
demo example how to run code on device memory and install missing module if needed; great for rapid prototyping
this is a mpremote demo/example: how to run code on device memory and install missing module if needed; great for rapid prototyping
[Read More]
Using Splunk and Armis index to get an inventory list
Could be useful for inventory checks.
[Read More]