This file contains hidden or 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
| # > Claude | |
| # Anthropic main domain (Claude AI backend) / Anthropic 主域(Claude AI 后端) | |
| DOMAIN-SUFFIX,anthropic.com | |
| # Claude AI frontend main domain / Claude AI 前端主域 | |
| DOMAIN-SUFFIX,claude.ai | |
| # Claude user-uploaded content domain / Claude 用户上传内容域名 | |
| DOMAIN-SUFFIX,claudeusercontent.com | |
| DOMAIN-SUFFIX,clau.de | |
| DOMAIN-SUFFIX,claude.com | |
| # Claude 数据收集 |
This file contains hidden or 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
| # ======================================== | |
| # AI Related Domain Routing Rules / AI 相关域名分流规则 | |
| # Author: Custom Rule Set / 作者:自定义规则集 | |
| # Description: Used for proxying or direct connecting major AI services (e.g., ChatGPT, Claude, Gemini, Grok, etc.) | |
| # 描述:用于代理或直连主流 AI 服务(如 ChatGPT、Claude、Gemini、Grok 等)的域名 | |
| # ======================================== | |
| # 〖DOMAIN-SUFFIX Type〗 Suffix matching rules - Applicable to most subdomains | |
| # 〖DOMAIN-SUFFIX 类型〗 后缀匹配规则 - 适用于大部分子域名 |
This file contains hidden or 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
| class Xcodegen < Formula | |
| desc "Generate your Xcode project from a spec file and your folder structure" | |
| homepage "https://github.com/yonaskolb/XcodeGen" | |
| url "https://github.com/yonaskolb/XcodeGen/archive/refs/tags/2.43.0.tar.gz" | |
| sha256 "d79a89ea056ccc3cf84b736ee52c7b5184a560e54808e51f418f34d292869d66" | |
| license "MIT" | |
| head "https://github.com/yonaskolb/XcodeGen.git", branch: "master" | |
| bottle do | |
| sha256 cellar: :any_skip_relocation, arm64_sequoia: "1d08e16ea70ce5f323dd53197ed1204c6a78be04e629bb8e8cd11329b5d13c5d" |
This file contains hidden or 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
| #!name=Skip Proxy Lists | |
| #!desc=跳过部分应用的代理检测 | |
| [General] | |
| skip-proxy = %APPEND% www.baidu.com,yunbusiness.ccb.com,wxh.wo.cn,gate.lagou.com,www.abchina.com.cn,gmcc.net, 10086.cn | |
| ## www.baidu.com:网上国网、多看阅读、顺丰金融、广东农信、丰云行、中国银行缤纷生活、通信行程卡app | |
| ## yunbusiness.ccb.com:建行生活 | |
| ## wxh.wo.cn:沃小号 |
This file contains hidden or 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
| May 2 14:28:59 yinxiaoyude-iPhone-X kernel(Sandbox)[0] <Error>: Sandbox: Facebook(17321) deny(1) file-map-executable /Library/MobileSubstrate/DynamicLibraries/RHRevealLoader.dylib | |
| May 2 14:28:59 yinxiaoyude-iPhone-X kernel(AppleMobileFileIntegrity)[0] <Notice>: AMFI: '/Library/MobileSubstrate/DynamicLibraries/RevealServer': unsuitable CT policy 0x20 for this platform/device, rejecting signature. | |
| May 2 14:28:59 yinxiaoyude-iPhone-X kernel(AppleMobileFileIntegrity)[0] <Notice>: AMFI: '/Library/MobileSubstrate/DynamicLibraries/RevealServer': unsuitable CT policy 0x20 for this platform/device, rejecting signature. | |
| May 2 14:28:59 yinxiaoyude-iPhone-X Facebook(RHRevealLoader.dylib)[17321] <Notice>: Failed, error: dlopen(/Library/Frameworks/RevealServer.framework/RevealServer, 2): no suitable image found. Did find: | |
| /Library/Frameworks/RevealServer.framework/RevealServer: code signature invalid for '/Library/Frameworks/RevealServer.framework/RevealServer' | |
| /Library/Frameworks/RevealServer.framework/RevealServ |
This file contains hidden or 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
| class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource { | |
| private lazy var hotStockTableView: UITableView = { | |
| let tableView = UITableView() | |
| print("hotStockTableView ======> \(tableView) \n") | |
| tableView.delegate = self | |
| tableView.dataSource = self | |
| // Here cause crash. | |
| tableView.tableFooterView = UIView() // if comment this line, everthing is ok. | |
| tableView.register(UITableViewCell.self, forCellReuseIdentifier: "cell") |
This file contains hidden or 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
| #import <Foundation/Foundation.h> | |
| #if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000 | |
| @interface NSString (PSPDFModernizer) | |
| // Added in iOS 8, retrofitted for iOS 7 | |
| - (BOOL)containsString:(NSString *)aString; | |
| @end |
This file contains hidden or 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/sh | |
| # Create a RAM disk with same perms as mountpoint | |
| # Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions | |
| # Usage: sudo ./xcode_ramdisk.sh start | |
| USERNAME=$(logname) | |
| TMP_DIR="/private/tmp" | |
| RUN_DIR="/var/run" |
This file contains hidden or 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
| /** | |
| Returns a percent-escaped string following RFC 3986 for a query string key or value. | |
| RFC 3986 states that the following characters are "reserved" characters. | |
| - General Delimiters: ":", "#", "[", "]", "@", "?", "/" | |
| - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=" | |
| In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow | |
| query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/" | |
| should be percent-escaped in the query string. | |
| - parameter string: The string to be percent-escaped. |
This file contains hidden or 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 -x | |
| cd ${0%/*}/.. | |
| # codesigning and choosing of provisioning profile is configured via project settings and is dependent of build config | |
| : ${BUILD_NUMBER:?"Need to set BUILD_NUMBER"} | |
| WORKSPACE=<yourworkspace>.xcworkspace |
NewerOlder