上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 64 下一页
摘要: vim 使用tip 编写python程序 #!/usr/bin/env python # coding=utf-8 输入.或按TAB键会触发代码补全功能 :w保存代码之后会自动检查代码错误与规范 按F6可以按pep8格式对代码格式优化 按F5可以一键执行代码 多窗口操作 使用:vs + 文件名可以垂 阅读全文
posted @ 2017-06-04 10:50 arun_yh 阅读(202) 评论(0) 推荐(0)
摘要: 参考下赖老师的: http://mingxinglai.com/cn/2012/09/tmux/ 一、 二、 http://wdxtub.com/2016/03/30/tmux-guide/ (待研究) 阅读全文
posted @ 2017-06-04 09:02 arun_yh 阅读(202) 评论(0) 推荐(0)
摘要: 一、 It depends. In zsh you can configure cd to push the old directory on the directory stack automatically, but it is not the default setting. As far a 阅读全文
posted @ 2017-05-19 14:37 arun_yh 阅读(483) 评论(0) 推荐(0)
摘要: 全球可信并且唯一免费的HTTPS(SSL)证书颁发机构:StartSSL 1、自行颁发不受浏览器信任的SSL证书: HTTPS的SSL证书可以自行颁发,Linux下的颁发步骤如下: openssl genrsa -des3 -out api.bz.key 1024openssl req -new - 阅读全文
posted @ 2017-05-14 09:08 arun_yh 阅读(1825) 评论(0) 推荐(0)
摘要: 一、underscores_in_headers on; Nginx 默认把名称包含下划线的 Headers 视为无效,直接移除。如果你希望让这类型的信息生效,那你要把 underscores_in_headers 指令设置成 on,否则这样的头信息将不会把他发送给后端服务器。参考URL:http: 阅读全文
posted @ 2017-05-05 03:12 arun_yh 阅读(752) 评论(0) 推荐(0)
摘要: 一、 二、 -n, --numeric-sort compare according to string numerical value -k, --key=KEYDEF sort via a key; KEYDEF gives location and type -t, --field-separ 阅读全文
posted @ 2017-05-04 16:41 arun_yh 阅读(203) 评论(0) 推荐(0)
摘要: 一、chrome https://segmentfault.com/a/1190000000683599 阅读全文
posted @ 2017-04-24 14:21 arun_yh 阅读(214) 评论(0) 推荐(0)
摘要: 一、写入 先来一个简单的官方例子,插入的参数为-XPUT,插入一条记录。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 curl -XPUT 'http://localhost:9200/test/users/1' -d '{ "user": "test" 阅读全文
posted @ 2017-04-23 07:26 arun_yh 阅读(221) 评论(0) 推荐(0)
摘要: docker下载慢的不行。国内加速器地址 http://355dbe53.m.daocloud.iohttps://docker.mirrors.ustc.edu.cn https://hub-mirror.c.163.com 一、配置 Docker 加速器 https://www.daocloud 阅读全文
posted @ 2017-04-22 23:03 arun_yh 阅读(2207) 评论(0) 推荐(0)
摘要: 一、 使用netstat去过滤listen效果不怎么理想。 $ netstat -an|grep -i --color "listen" tcp6 0 0 ::1.5601 *.* LISTEN tcp4 0 0 *.5601 *.* LISTEN 二、于是决定使用 lsof 代替 Mac中的 ne 阅读全文
posted @ 2017-04-22 22:20 arun_yh 阅读(750) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 64 下一页