mac
稀里糊涂_helen
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
修改mac同时打开最大文件数
$ sysctl kern.maxfiles kern.maxfiles: 12288 $ sysctl kern.maxfilesperproc kern.maxfilesperproc: 10240 $ sudo sysctl -w kern.maxfiles=1048600 kern.maxfiles: 12288 -> 1048600 $ sudo sysctl -w kern.maxfi转载 2014-09-26 16:28:24 · 3406 阅读 · 0 评论 -
eclipse mac 垂直选择
快捷键:Option+Command+A切换。 光标会变成十字,就可以垂直选择了。原创 2014-11-18 18:25:16 · 1357 阅读 · 0 评论 -
mac 10.10.2 apache
1. 启动Apache 服务 sudo apachectl start 打开safari,访问:http://localhost,显示“It works!”表示Apache启动正常 当前访问的是Apache的默认目录,/Library/WebServer/Documents/ 2. 配置用户访问目录 因为之前已经配置过用户目录转载 2015-03-31 18:20:55 · 497 阅读 · 0 评论 -
mac 10.11 git 问题
问题:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决:sudo xcode-select -switch /Applications/Xc转载 2015-11-26 10:30:40 · 418 阅读 · 0 评论 -
wireshark 在mac上使用
1. 需要sudo wireshark 2. 根据 ip 过滤 ip.dst==192.168.10.2 ip.src==192.168.10.2 3. 根据 port 过滤 ip.port==9087原创 2016-11-30 19:12:22 · 1020 阅读 · 0 评论 -
GCDAsyncSocket two way authentication SSL 双向认证
核心 1. 怎么创建 NSMutableDictionary *sslSetting 2.怎么验证服务端公钥 准备: 本人目前使用的 iOS 公私钥是 p12, 服务端公钥建议准备.der 文件。本人实验了多种方式,觉得下面粘的代码的那种方式最靠谱。 1. + (NSDictionary NSString *,NSObject *> *)createSsl {原创 2017-01-06 20:00:09 · 2312 阅读 · 0 评论 -
visualstudio code go 多项目调试
1. 修改 launch.json 文件的 program 配置项,指定到有 go 代码的目录即可。原创 2018-11-26 17:03:27 · 1314 阅读 · 0 评论
分享