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 moreCreate 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 moreFinding 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 moreBuild 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 moreDelete 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 moreQuick 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 moreUse Chrome Recovery Utility to Flash microSD cards

Record a Screencast on a Google Chromebook

If you’re a content creator, you might need the ability to record your screen and microphone as you narrate what you’re doing. On Windows or MacOS, I typically use TechSmith Camtasia for this purpose. However, Camtasia isn’t available on Chromebook at the moment. At first, I was concerned that I might not be able to … Read moreRecord a Screencast on a Google Chromebook

Live Reloading for Developing Electron Apps

While you’re developing an Electron-based application, it’s nice to be able to make changes without having to manually stop and restart your application. To aid in that, someone created an NPM package named electron-reload, which integrates easily with your application, requiring minimal changes, and giving you live-reload functionality. Simply install the package as a development-only … Read moreLive Reloading for Developing Electron Apps