>Why is she in a washing machine?
>No anon, YOU are in the washing machine
(Not actual output)
#!/usr/bin/env python3 | |
import json | |
import os | |
import pyrogram | |
import sys | |
from collections import OrderedDict | |
def make_bot(session, persistent_path): | |
app = pyrogram.Client(session) |
from PIL import Image, ImageDraw | |
DEFAULT_NESW = (292, 246, 177, 472) | |
OFFSETS_NESW = ((1, 0), (19, 1), (2, 19), (0, 2)) | |
class common(object): | |
def __init__(self, fmid = 0): | |
self.fmid = fmid |
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
pybluez = "*" | |
pillow = "*" | |
packbits = "*" |
#!/usr/bin/env python3 | |
# CSR OTAU binary parser | |
# https://developer.qualcomm.com/qfile/34081/csr102x_otau_overview.pdf | |
# For use with test and demonstration only. This is obviously not official and | |
# is not affiliated with Qualcomm. | |
import io | |
import os | |
import sys |
#!/bin/bash | |
if [[ $# -lt 1 ]]; then | |
echo "Usage ${0} <doi> ..." | |
exit 1 | |
fi | |
for doi in "${@}"; do | |
ref="$(curl -sSf -H 'Accept: application/x-bibtex' -L "http://dx.doi.org/${doi}")" && { \ | |
head -n1 <<< "${ref}" | egrep -q '^@[a-zA-Z]+' | |
if [[ $? != 0 ]]; then |
#!/bin/sh | |
__opkgx_append_to_list() { | |
local _listfile="${1}" | |
shift | |
cp "${_listfile}" "${_listfile}.bak" | |
for pkg in "$@"; do | |
echo "${pkg}" >> "${_listfile}" | |
done | |
diff -u "${_listfile}.bak" "${_listfile}" |
#!/usr/bin/env python3 | |
# Credits to: | |
# - Eleccelerator and PS4 Developer Wiki for the HID report format used in | |
# authentication procedure. | |
# - Author of jedi_crypto.py who provides detailed information on the basic | |
# building blocks used by the authentication scheme (and the Jedi CA | |
# certificate). | |
# | |
# This tool is for education and demonstration purpose only. Use it at your own | |
# risk. |
#!/usr/bin/env python3 | |
import sys | |
import struct | |
if __name__ == '__main__': | |
if len(sys.argv) < 2: | |
print('Usage:', sys.argv[0], '<fux2packedrgss3a>') | |
sys.exit(1) | |
hdr = struct.Struct('<8sI') |
#!/usr/bin/env python | |
# Requires Python >= 3.2 or >= 2.7 | |
# This file is part of Luma3DS | |
# Copyright (C) 2016 Aurora Wright, TuxSH | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |