跳至主要内容

博文

目前显示的是 五月, 2020的博文

Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo

原文链接 One of the major issue is "weak cryptographic standards removed" after 2018 February. Here a note:  https://github.com/blog/2507-weak-cryptographic-standards-removed To solve this, first you need to update openssl, then ruby, then cocoapod. $ which openssl / usr / bin / openssl $ openssl version OpenSSL 0.9 . 8zh 14 Jan 2016 $ / bin / bash - c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" $ brew update $ brew install openssl $ brew upgrade openssl `` If you need to have this software first in your PATH run : echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/. bash_profile $ echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/. bash_profile $ source ~/. bash_profile $ which openssl / usr / local / opt / openssl / bin / openssl $ openssl version OpenSSL 1.0 . 2n 7 Dec 2017 $ brew install rbenv ruby - build $ echo 'expo...

connectionProxyDictionary 笔记

原文链接 最近研究了下  connectionProxyDictionary ,做一个简单的笔记。 官方文档 是这么描述的。 This property controls which proxy tasks within sessions based on this configuration use when connecting to remote hosts. The default value is NULL, which means that tasks use the default system settings. 这个属性可以设置网络代理,默认值是 NULL,使用系统的代理设置。 有一个比较巧妙的用法,可以通过设置为空字典可以禁止代理抓包(charles、fiddler等)。 上代码。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 NSString * proxyHost = @"192.168.12.23" ; //@"myProxyHost.com"; NSNumber * proxyPort = [ NSNumber numberWithInt: 12345 ]; // 创建一个代理服务器,包括HTTP或HTTPS代理,当然还可以添加SOCKS,FTP,RTSP等 NSDictionary *proxyDict = @{ ( NSString *)kCFNetworkProxiesHTTPEnable : [ NSNumber numberWithInt: 1 ], ( NSString *)kCFNetworkProxiesHTTPProxy: proxyHost, ( NSString *)kCFNetworkProxiesHTTPProxyPort: proxyPort, ( NSString *)kCFNetworkProxiesHTTPSEnable : [ NSNumber numberWithInt: 1 ], ( NSString *)kCFNetworkProxiesH...

𝐒𝐡𝐚𝐝𝐨𝐰𝐫𝐨𝐜𝐤𝐞𝐭 小火箭 最新版𝐓𝐢𝐤𝐓𝐨𝐤完美解锁

原文链接 参考链接: https://github.com/Pinanchen/TikTok-Free https://github.com/Happybaipiao666/tiktok [2021-02-06]更新 𝐒𝐡𝐚𝐝𝐨𝐰𝐫𝐨𝐜𝐤𝐞𝐭 小火箭 最新版𝐓𝐢𝐤𝐓𝐨𝐤完美解锁 - 可看直播(𝐓𝐢𝐤𝐓𝐨𝐤版本需大于𝟏𝟕.𝟗.𝟎) ❶生成证书-安装证书-信任证书 ❷配置-编辑纯文本 ❸粘贴以下内容到对应位置 [URL Rewrite] (?<=_region=)CN(?=&) US 307 (?<=&mcc_mnc=)4 2 307 ^(https?:\/\/dm[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302 (^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302 [MITM] hostname = *.tiktokv.com, *.byteoversea.com, *.tik-tokapi.com 提示: 有需要换区的,将[URL Rewrite]中的US换成JP/UK/TW/KR即可。 1)试用无效 ShadowRocket需开启HTTPS解密,安装并信任证书。 [Rule] DOMAIN,api-h2.tiktokv.com,PROXY DOMAIN,api2-16-h2.musical.ly,PROXY DOMAIN,api2-19-h2.musical.ly,PROXY [URL Rewrite] (.*video_id=\w{32})(.*watermark=)(.*) $1 302 ((carrier|account|sys)_region=)CN JP 302 [MITM] hostname = ,api*.tiktokv.com,*.musical.ly, enable = true 如果需要观看不同国家的视频,只需要修改代码中的 JP ,例如 切换到美国: ((carrier|account|sys)_region=)CN US 302 切换到英国: ((carrier|account|sys)_region=)CN UK...

Howto unlock bootloader and get TWRP on ZUK Z2 Pro

原文链接 DISCLAIMER: take care, this will erase all data on phone. I'm not responsible for any data loss. Follow the instructions on your own risk! --------------------------------------- NEW: You updated to ZUI 3.5 using  https://zukfans.eu/community/thread...t-from-zui-1-9-to-latest-zui-for-z2-pro.7851/  ? Congrats! Once you updated to ZUI 3.5 you don't need to get unlock_bootloader.img anymore. To activate developer option click 7 times on ZUI version under settings - system - about: - - Once you did that you get developer options in settings - system: Click on it and activate the options  OEM unlocking  and  USB debugging You can accept the following warning: Now: Setup ADB and Fastboot on your PC . (can be found here as well:  https://forum.xda-developers.com/showthread.php?t=2317790 ) Connect your Lenovo ZUK phone to the PC. └ If you get a prompt on phone’s screen to Allow USB debugging, tap OK. Open a command window inside the folder where you save...