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
function FindProxyForURL(url, host) { | |
return "SOCKS 192.168.11.146:8889"; | |
} |
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
This bug was also called moonshine in the beginning | |
Basically the following bug is present in all bootroms I have looked at: | |
1. When usb is started to get an image over dfu, dfu registers an interface to handle all the commands and allocates a buffer for input and output | |
2. if you send data to dfu the setup packet is handled by the main code which then calls out to the interface code | |
3. the interface code verifies that wLength is shorter than the input output buffer length and if that's the case it updates a pointer passed as an argument with a pointer to the input output buffer | |
4. it then returns wLength which is the length it wants to recieve into the buffer | |
5. the usb main code then updates a global var with the length and gets ready to recieve the data packages | |
6. if a data package is recieved it gets written to the input output buffer via the pointer which was passed as an argument and another global variable is used to keep track of how many bytes were recieved already | |
7. if all the data was recieved th |
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 --git a/Modules/_elementtree.c b/Modules/_elementtree.c | |
index 1b8f812..97485eb 100644 | |
--- a/Modules/_elementtree.c | |
+++ b/Modules/_elementtree.c | |
@@ -2781,7 +2781,7 @@ _elementtree_TreeBuilder_start_impl(TreeBuilderObject *self, PyObject *tag, | |
/* ==================================================================== */ | |
/* the expat interface */ | |
-#include "expat.h" | |
+#include "expat_internal.h" |
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
#!/bin/bash | |
set -e | |
declare -x USERNAME="$1" | |
declare -x USERPIC="$2" | |
declare -r DSIMPORT_CMD="/usr/bin/dsimport" | |
declare -r ID_CMD="/usr/bin/id" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.cameronpalmer.wireguard</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/wg-quick</string> | |
<string>up</string> |
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
This app collects no data whatsoever. |
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
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
class MyViewController : UIViewController { | |
var innerViewLeadingConstraint: NSLayoutConstraint? | |
var innerViewCenterXConstraint: NSLayoutConstraint? | |
var innerView: UIView? | |
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
#!/bin/bash | |
ARCHS=( "arm" ) | |
OPENSSL_OPTIONS=( "no-deprecated" "no-dtls1" "no-experimental" "no-hw" "no-ssl2" "no-ssl3" "no-camellia" "no-cast" "no-comp" "no-dso" "no-engine" "no-idea" "no-jpake" "no-krb5" "no-md2" "no-md4" "no-mdc2" "no-rc2" "no-rc5" "no-ripemd" "no-seed" "no-srp" "no-store" "no-whirlpool" ) | |
MIN_IOS_VERSION=8.0 | |
for ARCH in "${ARCHS[@]}"; do | |
SDK="" | |
CONFIGURE_SWITCH="" | |
if [ "${ARCH}" == "arm" ]; then |
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
include( ExternalProject ) | |
set( NCPU 8 ) | |
set( MIN_IOS_VERSION 8.0 ) | |
set( BOOST_VERSION 1.63.0 ) | |
set( BOOST_SHA_CHECKSUM 9f1dd4fa364a3e3156a77dc17aa562ef06404ff6 ) | |
set( BOOST_COMPILE_LIBRARIES filesystem system date_time ) | |
set( COMPILE_ARCHITECTURES armv6 armv7 armv7s arm64 ) | |
set( ENABLE_BITCODE true ) |
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
#!/bin/bash | |
contains() { | |
local match="$1" | |
shift | |
local list=( "${@}" ) | |
for item in "${list[@]}"; do | |
if [[ "${item}" == "${match}" ]]; then | |
echo true |