摘要:
每天0点备份 4点还原 SHEll=/bin/sh* 0 * * * /opt/backup.sh > /opt/log/backup0.log 2>&1 * 4 * * * /opt/restore.sh > /opt/log/restore4.log 2>&1 分钟 小时 日 月 星期 [用户] 阅读全文
摘要:
#!/bin/sh find /cicd/BuildRoot -maxdepth 1 -type d | while read dir; do count=$(find "$dir" -type f | wc -l) echo "$dir : $count" done 阅读全文
摘要:
修改密码相关 1 配置文件中my.cnf 的配置项msqld下面增加 skip-grant-tables 2 mysql -u root 登进去 切换mysql数据库 use mysq 密码置空 UPDATE user SET authentication_string = '' WHERE Use 阅读全文
摘要:
U盘量产 搞了块U盘显示128G 感觉是假的 , 看U盘主控 使用chipgenius 看不到,拆开后发现主控为 CBM2099SW flash为SDTNTCAMA-032G 确定是32G 下载aptool V7100 能识别到 设置擦除了量产信息 U盘容量恢复 但无法识别,需要量产 下载了好几个芯 阅读全文
摘要:
Use a for loop: for d in $(find /path/to/dir -maxdepth 1 -type d) do #Do something, the directory is accessible with $d: echo $d done >output_file It 阅读全文
摘要:
Username : username Password : password Database : //123.45.67.89:1521/orcl/ Connect as : Normal 阅读全文
摘要:
1 下载 https://www.archlinux.org/download/ 2 安装 https://wiki.archlinux.org/index.php/Installation_guide_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) 安装完grub 记 阅读全文
摘要:
解压文件夹:unzip 压缩文件名.zip “*/目录名/*.*” -d 目标文件夹名字 解压指定的文件:unzip 压缩文件名.zip “*/文件名.后缀” -d 目标文件夹名字 以上解压会保留zip中的完整目录结构 如 unzip aaa.zip 'gscloud/gscloud/*' -d / 阅读全文
摘要:
<farris-button id="openReport" class="d-none" (click)="farrisDialog.show()">Open Dialog</farris-button> <ng-template #buttonRef> <farris-button (click 阅读全文
摘要:
//基本版var groupBy = function(xs, key) { return xs.reduce(function(rv, x) { (rv[x[key]] = rv[x[key]] || []).push(x); return rv; }, {}); }; console.log(g 阅读全文