Find files of a particular type in a web search


Works on the googs, and duckduckgo, use the option filetype:<type> in the search box to filter results to only that file type.

Useful when you need documents for testing, and don't particularly care about the content, but you do care about the format.


filetype:doc beagle

View Git Stash Contents Without Applying to Codebase


Use git stash list to view all stashes

Use git stash show with options to view a stash without applying it to the codebase.

# see a "git diff" of what's in the first stash 
git stash show -p stash@{0}

And, a shell script to view these. Save this into a file, chmod +x the file, and run in the terminal.

readonly STASH="$1"
if [[ "xx${STASH}" != "xx" ]]; then
    git stash show -p stash@{${STASH}}
    git stash list

Local Mail Server During Development


Sometimes, you need to send email during software development, and you need to be able to receive the email, even if the addresses are fake (say, to and what have you.

The node package, fake-smtp-server is a handy tool for providing a server to receive the mail, and an interface for viewing the email that was sent.

Install globally on a system with:

npm install -g fake-smtp-server

Start it up:


If you want to have it on port 25 as most mail servers expect, run as root:

sudo fake-smtp-server -s 25

View the emails received (by default) at


You can change that port, too:

sudo fake-smtp-server -h 8888

A few other configurations, and an API. Great little tool.

  fake-smtp-server [OPTIONS] [ARGS]
  -s, --smtp-port [NUMBER] SMTP port to listen on (Default is 1025)
      --smtp-ip [IP]       IP Address to bind SMTP service to (Default is
  -h, --http-port [NUMBER] HTTP port to listen on (Default is 1080)
      --http-ip [IP]       IP Address to bind HTTP service to (Default is
  -w, --whitelist STRING   Only accept e-mails from these adresses. Accepts
                           multiple e-mails comma-separated
  -m, --max [NUMBER]       Max number of e-mails to keep (Default is 100)
  -a, --auth STRING        Enable Authentication
      --headers            Enable headers in responses
  -k, --no-color           Omit color from output
      --debug              Show debug information

The Big Sleep

Book Notes

Foxglove Summer

Book Notes

Roll of Thunder, Hear My Cry

Book Notes