Skip to content

Instantly share code, notes, and snippets.

View DJHartley's full-sized avatar

Derek Hartley DJHartley

View GitHub Profile
@DJHartley
DJHartley / pallas.sh
Created July 15, 2020 22:38 — forked from Siguza/pallas.sh
newstyle OTA
#!/bin/zsh
set -e;
dir="$(mktemp -d)";
echo "$dir" >&2;
iOS_device=();
iOS_model=();
@DJHartley
DJHartley / commands.sh
Created July 4, 2020 02:45 — forked from JohnCoates/commands.sh
THEOS on Windows 10 with Linux subsystem
# Turn on Developer Mode
# Open Settings -> Update and Security -> For developers
# Don't reboot yet
# Run in powershell administrator:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
# accept reboot
## Install Ubuntu
# run in powershell administrator:
#!/bin/bash
export THEOS=/opt/theos
if ! [ -d $THEOS ]; then
mkdir -p $THEOS
fi
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
#ifndef SUBSTRATE_H_
#define SUBSTRATE_H_
#ifdef __APPLE__
#ifdef __cplusplus
extern "C" {
#endif
#include <mach-o/nlist.h>
#ifdef __cplusplus
}
#ifndef SUBSTRATE_H_
#define SUBSTRATE_H_
#ifdef __APPLE__
#ifdef __cplusplus
extern "C" {
#endif
#include <mach-o/nlist.h>
#ifdef __cplusplus
}
update_current_git_vars
#!/bin/bash
export THEOS=/opt/theos
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd $THEOS
mv include include.bak