Skip to content

Instantly share code, notes, and snippets.

View bcat's full-sized avatar

Jonathan Rascher bcat

View GitHub Profile
@lewisridden
lewisridden / Iris-Keyboard.kbd.json
Last active October 3, 2024 09:26
Iris Keyboard
[
{
"name": "Iris Keyboard",
"author": "Lewis Ridden"
},
[
{
"x": 3,
"c": "#c4c8c5",
"a": 5
@trenutoo
trenutoo / migrate-pterodactyl.md
Last active October 17, 2024 23:21
Pterodactyl panel and wings migration

Pterodactyl Migration

Migrating panel

  1. Backup your hidden .env file containing the decryption APP_KEY from /var/www/pterodactyl

  1. Export the database, in this case ours is named panel
@shauninman
shauninman / updating h700 device dtb.txt
Last active August 14, 2024 02:56
updating h700 device dtb
| HOST for me is macOS
| DOCKER for me a debian:bookworm-slim docker image with device-tree-compiler installed (among other things)
| these offsets and values are specific to the 40xxH
| /dev/rdisk4 was the (raw) SD mount point at time of testing
| double check DiskUtility.app and update path accordingly
| boot_package offsets from https://github.com/knulli-cfw/knulli.org/blob/main/docs/guides/h700-firmware-extract.md
HOST: extract the boot_package.img and dupe
sudo dd if=/dev/rdisk4 of=boot_package.img bs=1024 skip=16400 count=20464
@JohnnyonFlame
JohnnyonFlame / usb-audio.sh
Created September 15, 2024 15:10
Simple PipeWire AutoSwitcher
#!/bin/bash -x
# Simple PipeWire AutoSwitcher
# LICENSE: BSD-0
# Copyright (C) 2024 by JohnnyonFlame
# Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
# # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
# OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.