Skip to content

Instantly share code, notes, and snippets.

View meganabigaildavidson's full-sized avatar
🏠
Working remotely

Megan Davidson meganabigaildavidson

🏠
Working remotely
View GitHub Profile

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@meganabigaildavidson
meganabigaildavidson / brew-dnsmasq.md
Created February 21, 2025 09:18 — forked from davebarnwell/brew-dnsmasq.md
install dnsmasq with brew

Install dnsmasq and configure for *.dev.local domains

$ brew install dnsmasq
$ vim /usr/local/etc/dnsmasq.conf

Reload configuration and clear cache

# Copy the daemon configuration file into place.
$ sudo cp $(brew list dnsmasq | grep /homebrew.mxcl.dnsmasq.plist$) /Library/LaunchDaemons/

$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)

Keybase proof

I hereby claim:

  • I am meganabigaildavidson on github.
  • I am megandavidson (https://keybase.io/megandavidson) on keybase.
  • I have a public key ASDTyNnBSGIwwIHwTAGRTpt79u65SYxr-USHeqISLC-12go

To claim this, I am signing this object: