I hereby claim:
- I am jgillmanjr on github.
- I am jgillmanjr (https://keybase.io/jgillmanjr) on keybase.
- I have a public key ASBPrEboq_LrUmj_fQq0qchobmj5DqcwbgIKJDOjyTpf1wo
To claim this, I am signing this object:
from pathlib import Path | |
import json | |
save_path = Path('D:/SteamLibrary/steamapps/common/Midinous/user/save') # Change to the appropriate directory | |
pointfile = 'nouspoint.nous' | |
pathfile = 'nouspath.nous' | |
perffile = 'performance.nous' | |
convert_dirs = [x for x in save_path.glob('*') if x.is_dir()] |
class ConnectionLibrary: | |
""" | |
A library to hold various connection objects for use by threads | |
""" | |
class LibraryConnection(TypedDict): | |
conn_obj: Any | |
available: bool | |
def __init__(self, conn_constructor: Callable, conn_params_dict: dict, connection_count: int): | |
""" |
ಠ_ಠ | |
( ͡° ͜ʖ ͡°) | |
¯\_(ツ)_/¯ | |
(╯°□°)╯︵ ┻━┻ | |
http://www.fileformat.info/convert/text/upside-down.htm | |
WRTTN http://wrttn.me/30dbfd/ | |
Unicode Emoticons |
ffmpeg -i $args[0] -filter_complex "[0:a] showspectrum=s=1920x1080:slide=scroll:mode=combined:color=fruit:legend=disabled [v]" -map "[v]" -map 0:a -movflags faststart -c:v libx264 -b:v 10M -r 60 -c:a aac -b:a 512k $args[1] |
#!/bin/bash | |
date | |
ffmpeg -i "$1" -filter_complex "[0:a] showspectrum=s=1920x1080:slide=scroll:mode=combined:color=fruit:legend=disabled [v]" -map "[v]" -map 0:a -movflags faststart -c:v libx264 -b:v 10M -r 60 -c:a aac -b:a 512k "$2" | |
date |
# Parse the various parser pl files - because fuck manually working that shit if avoidable | |
# This is also making some horridly bad one-off assumptions. Not reusable *at all* | |
raw_parsers_pl = requests.get('https://raw.githubusercontent.com/jgillmanjr/parseCifp/master/parsers.pl').text.splitlines() | |
# Regexy shit | |
ntr_key_check_re = re.compile('\'([A-Z]*)\'') | |
sec_key_xit_re = re.compile('\}') | |
xit_key_check_re = re.compile('.*,') | |
has_sq_re = re.compile('\'') | |
parser_data_re = re.compile('.*([a-zA-Z]+:[0-9]+)') |
I hereby claim:
To claim this, I am signing this object:
import sys | |
import os | |
project_name = 'your_project' | |
project_path = '/your/path/here' # Or however you want to build it | |
project_settings_module = project_name + '.settings' | |
sys.path.append(project_path) | |
os.environ.setdefault('DJANGO_SETTINGS_MODULE', project_settings_module) |