IPv6 穿透设置

背景 IPv6 的好处不多说,在有 IPv6 的网络环境下当然是能用则用。但是很多情况下,由于种种原因,经常会有 IPv6 的情况。比如使用 DHCPv6 分配地址,且不支持 PD。这样...

十一月 6, 2017 · 2 分钟 · hguandl

Nginx 开启目录索引

Ref http://www.zrblog.net/16596.html 1 2 3 4 5 location / { autoindex on; autoindex_exact_size on; autoindex_localtime on; }

十一月 5, 2017 · 1 分钟 · hguandl

macOS 关闭 SMB 签名以加快传输速度

Ref http://bbs.feng.com/read-htm-tid-10541151.html 1 2 3 $ sudo echo "[default]" > /etc/nsmb.conf $ sudo echo signing_required=no >> /etc/nsmb.conf $ sudo reboot

十一月 5, 2017 · 1 分钟 · hguandl

Time Machine 本地快照管理

Ref https://www.v2ex.com/t/403350#reply9 查看系统盘的快照 1 $ tmutil listlocalsnapshots / 删除某一快照 1 $ tmutil deletelocalsnapshots yyyy-MM-dd-hhmmss 缩减快照容量 1 $ sudo tmutil thinLocalSnapshots / 10000000000 4

十一月 5, 2017 · 1 分钟 · hguandl

Alfred 签名问题导致请求通讯录及无通知推送

Ref http://cn.v2ex.com/t/104503 https://apple.stackexchange.com/questions/117777/alfred-keeps-asking-for-contacts-permission/212352#212352?newreg=fc1df937386e4fae849a66c7b71b2da9 1 $ sudo codesign -f -d -s - /Applications/Alfred\ 3.app/Contents/Frameworks/Alfred\ Framework.framework/Versions/A/Alfred\ Framework

十一月 5, 2017 · 1 分钟 · hguandl