Skip to content

Instantly share code, notes, and snippets.

@nakajima
Created January 24, 2012 00:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakajima/1666989 to your computer and use it in GitHub Desktop.
Save nakajima/1666989 to your computer and use it in GitHub Desktop.
¯\_(ツ)_/¯
#!/usr/bin/env ruby
flips = [
'(╯°□°)╯︵ ┻━┻',
'(ノಥ益ಥ)ノ ┻━┻',
'┬──┬ ¯\_(ツ)',
'┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻',
'┻━┻ ︵ ¯\(ツ)/¯ ︵ ┻━┻',
'┬─┬ノ( º _ ºノ)',
'(ノಠ益ಠ)ノ彡┻━┻'
]
puts "Here are the flip tables:"
puts
flips.each_with_index do |flip, i|
puts "#{i+1}: #{flip}"
end
puts
print "Which do you want: "
flip = flips[$stdin.gets.chomp.to_i-1]
`echo '#{flip}' | tr -d "\n" | pbcopy`
puts "OK, copied '#{flip}' to clipboard"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment