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 | |
import csv | |
import json | |
import requests | |
from os import path | |
from typing import Iterator | |
from enum import Enum | |
sys.stdin.reconfigure(encoding='utf-8') | |
sys.stdout.reconfigure(encoding='utf-8') |
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 | |
from lxml import etree | |
import sys | |
import copy | |
# enables utf-8 printing | |
sys.stdout.reconfigure(encoding='utf-8') | |
class CONSTANTS: | |
# Units to make able to transform into a fell dragon |
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 binascii | |
import struct | |
#this is the VersionNo described in | |
#https://github.com/projectpokemon/EventsGallery/blob/master/Released/Gen%209/Raid%20Events/002%20Charizard%20the%20Unrivaled/Json/raid_enemy_array.json | |
VersionNo = 20221125 | |
#< means little edian | |
#I unsigned int | |
hexValueForRaidIdentifier = struct.pack('<I', VersionNo) |
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
@echo off | |
::number times restarting sndcpy | |
set /A "FIXEDCOUNT=0" | |
set Token=MAIN_%RANDOM%_%CD% | |
::start sndcpy | |
pushd sndcpy-with-adb-windows-v1.1\ & start "%Token%_1" cmd /c sndcpy.bat & popd | |
::start scrcpy | |
start "%Token%_2" cmd /c scrcpy-win64-v1.24\scrcpy.exe --stay-awake --turn-screen-off |
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
1. Download latest apktool version. | |
2. Create a folder anywhere in the PC and put all the apktool.jar in the folder | |
3. Open command prompt. | |
4. Navigate to the folder where you placed apktool.jar | |
5. For decompiling use the command "d". The "d" stands for decompile. | |
apktool<version>.jar d name-of-the-app.apk | |
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 eyed3 | |
import os, shutil | |
import mutagen | |
from mutagen.mp4 import MP4 | |
from mutagen.id3 import APIC, ID3 | |
import re | |
eyed3.log.setLevel("ERROR") | |
print("Current working directory: {0}".format(os.getcwd())) | |
music_folder="to process" | |
to_output_to="output" |
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 -*- | |
import os | |
import io | |
import pypub | |
import re | |
import logging | |
import time | |
logger = logging.getLogger() |
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
tasklist /FI "IMAGENAME eq wfcrun32.exe" 2>NUL | find /I /N "wfcrun32.exe">NUL | |
if %ERRORLEVEL%==0 ( | |
echo Program is running, killed | |
FOR %%A in ( | |
"wfcrun32.exe" | |
"SelfServicePlugin.exe" | |
"concentr.exe" | |
"redirector.exe" | |
"AuthManSvr.exe" | |
"Receiver.exe" |
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 csv | |
OUTPUT_DIRECTORY="out" | |
FILELIST_CSV="filelist.csv" | |
def rename_bins(): | |
files=os.listdir(OUTPUT_DIRECTORY) | |
with open(FILELIST_CSV) as csvfile: | |
reader = csv.DictReader(csvfile) | |
dictFilenames={row["Index"]:(row["Filename"], row["Destination"]) for row in reader} |
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
for %%f in (*.dds) do ( | |
.\texconv.exe "%%f" -ft png | |
) | |
@pause |
NewerOlder