摘要: ###1 import CryptoJS from 'crypto-js' export const encrypt = (word) => { var key = CryptoJS.enc.Utf8.parse("46cc793c53dc451b"); var srcs = CryptoJS.en 阅读全文
posted @ 2020-07-10 19:38 zhanglw 阅读(855) 评论(0) 推荐(0)
摘要: log.sh 文件 #!/bin/bash pid_path=/usr/local/nginx/logs/nginx.pid basePath=/ext3/www/logs/ logPathDir=${basePath}$(date +"%Y%m") mkdir -p ${logPathDir} m 阅读全文
posted @ 2020-07-10 17:43 zhanglw 阅读(118) 评论(0) 推荐(0)
摘要: ###常用命令 crontab -u //设定某个用户的cron服务 crontab -l //列出某个用户cron服务的详细内容 crontab -r //删除某个用户的cron服务 crontab -e //编辑某个用户的cron服务 crontab -i //打印提示,输入yes等确认信息 / 阅读全文
posted @ 2020-07-10 17:26 zhanglw 阅读(253) 评论(0) 推荐(0)
摘要: location /resources/ { # 文件下载 add_header Content-Type "application/octet-stream"; # 避免浏览器打开文件 alias /resources/; } 阅读全文
posted @ 2020-07-10 16:32 zhanglw 阅读(1636) 评论(0) 推荐(0)