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

01/05/2025

Docker: Shell and Copy

Access shell in container and copy files

12/21/2024

7 VS Code Shortcuts

To impress your Usenet group

12/02/2024

This Blog's Stack

Astro, Tailwind & GitHub Pages

11/14/2024

Git: Undo Last Commit

git reset HEAD~

10/27/2024

Double Ternary

i.e., JavaScript The Bad Parts

10/09/2024

Ignoring Foreign Keys

Disabling foreign key checks in MySQL

09/20/2024

Clearing Ports

Using lsof & kill to clear a port

09/07/2024

Concurrently

Running A frontend and backend with Concurrently

08/15/2024

Auto-Fix On Save

ESLint Auto-Fix On Save

08/01/2024

AWS S3

How to setup AWS S3

05/01/2024

Underscore Separators

Underscores in numbers in JavaScript & Ruby

04/14/2024

Vue Currency Component

A component for entering dollar and cents values

03/26/2024

arr.some(Boolean)

Quick way to test a bunch of booleans in JavaScript

03/14/2024

Quick Git Notes

Amending, Squashing & Diffing Cheatsheet