Skip to content

Instantly share code, notes, and snippets.

View BluCobalt's full-sized avatar

Luke BluCobalt

View GitHub Profile
@BluCobalt
BluCobalt / ksu_avbroot_ota.sh
Created April 2, 2024 05:06
automated kernelsu and avbroot
#!/usr/bin/env sh
PAYLOAD_DUMPER_LINK="https://github.com/ssut/payload-dumper-go/releases/download/1.2.2/payload-dumper-go_1.2.2_linux_386.tar.gz"
OTA_LINK="https://dl.google.com/dl/android/aosp/panther-ota-ap1a.240305.019.a1-4eb706b7.zip"
KERNELSU_LINK="https://github.com/tiann/KernelSU/releases/download/v0.9.2/AnyKernel3-android13-5.10.205_2024-03.zip"
MAGISKBOOT_LINK="https://github.com/topjohnwu/Magisk/releases/download/v27.0/Magisk-v27.0.apk"
AVBROOT_LINK="https://github.com/chenxiaolong/avbroot/releases/download/v3.1.1/avbroot-3.1.1-x86_64-unknown-linux-gnu.zip"
ARCH=x86_64
AVBROOT_INPUT_FILES_DIR="../avbroot-input"
# download files
@BluCobalt
BluCobalt / 1.8.9
Created March 30, 2021 05:33
1.8.9 command line dump
"C:\Program Files\AdoptOpenJDK\jdk-8.0.265.01-hotspot\bin\javaw.exe"
"-Dos.name=Windows 10"
-Dos.version=10.0
-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
-Djava.library.path=C:\Users\Lukes\AppData\Roaming\.minecraft\bin\da96-9f0a-082e-a2b1
-Dminecraft.launcher.brand=minecraft-launcher
-Dminecraft.launcher.version=2.2.2311
-Dminecraft.client.jar=C:\Users\Lukes\AppData\Roaming\.minecraft\versions\1.8.9\1.8.9.jar
-cp C:\Users\Lukes\AppData\Roaming\.minecraft\libraries\com\mojang\netty\1.6\netty-1.6.jar
C:\Users\Lukes\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar
#!/bin/bash
# http://elrepo.org/tiki/HomePage
# get the public key
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# get the repo
dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm -y
# install the kernel
dnf install --enablerepo=elrepo-kernel kernel-ml -y
@BluCobalt
BluCobalt / jbm.css
Created February 4, 2021 15:52
betterdiscord jetbrains mono
::-webkit-input-placeholder, body, button, input, select, textarea {
font-family: var(--font, "JetBrains Mono"), "Whitney";
}
package dev.blucobalt;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Locale;