929355193的头像-动感记事小屋
管理员
这家伙很懒,什么都没有写...
腾讯云-救援模式直接dd换系统-centos76-命令日志-动感记事小屋

腾讯云-救援模式直接dd换系统-centos76-命令日志

[root@VM-20-9-centos ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/live-rw 7.8G 4.2G 3.6G 54% / devtmpfs 966M 0 966M 0% /dev tmpfs 1000M 4.0K 1000M 1% /dev/shm t...
8个月前
600
python中doc转pdf-动感记事小屋

python中doc转pdf

pip install pywin32 from win32com.client import gencache from win32com.client import constants, gencache def doctupdf(wordPath, pdfPath): ''' word转pdf :param wordPath: word文件路...
5年前
590
bbr安装脚本-动感记事小屋

bbr安装脚本

wget --no-check-certificate -O /opt/bbr.sh https://github.com/teddysun/across/raw/master/bbr.sh;chmod 755 /opt/bbr.sh;/opt/bbr.sh 重启后查看是否生效(包含bbr字符串) sysctl net.ipv...
9个月前
530
url中换行符\n是%0a-动感记事小屋

url中换行符\n是%0a

www.xxxx.com/a.php?a=123%0a456
3年前
500
Golang 容错处理-动感记事小屋

Golang 容错处理

package main import ( 'fmt' 'os' ) func main() { f, err := os.Open('/test.txt') if err != nil { fmt.Println(err) return } //根据f进行文件的读或写 fmt.Println(f.Name(), 'opened succ...
怎么查看crontab有没有执行-动感记事小屋

怎么查看crontab有没有执行

使用命令 `grep CRON /var/log/syslog` 或 `grep CRON /var/log/cron` 来查看crontab的执行记录
系统盘不够用扩容教程-动感记事小屋

系统盘不够用扩容教程

yum install -y cloud-utils-growpart df -h(以/dev/sda1这个盘为准) growpart /dev/sda 1 (上面1前面有个空格) resize2fs /dev/sda1
centos7怎么看有哪些分区-动感记事小屋

centos7怎么看有哪些分区

1、利用“blkid -o list”命令查看多有的分区; 2、利用“fdisk -l”命令显示出所有挂载和未挂载的分区;3、利用“cfdisk /dev/sda”查看分区; 4、利用“lsblk”命令查看分区和磁盘。
3年前
410
vue打包 element 字体图标 丢失-动感记事小屋

vue打包 element 字体图标 丢失

build目录下utils.js文件 if (options.extract) { return ExtractTextPlugin.extract({ use: loaders, fallback: 'vue-style-loader', publicPath: '../../' }) } else { return ['vue-style-lo...
5年前
390
centos 7 网络同步时间-动感记事小屋

centos 7 网络同步时间

yum -y install ntp ntpdate ntpdate ntp1.aliyun.com // 开机启动 vim /etc/rc.d/rc.local /usr/sbin/ntpdate ntp1.aliyun.com;/sbin/hwclock -w 定时任务 crontab -e 0 */1 * * * ntpdate ntp...
5年前
380