![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具
Patrick Sun
这个作者很懒,什么都没留下…
展开
-
GIT常用命令
更新本地远程分支列表git remote update origin --prune原创 2021-08-04 10:58:57 · 82 阅读 · 0 评论 -
centos安装pandoc2.0+
wget https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-linux.tar.gztar -xvf pandoc-2.5-linux.tar.gzln -s /root/pandoc-2.5/bin/pandoc /usr/bin/pandocyum install texlive-xetex#pandoc 2.5pandoc -v原创 2021-07-05 19:10:03 · 1170 阅读 · 1 评论 -
日志分隔脚本-shell
#!/bin/bash#定义志路径Log_path="/tmp/"#定义时间为昨天Yesterday=`date +%Y%m%d`#定义日志文件Log_file="test.log"#按天分隔日志cd ${Log_path}mv ${Log_file} ${Log_file}-${Yesterday}#删除7天前的日志find ${Log_path} -name "${Log_file}.log-*" -mtime +7 | xargs rm -f配合定时任务,就可以完成日志原创 2021-07-02 17:08:58 · 422 阅读 · 0 评论 -
curl测试访问速度
curl -o /dev/null -s -w time_namelookup:"\t"%{time_namelookup}"\n"time_connect:"\t\t"%{time_connect}"\n"time_pretransfer:"\t"%{time_pretransfer}"\n"time_starttransfer:"\t"%{time_starttransfer}"\n"time_total:"\t\t"%{time_total}"\n"time_redirect:"\t\t"%{time原创 2020-12-02 20:11:01 · 3414 阅读 · 0 评论 -
mac rz sz
https://github.com/aikuyun/iterm2-zmodem原创 2020-12-02 19:28:08 · 97 阅读 · 0 评论 -
item2多屏
command + D原创 2020-11-30 21:07:11 · 144 阅读 · 0 评论