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 …

Continue reading

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 …

Continue reading

Open Terminal Sessions on EC2 Instances in your Web Browser

Amazon Web Services (AWS) just recently announced support for running terminal sessions on your Amazon EC2 instances directly inside of your web browser. This feature works with both Bash on Linux and PowerShell sessions on EC2 instances running Windows Server. AWS Systems Manager is the service that introduced this new …

Continue reading

Motorcycle vlogging via Bluetooth / Android

Overview If you’re a motorcycle rider, like me, you might be interested in recording audio and video during your rides. Recording your ride can offer both entertainment and security. I bought a Bilt Techno 2.0 Evolution modular helmet from Cyclegear, which also included an integrated Sena DWO-5 headset (Sena SMH-5 …

Continue reading

Initialize a Byte Array in PowerShell

Sometimes you’ll need to initialize a new buffer as an array of bytes. For example, if you want to generate random data using the NextBytes() method on the System.Random class,  you need to pass in a byte array buffer for the method to write to. Creating a byte array in …

Continue reading

Keep AWS PowerShell Module Updated on Mac OS

Are you on Mac OS and need to keep your AWS PowerShell module up-to-date? As you’ve probably noticed, there are frequently new versions of the AWS PowerShell module being released, to keep pace with new services and service features being added to Amazon Web Services (AWS) cloud. Updating PowerShell modules …

Continue reading

PowerShell Intellisense: ScriptBlock Handler Parameters

I keep forgetting the names of the parameters that are passed into the ScriptBlock handlers for PowerShell Intellisense (aka. tab-completion / auto-completion). Hence, I’m posting the list of parameters here, along with a simple example. $commandName – the name of the PowerShell command that Intellisense was invoked for. $parameterName – …

Continue reading

Restore Default PowerShell Gallery Repository

If you’ve accidentally deleted the PowerShell Gallery (PSGallery) repository from your system, you can restore it using the following command. Register-PSRepository -Default In fact, if you try to re-register the PowerShell Gallery using the same method that you’d register a custom repository (see below) … $Repository = @{ Name = …

Continue reading