- Swift
- Objective-C
- C++/C
- JavaScript
- Mac OSX
- iOS
| // | |
| // NSNull+LCFMessageForwarding.h | |
| // NSNull | |
| // | |
| // Created by leichunfeng on 15/12/22. | |
| // Copyright © 2015年 leichunfeng. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| ## | |
| # Install latest autoconf and automake-1.15 on Mac OS X | |
| # - Check for the latest version of automake at: http://ftpmirror.gnu.org/automake | |
| # | |
| # Usage: | |
| # - Source this script: $ . buildtools.sh | |
| # | |
| # This script was adapted from: | |
| # - https://gist.github.com/jellybeansoup/4192307 | |
| # - http://superuser.com/questions/383580/how-to-install-autoconf-automake-and-related-tools-on-mac-os-x-from-source (JakeGould answer) |
| # this is a sample .curlrc file | |
| # https://everything.curl.dev/ is a GREAT RESOURCE | |
| # store the trace in curl_trace.txt file. beware that multiple executions of the curl command will overwrite this file | |
| --trace curl_trace.txt | |
| # store the header info in curl_headers.txt file. beware that multiple executions of the curl command will overwrite this file | |
| --dump-header curl_headers.txt | |
| #change the below referrer URL or comment it out entirely |
| [General] | |
| loglevel = notify | |
| skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
| # dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
| # external-controller-access = [email protected]:6155 | |
| # ipv6 = true | |
| // REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
| cfgutil help exec | |
| exec | |
| Usage: exec [-a <path to attach script>] [-d <path to detach script>] | |
| Run a script when devices attach or detach. | |
| These environment variables will be set: | |
| - ECID: Target device's ECID. | |
| - PATH: The path will be changed to include cfgutil. |
$ text-builder -index /path/to/index.txt
Or run $ sh build-all to build all your index files.本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.
| <key>NSAppTransportSecurity</key> | |
| <dict> | |
| <key>NSAllowsArbitraryLoads</key> | |
| <true/> | |
| </dict> |
| #!/bin/bash | |
| # See http://apple.stackexchange.com/questions/107307/how-can-i-install-the-command-line-tools-completely-from-the-command-line | |
| echo "Checking Xcode CLI tools" | |
| # Only run if the tools are not installed yet | |
| # To check that try to print the SDK path | |
| xcode-select -p &> /dev/null | |
| if [ $? -ne 0 ]; then | |
| echo "Xcode CLI tools not found. Installing them..." |