This file contains 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 sys | |
class ConfigFormat(object): | |
@staticmethod | |
def mobspawn(**kwargs): | |
print(""" S:"{mobname}.spawnamount.0" < | |
I | |
{key} | |
0 | |
{key_amount} |
This file contains 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
#!/usr/bin/python2.7 | |
# coding=utf-8 | |
""" | |
Ok, Google, your decision about removing WL from the API sucks! | |
""" | |
import ujson as json | |
import os | |
from tornado.httpclient import AsyncHTTPClient, HTTPClient, HTTPError, HTTPRequest | |
from tornado.ioloop import IOLoop | |
import selenium |
This file contains 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
# coding=utf-8 | |
""" | |
https://leetcode.com/problems/sliding-puzzle/ | |
Metaprogramming sub-millisecond solution beating 100% in performance. | |
""" | |
import itertools | |
from tqdm import tqdm | |
import pickle | |