Warning
The following guide need to disable SIP to work.
Please confirm the risk of disabling the SIP by yourself.
Another solution which does not require disabling SIP is currently under investigation.
Reboot into Recovery OS + Disable SIP
{ | |
Filter = { | |
Bundles = ( | |
"com.sina.weibo", | |
"com.tencent.xin", | |
"com.tencent.mqq", | |
"com.apple.AppStore", | |
); | |
}; | |
} |
# 去掉了curl的-sk参数,-s为静默状态(不提示错误),-k为允许不适用ssl | |
curl https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | \ | |
python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger | |
# 报错 Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger),运行下面的命令 | |
# activate your virtualenv | |
source ~/Library/PonyDebugger/bin/activate | |
# update the ponyd source | |
sudo pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour | |
# updates chrome dev tools source |
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
The diff output is more specific:
[I]f a whole block of text is moved, then all of it, rather than just the beginning and end, is detected as changed.
>The algorithm described here avoids these difficulties. It detects differences that correspond very closely to our intuitive notion of difference.