This file contains 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 -wKU | |
# encoding: UTF-8 | |
class Flip | |
# sɹǝɔuɐʃɐqpɐoʃ ƃuıʞɔnɟノ(ಠ 益ಠ ノ) -> (ノಠ益ಠ)ノ彡fucking loadbalancers | |
# add arg support for flipping, reverse flipping, copying to clipboard, text, table, face style | |
TABLE = { | |
"a" => "\220\311", "b" => "q", "c" => "\224\311", "d" => "p", "e" => "\235\307", "f" => "\237\311", "g" => "\203\306", "h" => "\245\311", "i" => "\261\304", | |
"j" => "\276\311", "k" => "\236\312", "l" => "\203\312", "m" => "\257\311", "n" => "u", "r" => "\271\311", "t" => "\207\312", "v" => "\214\312", "w" => "\215\312", | |
"y" => "\216\312", "." => "\231\313", "[" => "]", "(" => ")", "{" => "}", "?" => "\277\302", "!" => "\241\302", "\"" => ",", "<" => ">", "_" => "\276\200\302", |