Skip to content

Instantly share code, notes, and snippets.

View dotspencer's full-sized avatar

Spencer Smith dotspencer

View GitHub Profile
@dotspencer
dotspencer / eg4-wallmount-batteries-compared.md
Last active April 15, 2025 02:31
EG4 WallMount vs RUiXU Lithi2-16
@dotspencer
dotspencer / eg4-hybrid-inverters.md
Last active April 15, 2025 02:33
EG4 18kPV vs 12kPV vs FlexBOSS21 vs FlexBOSS18 - Specs Comparison
@dotspencer
dotspencer / js-module-formats.md
Last active April 5, 2025 14:17
JavaScript module formats -- CJS, AMD, UMD, ESM, and IIFE

🟤 CJS (CommonJS)

  • Used by: Node.js
  • Syntax: require() / module.exports
  • Example:
    const fs = require('fs');
    module.exports = someFunction;

@dotspencer
dotspencer / FS140-vs-EMP-shield.md
Last active January 24, 2024 19:46
Siemens FS140 compared to EMP Shield SP-120-240-W
Siemens - FS140 EMP Shield - SP-120-240-W
Surge Capacity 140 kA 114 kA
Response Time <1 ns <1 ns
MCOV (L-N, L-G, N-G) 150 V 150 V
MCOV (L-L) 300 V 300 V
VPR (L-N, L-G, N-G) 600 V 470 V
VPR (L-L) 900 V 940 V
Wire Gauge 10 AWG 12 AWG
Warranty 10 years 10 years
@dotspencer
dotspencer / phrasal-verbs.txt
Created January 8, 2024 07:21
List of "Phrasal Verbs" in Alphabetical Order
Account For
Ache For
Act On
Act Out
Act Up
Add On
Add Up
Add Up To
Aim At
Allow For
[
"acrobat",
"africa",
"alaska",
"albert",
"albino",
"album",
"alcohol",
"alex",
"alpha",
@dotspencer
dotspencer / sol-ark-vs-eg4-hybrid.md
Last active April 14, 2025 17:11
Sol-Ark 12k vs. Sol-Ark 15k vs. EG4 18kPV specs

Sol-Ark 12k | Sol-Ark 15k | EG4 18kPV

Sol-Ark 12K ([specs][12k])

Sol-Ark 15k ([specs][15k])

EG4 18kPV ([specs][18kpv])

Specification Sol-Ark 12k Sol-Ark 15k EG4 18kPV
@dotspencer
dotspencer / fix-sd-card.md
Last active March 15, 2023 23:17
Fix (reclaim) space on SD card on MacOS

List all your internal and external storage devices

diskutil list

Erase and format the disk (add disk # from above). Be careful to verify the correct disk (size and name).

sudo diskutil eraseDisk FAT32 SDCARD MBRFormat /dev/disk#
@dotspencer
dotspencer / tips.md
Created August 22, 2022 06:14
Raspberry PI tips

Node.js install

I usually use nvm to manage node.js versions for projects, but there are not official binaries for the ARM V6 chip in a Raspberry Pi Zero for node versions 12 and higher. The source is still available, and so if you try nvm install 14.17.4 nvm will attempt to compile from source, which on a Raspberry Pi zero will take a long, long, long time (and probably fail).

Fortunately node.js provides "unofficial builds" of newer node versions for ARM v6 at unofficial-builds.nodejs.org.

You can use these binaries with nvm by providing a url to use instead of the default node.js binaries url:

nodejs 14

@dotspencer
dotspencer / notes.md
Created August 8, 2022 00:05
Google Wifi with Verizon 5G home internet