Skip to content

Instantly share code, notes, and snippets.

View JedBeom's full-sized avatar

JedBeom JedBeom

View GitHub Profile
\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;255;255;255;48;2;248;248;246m▀\x1b[38;2;255;255;255;48;2;236;233;230m▀\x1b[38;2;255;255;255;48;2;222;215;215m▀\x1b[38;2;255;255;255;48;2;213;200;200m▀\x1b[38;2;255;255;255;48;2;211;204;202m▀\x1b[38;2;255;255;255;48;2;211;207;203m▀\x1b[38;2;255;255;255;48;2;213;208;207m▀\x1b[38;2;255;255;255;48;2;237;230;235m▀\x1b[38;2;255;255;255;48;2;246;242;243m▀\x1b[38;2;255;255;255;48;2;255;254;254m▀\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[m
\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;252;254;255;48;2;254;254;255m▀\x1b[38;2;254;255;255;48;2;254;255;255m▀\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;255;255;255;48;2;245;241;241m▀\x1b[38;2;240;235;233;48;2;177;157;164m▀\x1b[38;2;176;151;151;48;2;239;237;234m▀\x1b[38;2;192;172;175;48;2;255;255;255m▀\x1b[38;2;215;203;206;48;2;255;255;255m▀\x1b[38;2;194;178;182;48;2;255;255;255
@scragly
scragly / discord_emoji.md
Last active September 3, 2023 10:07
Emoji for Discord Bots

Discord Emoji

Note: This is written for those using Python 3 and discord.py, so if you're using something else please reference the relevant documentation for your language or library if you choose to use this as a general reference.

On Discord, there are two different emoji types:

Each needs to be handled differently, as while unicode emoji are just simple unicode characters, Discord custom emoji are special objects available only in Discord, belonging to a specific Discord guild and having their own snowflake ID.

@jhazelwo
jhazelwo / iptables.sh
Last active March 5, 2024 02:52
iptables rules to only allow VPN traffic AND let user SSH to VPN server itself.
#!/bin/sh
# by: "John Hazelwood" <jhazelwo@users.noreply.github.com>
#
# iptables rules to only allow VPN traffic AND let user SSH to VPN server itself.
# Use this on a CentOS/RedHat server you have set up to be a NAT firewall for your network.
# This will force ALL Internet traffic to go over the VPN
# and will BLOCK ALL Internet TRAFFIC if VPN is not running!
#
# use `service iptables save` to save the rules to /etc/sysconfig/iptables
# made