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
#include "VersionDetect.h" | |
#include <Windows.h> | |
std::map<uint32_t, std::string> VersionDetect::s_buildMap = | |
{ | |
{ 1419173053, "1.900" }, | |
{ 1419880840, "1.910" }, | |
{ 1421745341, "1.920" }, | |
{ 1440638199, "2.000" }, | |
{ 1440643927, "2.001" }, |
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 urllib.request, json | |
import urllib.parse | |
def send_request(url: str, **kw): | |
opener = urllib.request.build_opener() | |
opener.addheaders = [(header, value) | |
for header, value in opener.addheaders | |
if header.casefold() != 'user-agent'] | |
with opener.open("http://www.boomlings.com/database/" + url, data=bytes(urllib.parse.urlencode(kw), 'utf-8')) as response: |
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 | |
TOKEN="xxxxxxxxxxxxxxxxxxx" | |
ZONE_ID=2222222222222222222222222 | |
# [email protected] | |
# KEY=11111111111111111111111111 | |
# Replace with | |
# -H "X-Auth-Email: ${EMAIL}" \ | |
# -H "X-Auth-Key: ${KEY}" \ |