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
View README.md

Haiku name generator

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

Usage

  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 http://rails.wincent.com/wiki/Git_quickstart
[core]
excludesfile = /Users/oli/.gitignore
legacyheaders = false # >git 1.5
quotepath = false
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines
pager = less -r
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX
View fish_prompt.fish
function _git_branch_name
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
end
function _is_git_dirty
echo (git status -s --ignore-submodules=dirty ^/dev/null)
end
function fish_prompt
set_color yellow
You can’t perform that action at this time.