-
-
Save stefanpenner/8c03bc7675f23a2cea1c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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