Skip to content

Instantly share code, notes, and snippets.

@burke
Created March 18, 2014 00:26
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burke/9611276 to your computer and use it in GitHub Desktop.
Save burke/9611276 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# coding: utf-8
abort "Usage: fuck you <name>" unless ARGV[0] == "you" && ARGV.size == 2
a = "abcdefghijklmnopqrstuvqxyz".each_char.to_a
b = "ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz".each_char.to_a
ws = Hash[a.zip(b)]
ws.default = ->(f){f}
puts "\n (╯°□°)╯︵ #{ARGV[1].reverse.each_char.map{|f|ws[f]}.join}\n\n"
system("killall -9 #{ARGV[1]}")
exit $?.exitstatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment