2017年07月31日
首先了解一下几个相关概念,以方便后面遇到的问题的解决:RSA算法:1977年由Ron Rivest、Adi Shamirh和LenAdleman发明的,RSA就是取自他们三个人的名字。算法基于一个数论:将两个大素数相乘非常容易,但要对这个乘积的结果进行因式分解却非常困难,因此可以把乘积公开作为公钥。该算法能够抵抗目前已知的所有密码攻击。RSA算法是一种非对称算法,算法需要一对密钥,使用其中一个加密,需要使用另外一个才能解密。我们在进行RSA加密通讯时,就把公钥放在客户端,私钥留在服务器。&nbs
2017年07月31日
To re-sign an iOS app with another developer account, ensure that the following are in place first.Distribution certificate of the other developer accountA provisioning profile from the other developer accountNote that the Apple requires bundle IDs t
2017年07月28日
The .xip file format contains an archive (xar containing a gzip archive and metadata) and a signature of the archive.To decode an .xip file, use the following commands:pkgutil --check-signature <xip-fil
2017年07月27日
platform :ios, '8.0'target 'Origin' do pod 'Masonry' pod 'MBProgressHUD' pod 'SDWebImage' pod 'FMDB' pod 'WebViewJavascriptBridge'
2017年07月27日
如遇:「xxx.app已损坏,打不开.你应该将它移到废纸篓」,并非你安装的软件已损坏,而是Mac系统的安全设置问题,因为这些应用都是破解或者汉化的,那么解决方法就是临时改变Mac系统安全设置。出现这个问题的解决方法:修改系统配置:系统偏好设置... -> 安全性与隐私。修改为任何来源如果没有这个选项的话(macOS Sierra 10.12),打开终端,执行 sudo spctl --master-disable即可。
2017年07月25日
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 19.0px Menlo; color: #ff4647; background-color: #000000}
span.s1 {color: #eb905a}#import <libavformat/avformat.h>#import <libswscale/swscale.h>#define BRIGHTNESS_VALUE 0xF0#define DARKNESS_VAL
2017年07月08日
一台小米路由器rootssh root@192.168.1.1vim /lib/functions.sh 倒数第二行追加如下代码default_postinst() {
return 0
}
default_prerm() {
return 0
}5.&
2017年07月03日
DYLD_INSERT_LIBRARIES @executable_path@rpath@loader_path@executable_path 这个变量表示可执行程序所在的目录. 比如 /path/XXX.app/Contents/MacOS/@loader_path 这个变量表示每一个被加载的 binary (包括可执行程序, dylib, framework 等) 所在的目录. 在一个进程中, 对于每一个模块, @loader_path 会解析成不用的路径, 而 @executa