Skip to content

Instantly share code, notes, and snippets.

@PandorasFox
Created February 27, 2019 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PandorasFox/628fc8dfbdcb48254c98a59f25b11be4 to your computer and use it in GitHub Desktop.
Save PandorasFox/628fc8dfbdcb48254c98a59f25b11be4 to your computer and use it in GitHub Desktop.
#!/bin/sh
./trans.py | xclip -selection clipboard
xclip -selection clipboard -o | ./read_stdin.py
# 0x1f3f3
# 0xfe0f
# 0x200d
# 0x26a7
# 0xfe0f
#!/bin/env python3
a = input("")
for i in a:
print(hex(ord(i)))
#!/bin/env python3
emoji_style = "\uFE0F"
zwj = "\u200D"
flag = "\U0001F3F3"
flag_emoji = flag + emoji_style
trans = "\u26A7"
trans_emoji = trans + emoji_style
trans_flag_emoji = flag_emoji + zwj + trans_emoji
print(trans_flag_emoji)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment