Skip to content

Instantly share code, notes, and snippets.

View tildejustin's full-sized avatar

tildejustin

View GitHub Profile
@tildejustin
tildejustin / fontfix.css
Created August 9, 2022 03:59
obsidian-things font sizing fix snippet
body {
--font-adaptive-normal: var(--font-text-size) !important;
}
html {
font-size: !important;
}
body {
--preview-font-size: !important;
@tildejustin
tildejustin / wbterm.py
Last active February 12, 2025 00:03
Worldbopper but it doesn't make a log file every time
# originally by Specnr
# edited to use terminal output
# parallelization stolen from jojoe
import glob
from concurrent import futures
import os
import shutil
INST_FOLDER = r"C:\Users\justi\AppData\Roaming\PrismLauncher\instances"
@tildejustin
tildejustin / sisterseeds.py
Last active February 21, 2023 04:00
generates all sister seeds of an inputted seed and stores them in "<seed>_sisters.txt"
# Copyright (c) 2023 tildejustin
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
@tildejustin
tildejustin / sisterseedremover.py
Last active April 21, 2023 13:32
Removes sister seeds from a given list and writes to "<filename>_filtered_sisters.txt" in the script's directory
# Copyright (c) 2023 tildejustin
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
# Copyright (c) 2023 tildejustin
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
#SingleInstance, force
#IfWinActive Minecraft ; stolen from sophie
; perspective
j::F5
F5::return
; hotkeys
m::1
,::2
import os
import time
from typing import TextIO
class Element:
containing_class: str
signature: str
official_name: str
intermediary_name: str
@tildejustin
tildejustin / brightness.sh
Last active November 17, 2023 13:02
note to self: in /usr/local/bin
#!/bin/bash
curr_brightness=$(cat /sys/class/backlight/intel_backlight/brightness)
curr_brightness=$(($curr_brightness))
max_brightness="$(cat /sys/class/backlight/intel_backlight/max_brightness)"
max_brightness=$(($max_brightness))
brightness=0
# -10%: decrease by a percentage, not going below 0
# +10%: increase by a percentage, not going above $max_brightness
# 10%: set to an absolute percentage between 0 and $max_brightness
# 10: set to an absoulte brightness not exceeding #max_brightness
Subject: [PATCH] personal changes
---
Index: config.def.h
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/config.def.h b/config.def.h
--- a/config.def.h (revision a34d8fb4327bbb1afd92e7527c53fcaad547a495)
+++ b/config.def.h (date 1700268761282)
{
"schemaVersion": 5,
"mods": [
{
"modid": "sodium",
"name": "Sodium",
"description": "Sodium is a free and open-source optimization mod for Minecraft which improves frame rates and reduces lag spikes.",
"versions": [
{
"target_version": [