Skip to content

Instantly share code, notes, and snippets.

View Erisa's full-sized avatar
💕

Erisa A Erisa

💕
View GitHub Profile

Setup Altserver Linux on Raspberry Pi with Wifi Refresh

This is a rough outline on how to setup altserver-linux on the 🍓🍰. Wifi refreshing is enabled through the use of netmuxd, which acts as a proxy from AltServer to the iDevice (replaces/enhances usbmuxd).

Tutorials used

Prerequisites

@KianNH
KianNH / cloudflare-remove-all-records.ps1
Created May 13, 2022 15:55
Cloudflare - Remove all DNS records in a given zone
$API_TOKEN = "<api-token>"
$ZONE_ID = "<zone-id>"
$baseUrl = "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records"
$headers = @{
'Authorization' = "Bearer $API_TOKEN"
'Content-Type' = "application/json"
}
@johnspurlock-skymethod
johnspurlock-skymethod / r2-notes.md
Last active March 13, 2024 17:32
Unofficial R2 notes
@koumaza
koumaza / Android.Dependencies-to-Manifest.xml.md
Last active December 11, 2020 21:48
Android_Dependencies to Manifest.xml

Example

./ad2mf.sh aosp.dependencies

@srustagi
srustagi / fix_fhb.py
Last active November 27, 2022 20:30
Remove UTC timestamp from Windows File History Backup for all files in folder recursively, skip over duplicates.
import re
from os.path import join
from os import walk, rename
FOLDER_PATH = join('PATH_TO', 'DIR_NAME')
for path, subdirs, files in walk(FOLDER_PATH):
for i, name in enumerate(files):
fixed = re.sub(r' \(.+\)', '', name)
print('{} / {}'.format(i + 1, len(files)))
@satmandu
satmandu / make_current_arm64_rpi_kernel_debs.sh
Last active October 22, 2023 11:06
Make arm64 deb packages for the offical Raspberry Pi Foundation arm64 kernels, tested with ubuntu 23.04
#!/bin/bash -x
# make_arm64_rpi_kernel_debs.sh
# Builds arm64 debian packages from the CURRENT rpi firmware repository kernel which is installed by:
# sudo rpi-update
# This runs on an arm64 host with arm64 compilation tools...
# or with some sort of cross-compilation setup.
# Debs are put in $workdir/build
#
# This will NOT work in Raspbian unless you have an arm64 compilation
# environment setup. Appears to work on
@TheFarmingBunny
TheFarmingBunny / rules.v4
Created February 17, 2020 18:48
iptables
# Generated by xtables-save v1.8.2 on Thu Jan 23 19:30:09 2020
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A OUTPUT -j LOG -p tcp -o eth1 --dport 32400 --log-prefix "DROP:" --log-level 6
-A OUTPUT -j LOG -p tcp -o eth1 --dport 8112 --log-prefix "DROP:" --log-level 6
-A FORWARD -i eth1 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth0 -o eth1 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
@Ovyerus
Ovyerus / config.fish
Last active August 7, 2020 04:11
Sexy fish prompt
set -g symb '▲'
set -g leading_brace 0
set -g has_launched 0
function git_info
set -l branch (git rev-parse --abbrev-ref HEAD 2> /dev/null)
printf "%s(%s%s%s)" $c0 $c1 $branch $c0
set -l changes (git status --porcelain --ignore-submodules 2> /dev/null)
@Ovyerus
Ovyerus / prompt-preview.png
Last active August 7, 2020 04:13
Hot powershell prompt
prompt-preview.png
@nekoprog
nekoprog / OPNsense aarch64.txt
Last active January 3, 2022 14:24
OPNsense aarch64 Todo List
https://www.worksonarm.com/explore/freebsd/
https://wiki.freebsd.org/arm64
https://wiki.freebsd.org/arm64?action=AttachFile&do=view&target=arm64_build.sh
https://ci.freebsd.org/job/FreeBSD-stable-11-aarch64-build/
https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile
https://www.aliexpress.com/item/32880728063.html
http://www.banana-pi.org/r64.html
http://espressobin.net/
http://wiki.espressobin.net/tiki-index.php