Skip to content

Instantly share code, notes, and snippets.

View thakyZ's full-sized avatar
👬
This emoji was one to show up when searching soup 👍

Neko Boi Nick thakyZ

👬
This emoji was one to show up when searching soup 👍
View GitHub Profile
@thakyZ
thakyZ / README.md
Last active April 26, 2024 14:56
VSCode (CSpell) YAML Schema
@thakyZ
thakyZ / pyproject.json
Last active March 18, 2024 18:00 — forked from zevisert/pyproject.json
pyproject.toml json-schema including poetry definitions
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"poetry-authors": {
"type": "array",
"description": "List of authors that contributed to the package. This is typically the main maintainers, not the full list.",
"items": {
"type": "string",
"pattern": "(?:\\S+?\\s)+?(?:<(?:[a-z\\d!#$%&'*+\/=?^_`{|}~-]+(?:\\.[a-z\\d!#$%&'*+\/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z\\d](?:[a-z\\d-]*[a-z\\d])?\\.)+[a-z\\d](?:[a-z\\d-]*[a-z\\d])?|\\[(?:(?:25[0-5]|2[0-4][\\d]|[01]?[\\d][\\d]?)\\.){3}(?:25[0-5]|2[0-4][\\d]|[01]?[\\d][\\d]?|[a-z\\d-]*[a-z\\d]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])>)?"
}
@thakyZ
thakyZ / crash-2023-08-11_16.28.35-client.txt
Created August 11, 2023 21:45
Null Pointer Exception when attacking an entity that is an instance of `IEntityOwnable`
---- Minecraft Crash Report ----
WARNING: coremods are present:
Born in a Barn (Born In A Barn 1.8-1.12-1.2.jar)
SSLoadingPlugin (SereneSeasons-1.12.2-1.2.18-universal.jar)
ParticleCullingLoadingPlugin (particleculling-1.12.2-v1.4.1.jar)
ForgelinPlugin (Forgelin-1.8.4.jar)
Aqua Acrobatics Transformer (AquaAcrobatics-1.15.3.jar)
Quark Plugin (Quark-r1.6-179.jar)
FutureMC (future-mc-0.2.11.jar)
@thakyZ
thakyZ / de.sidneys.userscripts.save-as.js
Last active July 9, 2023 19:14 — forked from sidneys/de.sidneys.userscripts.save-as.js
Userscript | Download File As
// ==UserScript==
// @name Save-As Userscript Library
// @namespace de.sidneys.userscripts
// @homepage https://gist.github.com/thakyZ/b25049e7a49d95dbda9141fc4ca39190/raw/
// @version 3.0.1
// @description "Save As..." for any URL
// @author sidneys
// @icon https://www.greasespot.net/favicon.ico
// @include *://*/*
// @grant unsafeWindow
@thakyZ
thakyZ / Aseprite-Fix.reg
Created March 30, 2023 15:52
Windows Aseprite Registry Fix Full
Windows Registry Editor Version 5.00
; File Extensions
[HKEY_CLASSES_ROOT\.ase]
@="AsepriteFile"
[HKEY_CLASSES_ROOT\.aseprite]
@="AsepriteFile"
@thakyZ
thakyZ / update-plugins.ps1
Created July 7, 2022 17:19
Update PowerCord Plugins via a PowerShell 7 script file.
param()
$PrevWD = "${PWD}";
Set-Location "${PSScriptRoot}\src\Powercord\plugins";
$Git = (Get-Command -Name "git")
if ($null -eq $Git) {
Write-Error -Message "[ERR] Git not found on path. Exiting..."
Set-Location "${PrevWD}";
@thakyZ
thakyZ / Rebuild-BinFolder.ps1
Created June 23, 2022 15:46
An old tool to rebuild the bin folder directories (very buggy)
param(
[Parameter(Position=0,Mandatory=$false,HelpMessage="Enable output to console.")]
[switch]
$Output,
[Parameter(Position=1,Mandatory=$false,HelpMessage="Do current user only.")]
[switch]
$CurrentUser
)
$Root = "%APROG_DIR%\"
@thakyZ
thakyZ / download.sh
Created April 4, 2022 22:13
Downloads all files in a web directory when web directory uses h5ai
#!/bin/bash
path=$1
download="https://files.example.com/${path}/"
mapfile -t files < <(w3m "${download}" | grep .z | sed 's/file [[:space:]]*//g' | sed 's/[[:space:]]*2022.*KB$//g' | grep -v "Name")
mkdir "${path}"
@thakyZ
thakyZ / help.md
Created March 16, 2022 19:07
A tutorial on Windows DISM

DISM command with CheckHealth option

The CheckHealth option with the DISM tool allows you to determine any corruptions inside the local Windows 10 image. However, the option does not perform any repairs.

To check the Windows 10 image for issues with DISM, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to perform a quick check and press Enter:
@thakyZ
thakyZ / gist:1a49b94e93fbd76b91a6c9ca69edce3d
Created October 5, 2021 00:06
Woot Bloodmagic Crash 1.16.5
---- Minecraft Crash Report ----
// There are four lights!
Time: 10/4/21 4:17 PM
Description: Ticking block entity
java.lang.NoSuchMethodError: wayoftime.bloodmagic.ritual.IMasterRitualStone.getBlockPos()Lnet/minecraft/util/math/BlockPos;
at ipsis.woot.compat.bloodmagic.RitualInfernalMachine.performRitual(RitualInfernalMachine.java:53) ~[woot:1.16.5-1.0.8.0] {re:classloading}
at wayoftime.bloodmagic.tile.TileMasterRitualStone.performRitual(TileMasterRitualStone.java:260) ~[bloodmagic:1.16.4-3.1.3-18] {re:classloading}
at wayoftime.bloodmagic.tile.TileMasterRitualStone.onUpdate(TileMasterRitualStone.java:98) ~[bloodmagic:1.16.4-3.1.3-18] {re:classloading}