I have good news: there is no cure. You just wake up another day and fight it. Day after day until that’s who you become: a fighter.
What the Hell Did I Just Read
Shell String Split
Having some trouble with this operation, found that you can use string replacement syntax to also split a string to array:
NPM_VER=$(npm -v) # 6.12.1
NPM_VER=(${NPM_VER//./ }) # Split on '.' as delimiter
echo "${NPM_VER[0]}" # 6
echo "${NPM_VER[1]}" # 12
echo "${NPM_VER[2]}" # 1
Boilerplate with Maki Module
TL;DR: Make flexible and consistent folder-based modular templates to harden your project’s pattern with Maki Module :)
In programming there is boilerplate:
sections of code that have to be included in many places with little or no alteration.
Wikipedia
Since most things being made follow a pattern of things made before them, boilerplate gives a project consistency and sets the expectations of what you may find in other files, functions, classes, etc.
Continue reading “Boilerplate with Maki Module”Boundaries
Biology enables, culture forbids.
Yuval Noah Harari, Sapiens
Tesla Referral Code
You can use my referral link to buy a new Tesla vehicle and receive 1,000 free Supercharger miles: https://ts.la/bradley82882
BRADLEY82882
Gatorade
- 1 part absinthe
- 2 parts light rum
- 2 parts pineapple juice
- 1 part orange liquor

Shell commands with Node
Running CLI Node scripts, capture the return value of a shell command:
const execSync = require('child_process').execSync;
const nodeVer = execSync('node -v', { encoding: 'utf8' });
Shell command reports in the CLI:
const execSync = require('child_process').execSync;
execSync('npm -g ls', { stdio: 'inherit' });
Package Panic
Here are a couple good resources for deciding which NPM packages to use in a project:
Continue reading “Package Panic”Green Dog
- 4 parts Gewurztraminer
- 2 parts Scotch
- 1 part Jagermeister
White Whale
Upon returning to the office from lunch…
Architect: Hey-oh!
Ninjaneer: What’s up, Captain A-hole!
Architect: …
Continue reading “White Whale”