The steps below are specific to increase a VMDK disk in VirtualBox 6.1.40 for a CentOS 7 guest VM and on a MacOS host. The […]
Replacing Ring Floodlight Lights
I really like my Ring Floodlights but I am really bothered by their terrible design decision around their non-replaceable LED lights. My Floodlight’s LEDs started […]
tar example in nodejs
The snippet below will look inside directory /inputdir and archives the sub-directory called mydirectorywithfiles. The resulting tar file is written to /outdir/mytarfile.tar.gz.
Using OAuth2 token in GCP Storage API with nodejs
You can use short-lived OAuth2 tokens in many Google Cloud API calls, however you may run into some interesting limitations and quirks, more specifically in […]
Alternative to Wget and cURL
If you are working on a Linux device that does not have Wget and cURL, or a limited version of either commands, for instance Busybox, […]
Enabling TTL on MongoDB GridFS
Anything you store in MongoDB’s GridFS is stored in 2 collections. For instance if your files are loaded in a GridFS bucket called ‘images’ you […]
Generate Memory Usage on Linux
For testing some monitoring software on my Linux system I needed to use up most of the RAM using basic Linux commands. The following worked […]
Generate CPU Usage on Linux
In order to test some monitoring software on a Linux system I wanted to generate CPU Spikes to test some alarms and metrics. There are […]
Remove file on Full Disk
If one of your Linux volumes is 100% full you may end up having to deal with a scenario where you can’t even remove files […]
How to tail a log file in Windows
Tailing a log file in Linux is very easy with the tail command, for instance: However, Windows does not have a tail command. Luckily it […]