Skip to content

Instantly share code, notes, and snippets.

@arkfile
arkfile / setup-fedora-xlibre-luks.md
Created November 3, 2025 19:08
Fedora 42 XFCE Xlibre LUKS Setup

Setting Up Fedora 42 XFCE with LUKS Encryption and XLibre in VirtualBox

Download the Fedora 42 XFCE Spin ISO from the official Fedora Spins website and create a VirtualBox VM. I recommend creating one with 8GB RAM, 4 CPUs, and at least 40GB of disk space.

Important: If you have VirtualBox Extension Pack installed, uninstall it first as it may cause driver conflicts with XLibre.

Boot from the ISO and start the installer. When you reach the Installation Destination screen, select Custom/Manual partitioning.

Choose Standard Paritioning and check "Encrypt my data".

@AnthroHeader
AnthroHeader / Xbox360TitleIDs.json
Created February 4, 2022 04:04
Xbox 360 TitleIDs list
[
{ "TitleID": "545408B5", "Title": "NBA 2K15" },
{ "TitleID": "5752084D", "Title": "LEGO Jurassic World" },
{ "TitleID": "585509D5", "Title": "Flowrider" },
{ "TitleID": "41560870", "Title": "Jurassic - The Hunted" },
{ "TitleID": "5553083F", "Title": "Csi - Deadly Intent" },
{ "TitleID": "585508EB", "Title": "Ace Of Dynamites" },
{ "TitleID": "585509B6", "Title": "Oto" },
{ "TitleID": "58550A02", "Title": "Pingvinas" },
{ "TitleID": "58410909", "Title": "Blazing Birds" },
@littlelailo
littlelailo / blackbird.txt
Created August 21, 2020 11:41
Prove that I had blackbird :)
There is a bug in SEPROM, at least up to A10 (the one I reversed), in the trustzone bounds checks.
The trustzone is setup by the main AP in an early boot stage and because of that SEPROM has to verify that it's setup correctly before continuing to boot SEPOS.
Otherwise the AP could write to SEPOS RAM and with that it might be able to get code execution on the SEP.
The verification is done by first checking if the trustzone values are locked and then if they are correct.
Those values are stored in hardware registers that both processors share.
The registers are 32 bit tho and because of that apple decided to shift the address down by 12 bits before putting it into the registers.
This means that if you want to lock down 0x1000000 to 0x2000000 you will actually write 0x1000 and 0x2000 to the registers.
On the other side SEPROM loads these values from the hardware registers again.
But instead of just comparing them against some constant it shifts up all of those values by 12 bits again before doing any check on
# SPDX-License-Identifier: MIT
import sys
def decompress_osdsys(src, dst):
run = 0
src_offset = 0
dst_offset = 0
state_length = 0
state_block_desc = 0
@stek29
stek29 / idevicerestore.sh
Created January 12, 2019 12:22
idevicerestore on linux (Debian-based)
sudo apt update
# sudo apt upgrade
sudo apt install -y libcurl4-openssl-dev libplist-dev libzip-dev openssl libssl-dev libusb-1.0-0-dev libreadline-dev build-essential git make automake libtool pkg-config
git clone https://github.com/libimobiledevice/libirecovery
git clone https://github.com/libimobiledevice/idevicerestore
git clone https://github.com/libimobiledevice/usbmuxd
git clone https://github.com/libimobiledevice/libimobiledevice
git clone https://github.com/libimobiledevice/libusbmuxd
git clone https://github.com/libimobiledevice/libplist
@jcberthon
jcberthon / networkmanager-wifi-powersave.md
Last active December 8, 2025 23:39
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
@kuntau
kuntau / yify.md
Last active November 29, 2025 10:28
YIFY's Quality Encoding

For those that want to keep the YTS going (No, IDGAF about people that don't care for YTS quality) get HandbrakeCLI https://handbrake.fr/downloads... and use the following settings:

user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all

Reason to use CLI over GTK has to do with lack of support for advanced settings for Handbrake GTK

** Don't Re-encode already shitty encodes...get good source!**