Skip to content

Instantly share code, notes, and snippets.

@cha5on
cha5on / save_the_wordle.md
Last active February 1, 2022 07:03
Save the Wordle

How to save and play Wordle offline

Today, Wordle was bought by the New York Times.

I'm happy for the creator! I'm also worried about NYTimes screwing it up, paywalling it, etc.

Fortunately, Wordle is a pretty self-contained game, and has a daily puzzle until 2026![^1] To archive a copy of Wordle for offline play:

  1. File -> Save Page As...
  2. Select "Web Page, Complete" from the dropdown, and save where you like
@cha5on
cha5on / gateway-mac-watcher.bash
Created January 30, 2013 05:02
For checking if gateway MAC address has changed
#!/bin/bash
LAST_GATEWAY_MAC_FILE="/sensible/place/for/this/file"
GATEWAY_IP="$(ip ro |grep default | cut -d ' ' -f 3)"
GATEWAY_MAC="$(arp-scan -q $GATEWAY_IP | grep $GATEWAY_IP | cut -f 2)"
YOUR_EMAIL="example@example.com"
function mail_gateway_violation {
oldmac="$1"
newmac="$2"