随笔分类 -  linux

摘要:linux phantomjs 安装 阅读全文
posted @ 2019-03-13 11:42 🐳.城南 阅读(407) 评论(0) 推荐(0)
摘要:Lenovo RTL8821CE 802.11ac PCIe Wireless Network Adapter sudo apt install linux-headers-$(uname -r) build-essential dkms git clone https://github.com/t 阅读全文
posted @ 2019-03-05 13:54 🐳.城南 阅读(1802) 评论(0) 推荐(0)
摘要:find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g' 阅读全文
posted @ 2018-10-15 16:24 🐳.城南 阅读(209) 评论(0) 推荐(0)
摘要:set tabstop=4 set number set cul set cuc hi CursorColumn ctermfg=3 ctermbg=2 function InsertPythonComment() exe 'normal'.1.'G' let line = getline('.') if line =~ '^#!.*$' || line =~ '^... 阅读全文
posted @ 2017-09-13 00:42 🐳.城南 阅读(151) 评论(0) 推荐(0)
摘要:root@ip-192-0-1-205:/home/ubuntu# cat /root/remove_back.sh #! /bin/bash historyDir=/backupsmongodb/ find $historyDir -maxdepth 1 -type d -mtime +10 -exec rm -rf {} \; 阅读全文
posted @ 2017-09-13 00:39 🐳.城南 阅读(270) 评论(0) 推荐(0)
摘要:root@ip-192-0-1-205:/home/ubuntu# cat /root/backups_mongo.sh #!/bin/bash DATE=$(date +%Y_%m_%d) PATH=/backupsmongodb/$DATE /bin/mkdir -p $PATH /usr/bin/mongodump --username *** --password *** --out ... 阅读全文
posted @ 2017-09-13 00:36 🐳.城南 阅读(359) 评论(0) 推荐(0)