Skip to content

Instantly share code, notes, and snippets.

@ryanbriones
Created January 27, 2011 20:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanbriones/799139 to your computer and use it in GitHub Desktop.
Save ryanbriones/799139 to your computer and use it in GitHub Desktop.
Campfire emoji fortune cookie or conversation starter
emoji = %w(
+1 -1 bulb
calling clap cop
email feet fish
fist gift hammer
heart leaves lipstick
lock mag mega
memo moneybag new
ok pencil punch
runner scissors smoking
sparkles star sunny
tm v vs
warning wheelchair zap
zzz
)
random = ""
5.times do
random << ":#{emoji[rand(emoji.size)]}: "
end
`printf "#{random.chomp}" | pbcopy`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment