JavaScript alternative to range() function to iterate over array items

JavaScript doesn’t have a built-in range() function. This can be useful to perform an iteration a certain number of times. As an alternative to this, you can use a JavaScript array. If you don’t care about the actual values from range(), and just want to iterate “x” number of times, you can do so by … Read moreJavaScript alternative to range() function to iterate over array items

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 Elmer’s Spray Adhesive for 3D Printing

I’ve been using my Creality CR-10 3D printer to build some models. One of the challenges you’ll encounter, if you’re new to 3D printing, is getting your 3D print to adhere to the bed of your printer. If your print job doesn’t adhere to the bed, then it is subject to warping, or worse, total … Read moreUse Elmer’s Spray Adhesive for 3D Printing

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

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 functionality, by way of a … Read moreOpen Terminal Sessions on EC2 Instances in your Web Browser

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 equivalent functionality). This headset works … Read moreMotorcycle vlogging via Bluetooth / Android