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 / status.php
Last active January 31, 2021 20:30 — forked from dkesberg/status.php
A short server info page, showing server status and player info
<?php
/**
* @author Daniel Kesberg <kesberg@gmail.com>
* @copyright (c) 2013, Daniel Kesberg
*/
error_reporting(E_ALL);
ini_set('display_errors', false);
$parseTimeStart = microtime(1);
@thakyZ
thakyZ / run.ps1
Last active March 6, 2021 03:43
Command to rewrite the emails on all of your repos
$user_name = "example"
$old_email = "examplez@example.com"
$new_email = "000000+example@users.noreply.github.com"
$api = "https://api.github.com/users/$($user_name)/repos"
$j = Invoke-WebRequest $api | ConvertFrom-Json
$j | Select-Object -Property ssh_url | ForEach-Object {
git clone $_.ssh_url
@thakyZ
thakyZ / gist:5c794771b9b69409b80fb53309cb47d4
Created May 5, 2021 20:44
Immersive Engineering Server Crash.
---- Minecraft Crash Report ----
// Oh - I know what I did wrong!
Time: 5/5/21 8:29 PM
Description: Ticking entity
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_282] {}
at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_282] {}
at blusunrize.immersiveengineering.common.util.SpawnInterdictionHandler.onEnderTeleport(SpawnInterdictionHandler.java:48) ~[immersiveengineering:?] {re:classloading}
@thakyZ
thakyZ / gist:cec169cd3f4eef714765858339330a1e
Created May 19, 2021 12:58
MC Eternal AncientSpellcraft by Dan error
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 2021-05-19 05:49:20 PDT
Description: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Duplicate key 87
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.minecraft.util.Util.runTask(Util.java:531)
@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}
@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 / 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 / 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 / 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 / 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"