Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| @commands.guild_only() | |
| # Command cannot be used in private messages. | |
| @commands.dm_only() | |
| # Command can only be used in private messages. | |
| @commands.is_owner() | |
| # Command can only be used by the bot owner. | |
| @commands.is_nsfw() |
| # https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c | |
| [metadata] | |
| name = {name} | |
| version = file: {name}/_version.txt | |
| author = Martin Larralde | |
| author_email = [email protected] | |
| url = https://github.com/althonos/{name} | |
| description = {description} | |
| long_description = file: README.md |
| <?php | |
| /* | |
| I wrote this function to progressively obfuscate text in MAKEbook.io. When it KINDA worked, I just used it. | |
| It can take a lot of improvement. I kinda just tweaked the values until it was good enough. It's not SO progressive though. | |
| It takes all the output of your PHP scripts via ob_start(), reroutes that to the obfuscation function. | |
| You should check if user paid for book or not, then either run ob_start or not! | |
| import aiohttp | |
| def request_tracer(results_collector): | |
| """ | |
| Provides request tracing to aiohttp client sessions. | |
| :param results_collector: a dict to which the tracing results will be added. | |
| :return: an aiohttp.TraceConfig object. | |
| :example: |
| Online kms host address: | |
| -------- | |
| kms.digiboy.ir | |
| 54.223.212.31 | |
| kms.cnlic.com | |
| kms.chinancce.com | |
| kms.ddns.net | |
| franklv.ddns.net | |
| k.zpale.com | |
| m.zpale.com |
| import struct | |
| import socket | |
| import base64 | |
| import json | |
| import sys | |
| class Server: | |
| def __init__(self, data): | |
| self.description = data.get('description') |
| from __future__ import print_function, division | |
| import numpy as np | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| # Keras modules | |
| from tensorflow.keras.layers import Input, Dense, Reshape, Flatten, Dropout, BatchNormalization, Activation, ZeroPadding2D, LeakyReLU, UpSampling2D, Conv2D | |
| from tensorflow.keras.models import Sequential, Model | |
| from tensorflow.keras.optimizers import Adam |
| # Imports | |
| from scapy.all import * | |
| from pprint import pprint | |
| import operator | |
| # Parameters | |
| interface = "eth0" # Interface you want to use | |
| dns_source = "local-ip" # IP of that interface | |
| dns_destination = ["ip1","ip2","ip3"] # List of DNS Server IPs |
Following this guide: https://wiki.mobileread.com/wiki/Kindle4NTHacking#SSH.
Using Kindle 4.1 and macOS 10.14.
data.tar.gz, ENABLE_DIAGS, and diagnostic_logs to the Kindle folder.