上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: 修改nginx.conf,添加如下行: location /file/ { alias /usr/share/nginx/html/file/; add_header Content-disposition "attachment"; } 阅读全文
posted @ 2017-07-12 15:44 GreatK 阅读(2775) 评论(0) 推荐(0)
摘要: 制作cocoapods国内镜像∞ Tags:cocoapods 国内访问cocoapods spec repo速度非常慢,网络不好的话做一次pod update要等半个小时以上。 初始化: git clone --mirror https://github.com/CocoaPods/Specs.g 阅读全文
posted @ 2017-07-03 14:16 GreatK 阅读(1454) 评论(0) 推荐(0)
摘要: 参考文章: 1. https://github.com/Neilpang/acme.sh/wiki/%E8%AF%B4%E6%98%8E 2. http://songchenwen.com/tech/2015/09/09/nginx-configuration-with-ssl-labs-class 阅读全文
posted @ 2017-06-16 13:58 GreatK 阅读(417) 评论(0) 推荐(0)
摘要: 1. 打开Mac蓝牙和手机蓝牙 2. 配对 3. mac 系统偏好设置>共享 勾蓝牙共享,选接受并存储 4. 手机发送文件 阅读全文
posted @ 2017-05-26 13:32 GreatK 阅读(3980) 评论(0) 推荐(2)
摘要: 这样就能让conda用上国内的镜像了。 阅读全文
posted @ 2017-04-13 19:18 GreatK 阅读(438) 评论(0) 推荐(0)
摘要: 当某天gogs的数据库突然崩溃,配置数据全部消失后,要如何将之前git的repository重新加入到gogs中呢?(别问了,那个倒霉的人就是我) step 1, 2, 3, go... 1. 进入git的repository目录,将其中某个project mv为其它名字,比如赚了100万.git改 阅读全文
posted @ 2017-04-12 19:11 GreatK 阅读(2724) 评论(0) 推荐(0)
摘要: 最简单的方法,关闭防火墙(只建议用于开发环境) 阅读全文
posted @ 2017-03-01 14:22 GreatK 阅读(1436) 评论(0) 推荐(0)
摘要: find . -name '__pycache__' -type d -exec rm -rf {} \; 阅读全文
posted @ 2017-02-23 14:59 GreatK 阅读(3361) 评论(0) 推荐(0)
摘要: sudo apt-get install libmysqlclient-dev sudo -H pip3 install mysqlclient 阅读全文
posted @ 2017-02-07 17:01 GreatK 阅读(254) 评论(0) 推荐(0)
摘要: 1 {% if not config.exec_id == '' %} 2 3 4 5 0% 6 7 8 9 25 {% endif %} 阅读全文
posted @ 2017-02-06 13:28 GreatK 阅读(2012) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页