markmcdermott.io (js, ruby, ...etc) by mark mcdermott

Double Ternary

10/27/2024

i.e., JavaScript The Bad Parts

Ignoring Foreign Keys

10/09/2024

Disabling foreign key checks in MySQL

Clearing Ports

09/20/2024

Using lsof & kill to clear a port

Concurrently

09/07/2024

Running A frontend and backend with Concurrently

Auto-Fix On Save

08/15/2024

ESLint Auto-Fix On Save

AWS S3

08/01/2024

How to setup AWS S3

Underscore Separators

05/01/2024

Underscores in numbers in JavaScript & Ruby

Vue Currency Component

04/14/2024

A component for entering dollar and cents values

arr.some(Boolean)

03/26/2024

Quick way to test a bunch of booleans in JavaScript

Quick Git Notes

03/14/2024

Amending, Squashing & Diffing Cheatsheet