![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杂项
Taylor007
这个作者很懒,什么都没留下…
展开
-
awk 使用
语法:awk [options] 'pattern {action}' file示例文件并将其保存为 colours.txtname color amountapple red 4banana yellow 6strawberry red 3grape purple 10apple green 8plum ...转载 2019-12-01 13:02:47 · 337 阅读 · 0 评论 -
zsh 不兼容 no matches found:
执行curl localhost:9200/_cat/indices?v// zsh: no matches found: localhost:9200/_cat/indices?v解决办法:在~/.zshrc中加入:setopt no_nomatch, 然后进行 source .zshrc 命令原创 2019-10-24 22:31:24 · 2310 阅读 · 0 评论 -
linux 下系统跑分对比
转自:https://www.zyxtech.org/2016/12/09/linux%E4%B8%8B%E7%B3%BB%E7%BB%9F%E8%B7%91%E5%88%86%E5%AF%B9%E6%AF%94/转载 2019-10-23 23:13:09 · 2267 阅读 · 0 评论 -
Elasticsearch 之设置
返回数据超过 10000max_result_windowcurl -XPUT 127.0.0.1:9200/concreteIndex/_settings -d '{ "index.max_result_window" :"1000000"}'成功返回:{"acknowledged":true}参考:https://www.elastic.co/guide/en/elast...原创 2019-09-02 22:58:49 · 175 阅读 · 0 评论 -
ab 压力测试使用
说明类似于linux 的 curl 请求ab -h 查看帮助说明-c 并发数-n 请求次数-H header-p body 将body中 json 串写到 a.json 中-T POST数据所使用的Content-type头信息举例ab -n 100 -c 10 https://www.baidu.comab -n 1 -c 1 -p f:/a.txt -T app...原创 2019-08-27 11:58:01 · 3557 阅读 · 1 评论 -
git 的忽略文件--.gitignore
忽略根目录下的 config 目录,除了内部的example.conf文件/config/*!/config/example.conf注:不能去掉 config 后的 *,否则父目录被前面的规则排除掉了。文件忽略bin/: #表示忽略当前路径下的bin文件夹,该文件夹下的所有内容都会被忽略,不忽略 bin 文件/bin: #表示忽略根目...原创 2019-01-06 16:50:42 · 128 阅读 · 0 评论