Skip to content

Instantly share code, notes, and snippets.

@stefanpenner
Created January 14, 2015 19:56
Show Gist options
  • Save stefanpenner/8c03bc7675f23a2cea1c to your computer and use it in GitHub Desktop.
Save stefanpenner/8c03bc7675f23a2cea1c 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