Finding an AWS EC2 AMI with the AWS PowerShell SDK

Problem Statement If you’ve ever launched an Amazon EC2 instance (aka. virtual machine), you’re probably familiar with the concept of an Amazon Machine Image (AMI). AMIs are simply virtual machine images that you can launch your EC2 instance with. Because anyone can publish a custom AMI, and because AWS has a massive marketplace of vendor-provided … Read more Finding an AWS EC2 AMI with the AWS PowerShell SDK

Frictionless User Experiences: Add a Command Palette to your React Application

Although I’m not a user interface designer professionally, I have some rather strong opinions about how user interfaces should be implemented. After all, I use a variety of different software on a daily basis, ranging from Google Chrome, Firefox, Gmail, Google Calendar, Asana, Spotify, and many others. In my mind, user interfaces should be as … Read more Frictionless User Experiences: Add a Command Palette to your React Application

Create AWS DynamoDB Tables with PowerShell

You can use the AWS PowerShell module to create DynamoDB tables. If you need help setting up the AWS PowerShell module, start by watching this video. There’s a helper function called New-DDBSchema, which creates a .NET TableSchema object. Start by assigning the output from this command to a variable; you can name the variable whatever … Read more Create AWS DynamoDB Tables with PowerShell

Finding Windows and Amazon Linux AMIs with PowerShell

Amazon Web Services (AWS) provides some built-in parameters in the AWS Systems Manager Parameter Store service, which expose pointers to the latest version of Amazon Machine Images (AMI) for Windows Server and Amazon Linux. These special parameters are called “public parameters” in the Parameter Store services; for more information, check out the official documentation. In … Read more Finding Windows and Amazon Linux AMIs with PowerShell

[Video] Improving Randomness in the Get-Random PowerShell Command

Although it may seem like the Get-Random command in PowerShell provides random data, it actually returns data that is more predictable than you think. If you’re looking to generate some truly “interesting” data for your project, then you’ll want a better approach. In this video, we’ll explore the limited randomness of the Get-Random command, using … Read more [Video] Improving Randomness in the Get-Random PowerShell Command

Build Docker Container for PowerShell on Raspberry Pi

If you want to run PowerShell applications on your Raspberry Pi, you can run them inside a Docker container. Keep in mind that you can’t use Docker images that were built for the Intel x86 platform, because the Raspberry Pi uses an ARM processor. You can build your own Docker container, with PowerShell Core edition … Read more Build Docker Container for PowerShell on Raspberry Pi

Delete Old Ubiquiti EdgeRouter Firmware

The directions to upgrade firmware on the Ubiquiti EdgeRouter X suggest that you can optionally delete the old firmware, before adding the new one. I elected to skip this step, in case I needed to roll back for some reason. However, after performing the firmware upgrade, and rebooting the device, I felt comfortable cleaning up … Read more Delete Old Ubiquiti EdgeRouter Firmware

Quick Solution for npm publish “Operation Not Permitted” Error

I recently set up Verdaccio, an open source npm private registry, as a Docker container. This is incredibly easy, using a couple of PowerShell commands: When I tried to publish a scoped npm package to this private registry, I received an ugly, generic-looking error message (see below). PS C:\git\node-diskscan> npm publish npm notice npm notice … Read more Quick Solution for npm publish “Operation Not Permitted” Error

Use Chrome Recovery Utility to Flash microSD cards

If you’re a developer using a ChromeOS device, such as a Google Chromebook (laptop) or Chromebox (desktop), you might periodically have need to flash microSD cards with Linux operating systems. For example, I wanted to use my Asus Chromebox 3 to flash a microSD card so that I could run the Raspbian Linux operating system … Read more Use Chrome Recovery Utility to Flash microSD cards