Skip to content

Instantly share code, notes, and snippets.

noelle freshvolk

Block or report user

Report or block freshvolk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Haiku name generator

Original was in coffeescript, so I simply converted to JS to run in browser without dependencies.


  1. Open browser console
  2. Paste script above and hit enter
  3. Type haiku() to generate name
  4. Click Arrow up and then Enter to generate another one
View gist:7774637
# ~/.gitconfig from @boblet
# initially based on
excludesfile = /Users/oli/.gitignore
legacyheaders = false # >git 1.5
quotepath = false
pager = less -r
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX
function _git_branch_name
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
function _is_git_dirty
echo (git status -s --ignore-submodules=dirty ^/dev/null)
function fish_prompt
set_color yellow
You can’t perform that action at this time.