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
#!/bin/bash -e | |
#check for root | |
if [ "$EUID" -ne 0 ] | |
then | |
echo "Please run as root" | |
exit 1 | |
fi | |
#formatting and echoing |
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
import os | |
import json | |
import requests | |
def convert_to_msc2545_pack(data): | |
display_name = data["title"] | |
id = data["id"] | |
stickers = {} | |
shortcode = "" |
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
#!/bin/bash | |
filename="$1" | |
if [[ "$filename" == "" ]] | |
then | |
filename="scan" | |
fi | |
fin=False |
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
const parseRegex = /.*%0A.*%0A(https%3A%2F%2F(.*))/; | |
function iOS() { // We have to do this in JS because Apple sucks cock | |
return [ | |
'iPad Simulator', | |
'iPhone Simulator', | |
'iPod Simulator', | |
'iPad', | |
'iPhone', | |
'iPod' |