Keys | Config | Desc |
---|---|---|
⌘ Del | send hex 0x15 | delete line |
⌥ Del | send hex 0x1B 0x08 | delete word |
⌘ ← | send hex 0x01 | move cursor to the beginning of a line |
⌘ → | send hex 0x05 | move cursor to the end of a line |
⌥ ← | send esc seq Esc+b | move cursor to the left by word |
⌥ → | send esc seq Esc+f | move cursor to the right by word |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Cleaning up..." | |
rm -rf bin/ src/ | |
echo "Copying sources..." | |
mkdir src/ | |
find SSLKillSwitch -type f \( -name "*.h" -o -name "*.m" -o -name "*.c" \) -exec cp {} src/ \; | |
BIN_NAME="SSLKillSwitch2.dylib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# OpenSSL | |
# https://github.com/x2on/OpenSSL-for-iPhone | |
# boost | |
# https://gist.github.com/faithfracture/c629ae4c7168216a9856 | |
echo "Cleaning up..." | |
rm -rf bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Usage: | |
# send_apn.py --dev --token=$DEVICE_TOKEN --message='Hello World!' --payload='{"foo": "bar"}' | |
from optparse import OptionParser | |
import json, binascii, struct, socket, ssl | |
parser = OptionParser() | |
parser.add_option("--dev", action="store_true", dest="dev", default=False, help="use development certificate and sandbox") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
</dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QMI UIM APDU example | |
iPhone 6 iOS 9.0, Qualcomm MDM9625 4.01.00 | |
REQ: | |
open logical channel on slot 01 width AID a0:00:00:00:87:10:02 (07 bytes) (3GPP USIM AID) | |
01 1b 00 00 0b 02 00 04 00 3f 00 0f 00 01 01 00 | .........?...... |
- Download installer
softwareupdate --fetch-full-installer
or specific version
softwareupdate --fetch-full-installer --full-installer-version 10.15.5
- set number of columns
defaults write com.apple.dock springboard-columns -int 10
- set number of rows
defaults write com.apple.dock springboard-rows -int 6
aria2c \
-x 16 \
-s 16 \
--load-cookies=cookies.txt \
https://download.developer.apple.com/Developer_Tools/Xcode_10.3/Xcode_10.3.xip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff: | |
/usr/local/bin/code -d -n -w $LOCAL $REMOTE | |
merge: | |
/usr/local/bin/code -n -w $MERGED |
OlderNewer