1 2 3 4 5 ··· 10 下一页
摘要: 安装 yum install bzip2 (wget -O - pi.dk/3 || curl pi.dk/3/) | bash 使用 parallel -j 1000 ./dupc ::: {1..10000} 优化 提升文件句柄数量 通过编辑 /etc/security/limits.conf 阅读全文
posted @ 2024-08-26 17:19 郭小睿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 在使用 Git 时,可以通过 .gitignore 文件来忽略特定的目录。以下是详细步骤: 步骤1:创建或编辑 .gitignore 文件 在你的项目根目录下创建或编辑 .gitignore 文件。如果这个文件不存在,你可以创建一个: touch .gitignore 步骤2:添加忽略目录 在 .g 阅读全文
posted @ 2024-07-28 02:03 郭小睿 阅读(12) 评论(0) 推荐(0) 编辑
摘要: https://weui.io/# https://github.com/Tencent/weui.js 阅读全文
posted @ 2024-07-24 15:36 郭小睿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: https://cdn.bytedance.com/ https://www.bootcdn.cn/ 阅读全文
posted @ 2024-06-24 10:48 郭小睿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: cat >/etc/apt/sources.list <<EOF deb http://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.c 阅读全文
posted @ 2024-05-30 15:04 郭小睿 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 查看正在运行的虚拟机 esxcli vm process list 获取所有注册的虚拟机 vim-cmd vmsvc/getallvms 重启,可以移除掉卡死的任务 /etc/init.d/hostd restart 杀死虚拟机进程 esxcli vm process kill --type= [s 阅读全文
posted @ 2024-05-03 11:50 郭小睿 阅读(374) 评论(0) 推荐(0) 编辑
摘要: docker run -d --restart=always --name postgres -v /opt/pgsql/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=123456 -p 54321:5432 postgres:10.12 阅读全文
posted @ 2024-04-08 13:57 郭小睿 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1、磁盘写入率iostat,cpu占用率top/pidstat/mpstat,内存占用率mpstat,交换分区free同时也需要关注。 阅读全文
posted @ 2024-04-03 12:27 郭小睿 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1、先查看cpu数量 cat /proc/cpuinfo |grep "physical id"|uniq|wc -l 或者 nproc 2、使用uptime查看系统平均负载。这里显示的是 1 分钟、5 分钟和 15 分钟的平均负载。 15:36:33 up 1 day, 4:09, 1 user, 阅读全文
posted @ 2024-04-02 15:55 郭小睿 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 在执行npm run build的时候遇到了错误:TypeError: Class extends value undefined is not a constructor or null;而执行npm run serve是可以正常执行的,报错如下: building for production. 阅读全文
posted @ 2024-03-19 13:22 郭小睿 阅读(1058) 评论(0) 推荐(1) 编辑
摘要: pip3 install --upgrade asn1crypto --user 阅读全文
posted @ 2024-03-12 23:39 郭小睿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: the PyQt5 5.14.0 is broken because can't not install on resp pi 3 . you can to install a version of PyQt5 that working fine on resp. follow the steps: 阅读全文
posted @ 2024-03-12 23:39 郭小睿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 报错ImportError: cannot import name ‘Image’ from ‘PIL’ 的时候大多数情况下是由于PIL版本和当前python的版本不兼容。 pip uninstall Pillow pip install "pillow<7.0.0" 阅读全文
posted @ 2024-03-12 23:38 郭小睿 阅读(259) 评论(0) 推荐(0) 编辑
摘要: apt-key adv --keyserver keyserver.ubuntu.com --recvB7B3B788A8D3785C 阅读全文
posted @ 2024-03-12 15:56 郭小睿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/ 阅读全文
posted @ 2024-03-11 11:23 郭小睿 阅读(637) 评论(0) 推荐(0) 编辑
摘要: UPDATE ey_archives SET add_time = UNIX_TIMESTAMP('2022-01-01') + FLOOR(0 + RAND() * (UNIX_TIMESTAMP('2024-02-29') - UNIX_TIMESTAMP('2022-01-01') + 1)) 阅读全文
posted @ 2024-03-05 23:58 郭小睿 阅读(13) 评论(0) 推荐(0) 编辑
摘要: result="" for (var i = 2; i <= 100; i++) { var xpath = '//*[@id="app"]/div/div[3]/div[1]/div[3]/div/div[2]/div/div[1]/div[1]/div/div/div/div/div/div/d 阅读全文
posted @ 2024-01-16 14:17 郭小睿 阅读(36) 评论(0) 推荐(0) 编辑
摘要: windows @echo off REM 登陆ftp下载文件 set ftpUser=test_user set ftpPass=123456 set ftpIP=192.168.1.205 set ftpFolder=/ set LocalFolder=C:/Users/Administrato 阅读全文
posted @ 2023-12-25 16:49 郭小睿 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 前言 可参考:https://www.linuxprobe.com/ftp-deployment-authentication.html 因为手动敲代码太慢了,所以我总结了一份脚本,方便快速安装。 准备工作 安装之前的准备工作 yum -y install vsftpd systemctl star 阅读全文
posted @ 2023-12-25 16:46 郭小睿 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 现有的任务复制出来 crontab -l > cron.cron 新的写到文件里 echo '20 0 * * * bash ~/clean.sh' >> cron.cron 再把任务加到crontab crontab cron.cron 阅读全文
posted @ 2023-12-24 23:26 郭小睿 阅读(257) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 10 下一页