会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
IWS
Talk is cheap. Show me the code. -- Torvalds, Linus (2000-08-25).
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
2017年7月12日
nginx: 添加文件下载目录
摘要: 修改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)
2017年7月3日
CocoaPods: 制作cocoapods国内镜像
摘要: 制作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)
2017年6月16日
CentosOS 7: 创建Nginx+Https网站
摘要: 参考文章: 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)
2017年5月26日
Mac: 通过蓝牙用安卓手机向Mac发送文件
摘要: 1. 打开Mac蓝牙和手机蓝牙 2. 配对 3. mac 系统偏好设置>共享 勾蓝牙共享,选接受并存储 4. 手机发送文件
阅读全文
posted @ 2017-05-26 13:32 GreatK
阅读(3980)
评论(0)
推荐(2)
2017年4月13日
Jupyter Notebook: 解决build docker-stacks时conda太慢的问题
摘要: 这样就能让conda用上国内的镜像了。
阅读全文
posted @ 2017-04-13 19:18 GreatK
阅读(438)
评论(0)
推荐(0)
2017年4月12日
gogs: 如何恢复repository
摘要: 当某天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)
2017年3月1日
Docker: Docker容器之间互相通信
摘要: 最简单的方法,关闭防火墙(只建议用于开发环境)
阅读全文
posted @ 2017-03-01 14:22 GreatK
阅读(1436)
评论(0)
推荐(0)
2017年2月23日
Linux: 删除当前目录下的所有__pycache__子目录
摘要: find . -name '__pycache__' -type d -exec rm -rf {} \;
阅读全文
posted @ 2017-02-23 14:59 GreatK
阅读(3361)
评论(0)
推荐(0)
2017年2月7日
Python: 解决simple-db-migrate的"No module named 'MySQLdb'错误
摘要: sudo apt-get install libmysqlclient-dev sudo -H pip3 install mysqlclient
阅读全文
posted @ 2017-02-07 17:01 GreatK
阅读(254)
评论(0)
推荐(0)
2017年2月6日
Javascript: 动态显示进度条
摘要: 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
下一页
公告