Skip to content

Instantly share code, notes, and snippets.

@CodeBradley
CodeBradley / omv7-cm3588-zfs.md
Last active May 26, 2025 18:51
How to Setup Open Media Vault (OMV) 7 on FriendlyElec CM3588 Nas Kit with ZFS

How to Setup Open Media Vault (OMV) 7 on FriendlyElec CM3588 Nas Kit with ZFS

The FriendlyElec (NanoPC) CM3588 is a RK3588 based solution with 4/8/16GB LPDDR4x memory and 0/64GB eMMC flash storage. The inital carrier board released with the CM3588 features 4x M.2 NVMe SSD slots (PCIe 3.0 x1 each) and a 2.5gbps RJ45 port, making it an attractive option for a low powered silent NAS at $130/$145/$174 depending on which RAM configuration you purchase.

I ordered this in response to the LTT video. I have seen a few people struggling to configure these, and figured I would offer some basic guides in order to get those who need some assistance on getting their NAS up and going.

I will be using the precompiled Debian 12 installer found [here.](https://drive.google.com/drive/folders/1FoBbP_nPkMehwBj4wH

@dfkaye
dfkaye / getting-properties-on-prototypes-and-builtins.md
Last active February 7, 2023 02:16
Getting enumerable and non-enumerable properties on prototypes and built-ins in ES5

Getting enumerable and non-enumerable properties on prototypes and built-ins

TIL that I've been doing it all wrong with respect to object API reflection. I had not taken into account that some properties are defined as non-enumerable by default, such as those on the prototype of native or built-in APIs.

For example, when you want to verify that the String.prototype contains a certain method, the for..in loop and Object.keys() method do not work. Use Object.getOwnPropertyNames() instead.

Here's a quick tour of Object.keys(), the for...in loop, and Object.getOwnPropertyNames()

Object.keys()method