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
--- STEAMODDED HEADER | |
--- MOD_NAME: Balatro Tweak | |
--- MOD_ID: cbt | |
--- MOD_AUTHOR: [syrinka] | |
--- MOD_DESCRIPTION: Some tweaks | |
---------------------------------------------- | |
------------MOD CODE ------------------------- | |
local originalFuncRef = get_starting_params |
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
{ | |
"$comment": "there are multiple resources describing pyproject.toml. The canonical reference is at https://packaging.python.org/en/latest/specifications/declaring-project-metadata/, which refers to multiple proposals such as PEP 517, PEP 518 and PEP 621", | |
"$id": "https://json.schemastore.org/pyproject.json", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"additionalProperties": false, | |
"definitions": { | |
"projectAuthor": { | |
"type": "object", | |
"additionalProperties": false, | |
"anyOf": [ |
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 zhconv | |
import sys | |
import os | |
from pathlib import Path | |
src = Path(sys.argv[1]).absolute() | |
dst = Path(sys.argv[2]).absolute() | |
for cur, dirs, files in os.walk(src): | |
for file in files: |
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
; Select several images, then press F1 | |
; A folder with a random name in format "r:{8 random char}" will be created with these images moved in | |
#HotIf WinActive("ahk_exe Eagle.exe") | |
$F1::{ | |
sample := "1234567890qwertyuiopasdfghjklzxcvbnm" | |
name := "r:" | |
loop 8 { | |
rnd := random(1,36) | |
name := name substr(sample, rnd, 1) |
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 click | |
import struct | |
import json | |
from base64 import b64decode | |
from twofish import Twofish | |
iv = bytes.fromhex("A0 47 E9 3D 23 0A 4C 62 A7 44 B1 A4 EE 85 7F BA") | |