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
LIST_LENGTH = 3 | |
EXPORT_FILE_NAME = 'export.txt' | |
with open(EXPORT_FILE_NAME) as fout: | |
names = fout.readlines() | |
name_list = [] | |
for i in range(0, LIST_LENGTH): | |
name_list.append([]) |
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
#include <string> | |
#include <unordered_map> | |
#include <memory> | |
#include <iostream> | |
#include <conio.h> | |
class BaseScene; | |
class ApplicationSingleton | |
{ |
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
https://gyazo.com/b7569e40e2efd947328da03051ea05cc | |
This is a group photo of the battle where Vendetta was destroyed at Oijanen on April 17, 2017. | |
https://zkillboard.com/related/30000186/201704172000/ | |
- Members on the photo - | |
[-000-] xkamox | |
[-10.0] LEROYBARRELROLL | |
[-10.0] Perry Swift | |
[-10.0] Riffsajet | |
[-ASA-] Freyjia Aryana |
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
https://gyazo.com/c9800dce21734aadfff893c821922161 | |
This group photo arranged "Shadow Cartel" and "Did he say Jump" from "related" of zKillboard. | |
https://zkillboard.com/related/30002540/201704220000/ | |
- Members on the photo - | |
[SHDWC] thearrowofapollo | |
[JMP-N] Predator Elite | |
[SHDWC] Adam Fynch Orlenard | |
[SHDWC] Admrial Ferret | |
[SHDWC] AshenShugar01 |
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 requests | |
import json | |
import os | |
IMAGES_PATH = './images' | |
character_ids = [ | |
'', | |
] |
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 os | |
import shutil | |
for filename in os.listdir('import'): | |
output_name = ' '.join(filename.split('-')) | |
print(output_name) | |
shutil.copy('import/' + filename, 'export') |
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
MINECRAFT_PATH = 'C:\\works\\data\\Minecraft Server' | |
ANALYZER_MODS_DIRECTORY = 'analyzer_mods' | |
OVERLOADED_MODS_DIRECTORY = 'overloaded_mods' | |
LAUNCH_COMMAND = \ | |
'java -client -Xmx3G -Xms3G -XX:+UseParallelGC -XX:+UseParallelOldGC ' \ | |
'-jar forge-1.7.10-10.13.4.1614-1.7.10-universal.jar nogui' |
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 random | |
import yaml | |
class Config: | |
@classmethod | |
def register(cls, key): | |
return property( | |
lambda self: self.yaml[key], | |
lambda self, value: self.save(key, value), | |
) |
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
Base = sqlalchemy.ext.declarative.declarative_base() | |
class Information(Base): | |
__tablename__ = 'information' | |
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key=True) | |
lcid = sqlalchemy.Column(sqlalchemy.String) | |
name = sqlalchemy.Column(sqlalchemy.String) | |
class CategoryID(Base): | |
__tablename__ = 'categoryIDs' |