Skip to content

Instantly share code, notes, and snippets.

@luu123
luu123 / ios-downgrade-dualboot.md
Created August 4, 2024 06:59 — forked from LukeZGD/ios-downgrade-dualboot.md
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2024-06-22

@luu123
luu123 / iPhone Mirroring.md
Created June 26, 2024 16:23 — forked from Kyle-Ye/iPhone Mirroring.md
Launch iPhone Mirroring.app on macOS 15 Beta 1
@luu123
luu123 / arch_linux_installation_guide.md
Created June 2, 2024 07:17 — forked from mjkstra/arch_linux_installation_guide.md
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
Install libimobiledevice on Mac OS X
So you'd like to manage your iOS devices by command line?
You can use libimobiledevice tools for that.
Easy on Linux. Let's see how it is on Mac OS X.
You'll need to:
1. install Xcode
2. start Xcode and agree to it's license
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab)
4. install homebrew by this command (sudo password will be prompted)
@luu123
luu123 / Resign iOS App
Created December 21, 2023 15:33 — forked from WDUK/Resign iOS App
How to re-sign an iOS Application
Here's what you do!
1. Terminal: Unzip the ipa (it's just a zip file after all)
unzip -q App.ipa
1a, You will need to have the entitlements file, this information is needed during signing.
codesign -d --entitlements :- "Payload/App.app"
2. Terminal: This will produce a `Payload/` directory. Remove the existing code signature.
rm -rf Payload/App.app/_CodeSignature

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
 Possibly missing firmware for module: wd719x
@luu123
luu123 / 01-generate-ed25519-ssh-key.sh
Created April 1, 2023 03:23 — forked from grenade/01-generate-ed25519-ssh-key.sh
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"
@luu123
luu123 / !proxmox_setup.sh
Created March 17, 2023 21:47 — forked from ilude/proxmox-setup-notes.md
How to setup a community version of Proxmox VE 5.x-7.x
# copy and paste oneliner below to run
# curl -s https://gist.githubusercontent.com/ilude/32aec45964bc1207810f7e6e49544064/raw/%21proxmox_setup.sh?$(date +%s) | /bin/bash -s
# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
# setup no nag script to run on upgrade
@luu123
luu123 / cleanMacVMs.sh
Created January 26, 2023 07:12 — forked from sarthakpranesh/cleanMacVMs.sh
Debloat Mac OS ( use at your own risk )
# I use MacOS VMs from github for iOS development.
# By no suprise they are a bit slow and have a lot of things I don't use
# Hence this script for lighter and better VM for my iOS development and builds
# GUI and animation related things to tweak
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
defaults write -g QLPanelAnimationDuration -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
defaults write com.apple.dock launchanim -bool false
sudo sysctl debug.lowpri_throttle_enabled=0
@luu123
luu123 / fixlocale.sh
Created June 17, 2022 23:39 — forked from ChrisTitusTech/fixlocale.sh
Fix Locales in any distro
#!/bin/bash
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf
sudo locale-gen en_US.UTF-8