Overdue blog update… 10 years at Google and what’s next.

As I write this I realize the last post I made here was on April 30, 2023 which is over 2 years ago and being honest with myself I haven’t been the most active at keeping this site updated due to being busy with career/life and posting content elsewhere like Github.

As of July 2025 I now have some time to work on hobby things like this blog and self-improvement goals like obtaining the CISSP certification (Certified Information Systems Security Professional). Taking a break after 10 years at Google and looking forward to see what’s next on my career journey.

Cheapest domain transfers / registrations

The following aggregators are useful at finding the current best deals for new domain registrations and transfers:

  • https://www.domnest.com/
  • https://www.domcomp.com/
  • https://tld-list.com/

Finding cheapest offsite storage backup

Resources to find cheap storage servers

Recovering a bad eMMC flashed image on NanoPi R2C

FriendlyElec has poor instructions in their wiki and after much trial and error I finally was able to recover and reset the onboard eMMC storage on my Nanopi R2C Plus.

Backstory: I used FriendlyElec eFlasher tool to flash a raw .img file to the onboard eMMC 8GB storage of my NanoPi. This led to an onbootable system. I had to use UART serial to view the errors and debug.

You will need a UART serial connection and putty installed. This quick how-to guide is intended to be ‘cliff notes’ on what I did to get my device back in working order; you will have to teach yourself or search how to use some of these processes.

Steps

  1. Connect UART debug serial to the board.
  2. Use putty or terminal to verify that device is unable to boot due to onboard eMMC image.
  3. Prepare a microSD card for recovery (it will wipe all your data). Download rk3328-sd-friendlywrt-5.15-20220125.img and use balenaEtcher to prep the MicroSD.
  4. Make sure the board is disconnected from power but you have the UART connected and putty running. Now short the “MASK” positive and negative connectors in the board with some cables; I used the GPIO connector nearby as short-circuit source since simply joining both MASK connectors together wasn’t doing anything.
  5. While you are shorting the MASK and the board is powered off, then turn on board. It should short-circuit at boot and skip using eMMC for boot and use the SD card instead.
  6. Once the image is booted, use SSH to connect to the OS and wipe out the
/dev/mmcblk2

How to: Samsung Odyssey G9 firmware update

After a few hours of struggling to get my Samsung G9 monitor to “find update files” in order to flash a newer firmware I decided to make a post listing everything that you need to do ‘end-to-end’ to get a new firmware flashed on this device.

Continue reading

Wireguard VPN on OpenVZ VPS

There are a few tutorials out there for setting this up and while some worked, I found this one deep in a chinese github and its my preference for this kind of setup:

curl -fsSL git.io/wireguard-go.sh | sudo bash

ZFS remove and re-add same disk (use different disk labels)

To remove and re-add devices in a zpool, you will need to offline the disk, detach the disk, wipe the gpt partition then re-add it to pool as a new disk. This will re-silver the pool.

sgdisk -Z /dev/disk/by-id/ata-WDC_WD100EMAZ-

Steps.

  1. zpool offline gdata wwn-0x5000cca273cf31b3
  2. zpool detach …
  3. sgdisk -Z …
  4. zpool attach gdata (disk-still-in-mirror-here) (new-disk /dev/disk/by-id/ata-WDC_WD100EMAZ)

Netboot.xyz

Tiny bootable .iso that downloads liveCD images for multiple OS like Debian.

Windows Uninstaller tool

Came across Revo Uninstaller which seems to be very useful tool to make sure that all files and registry keys are actually removed from windows when you uninstall a program.

https://www.revouninstaller.com/revo-uninstaller-free-download/

ZFS on Proxmox thin-provisoned VMs disks

I’ve been a huge fan of promox since version 1.0 – they later implemented native support of my favorite filesystem ZFS and if you are an early adopter like me your proxmox /etc/pve/storage.cfg file may not have some settings like sparse that the new installations configure by default.

Checking if ZFS VM disk is thin-provisoned

Use the following command to see the zfs properties we care about:

zfs get volblocksize,volsize,refreservation,used  gdata/pve/base-152-disk-0

Expected output


NAME                       PROPERTY        VALUE      SOURCE
gdata/pve/base-152-disk-0  volblocksize    8K         default
gdata/pve/base-152-disk-0  volsize         64G        local
gdata/pve/base-152-disk-0  refreservation  none       local
gdata/pve/base-152-disk-0  used            7.31G      -

The property refreservation=none tells us this disk is thin-provisioned. Meaning ZFS won’t guarantee and account for the VM ‘max disk size’ in the zpool usage metrics. This may be helpful if you want to overprovision a VM disk to say 1TB but rarely use that much and you don’t want zpool list to claim you have 1TB phantom disk usage.

What does a non thin-provisioned ZFS VM disk look like?

The volsize=64G and refreservation=64G would be set on the example above.