Skip to content

Instantly share code, notes, and snippets.

View tristan-k's full-sized avatar

ʞ-uɐʇsıɹʇ tristan-k

View GitHub Profile
@qnblackcat
qnblackcat / README.md
Last active September 4, 2025 01:34
Downloading older versions of iOS apps using ipatool

Downloading older versions of iOS apps using ipatool

👉 ipatool is an open-source tool developed by Majd, a highly trustworthy and talented developer in the iOS community. Recently, ipatool got a significant update that allows users to easily download older versions of iOS apps on macOS/Windows/Linux!.

👉 Since ipatool doesn't have a graphical user interface (GUI), some of you might think it's tricky to use. But trust me, it's not! Here's a simple guide if you're still a bit scared of the terminal. (Tbh, everything in this *guide can be found on ipatool's repo)

👉 Note: You need to log into your Apple ID via ipatool for the tool to work. Unless you prioritize security above all, you can trust logging into your Apple account with ipatool. As explained earlier, it’s an open-source tool developed by a well-known and reliable developer, minimizing security risks to the lowest level.

@GroDoggo
GroDoggo / install.sh
Created May 30, 2025 15:19
Install ROCM in WSL 2.0 (Ubuntu-22.04) for AMD Radeon RX 7800 XT
# Ubuntu 22.04
# wsl --install Ubuntu-22.04
# rocm 6.3 is not compatible with 7800
# rocm 6.4 appears to be compatible with 7800
# official documentation (https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/wsl/install-radeon.html) use rocm 6.3, this note explains how to perform the same installation but with rocm 6.4 (or any other version) for 7800 compatibility
# basic ubuntu prep
sudo apt update
sudo apt upgrade
@ivanfioravanti
ivanfioravanti / mlx_memory.sh
Created January 4, 2025 16:42
Script to set MLX memory limits
#!/usr/bin/env bash
# Default values for percentages
DEFAULT_WIRED_LIMIT_PERCENT=85
DEFAULT_WIRED_LWM_PERCENT=75
# Read input parameters or use default values
WIRED_LIMIT_PERCENT=${1:-$DEFAULT_WIRED_LIMIT_PERCENT}
WIRED_LWM_PERCENT=${2:-$DEFAULT_WIRED_LWM_PERCENT}

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.
Please note that unless you see a shebang (#!/...) these code blocks are meant to be copy & pasted.
Some of the steps will not work if you run part of them in a script and copy paste other ones.

Table of contents

Backup Cluster configuration - /etc/pve

TL;DR Backup cluster-wide configuration virtual filesystem in a safe manner, plan for disaster recovery for the case of corrupt database. A situation more common than anticipated.


ORIGINAL POST Backup Cluster configuration - /etc/pve

1) Close Parallels completely
2) In Terminal, type : sudo nano /Library/Preferences/Parallels/network.desktop.xml (this will open the Terminal text editor "nano")
3) Type your admin password to access the file
4) Locate this line <usekextless>-1</usekextless> it could be also value 1 and replace whatever value there with 0, so you should have <usekextless>0</usekextless>
5) Press Ctrl+O to ask for a save, then Ctrl+X to close the editor
In Terminal, type : sudo nano /Library/Preferences/Parallels/dispatcher.desktop.xml
find <usb>0</usb> and change 0 to 1
again Press Ctrl+O to ask for a save, then Ctrl+X to close the editor
6) Close Terminal and open Parallels like normal, your VM should load like on Catalina and before
@lucasmz-dev
lucasmz-dev / fedora_android-tools-udev-rules.md
Last active August 21, 2025 02:24
Installing android-tools in Fedora

How to properly install android-tools in Fedora

Currently, it seems as if Fedora doesn't install udev-rules, to get this working, I've had to manually install them from a community project. I'm not very knowledgable in Linux, these are just the steps I had to do to get things working that I'd like to document.

Install android-tools

Install android-tools from DNF.

sudo dnf install android-tools
@Artefact2
Artefact2 / README.md
Last active September 5, 2025 03:22
GGUF quantizations overview
@supechicken
supechicken / root_mi_box_s_2nd_gen.md
Last active September 4, 2025 08:14
A tutorial for rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Table of contents

  • Prerequisites
  • Step 1: Download the stock ROM for Xiaomi TV Box S 2nd Gen
  • Step 2: Extract boot image from the OTA archive
  • Step 3: Update the system with downloaded OTA archive
  • Step 4: Patch boot image with Magisk
  • Step 5: Unlock bootloader with fastboot
  • Step 6: Reboot to system and complete setup
@Al-Azif
Al-Azif / README.md
Last active February 9, 2025 06:23
Docker Exploit Redirect (PS4 & PS5)

Docker Exploit Redirect (PS4 & PS5)

  1. Install Docker Desktop
  2. Change the REDIRECT_IPV4 address to your computer's IP
  3. Change the ROOT_DOMAIN and ROOT_DOMAIN_PATH to where you want to redirect to (Change redirect type if necessary)
  4. With Docker running run docker compose up -d from cmd in the directory with this file
  • This will install and start the Docker images
  1. On your PS4/PS5 use your computer's IP for the primary DNS server. You can skip secondary or use the same IP again if you wish.
  2. Profit