上一页 1 2 3 4 5 6 7 8 ··· 127 下一页
摘要: 2024.11.11 08:46:52 在公司附近十字路口(北京市朝阳区) 我:摩托车,是前车,左转车道静止 对方:汽车,是后车,左转车道静止 后车突然溜车顶我摩托尾部,当场向右倒车,后刹车踏板断掉,后挡泥板车牌贴到了车轱辘上 我当时要了300元修车费,加了微信,跟对方讲不够再要 我到公司后,上午发 阅读全文
posted @ 2024-11-14 09:59 LiuYanYGZ 阅读(60) 评论(0) 推荐(0)
摘要: 1)git 分支改名 首先,确保你已经检出到要重命名的分支上。 git checkout old-branch-name 然后,使用git branch -m命令来重命名当前分支。 git branch -m new-branch-name 如果你想重命名其他分支,你可以使用以下命令: git br 阅读全文
posted @ 2024-10-31 11:06 LiuYanYGZ 阅读(21) 评论(0) 推荐(0)
摘要: apt-get install bash-completion vim ~/.bashrc 在文件的最后一行加如下代码 if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi source ~/.bashrc 阅读全文
posted @ 2024-10-22 17:41 LiuYanYGZ 阅读(86) 评论(0) 推荐(0)
摘要: 摘自:https://zhuanlan.zhihu.com/p/681893299 摘自:https://www.cnblogs.com/butterflybay/p/13697082.html 本地分支与远端分支名称不相同时,在本地的branch_A分支提交到远端的branch_B分支 git c 阅读全文
posted @ 2024-10-22 17:32 LiuYanYGZ 阅读(59) 评论(0) 推荐(0)
摘要: 摘自:https://www.jb51.net/program/311452tbw.htm // 创建一个空的Vector MY_VECTOR* vector_create() { MY_VECTOR *v = (MY_VECTOR*)calloc(1, sizeof(MY_VECTOR)); if 阅读全文
posted @ 2024-10-15 16:56 LiuYanYGZ 阅读(39) 评论(0) 推荐(0)
摘要: 在Linux中,您可以使用socat或nc(netcat)工具来监听特定的端口。以下是使用这两种工具的简单示例: 使用socat: 安装socat(如果尚未安装): sudo apt-get install socat 开启一个监听在TCP端口8080上的socat实例: socat TCP-LIS 阅读全文
posted @ 2024-10-15 16:35 LiuYanYGZ 阅读(1242) 评论(0) 推荐(0)
摘要: #!/bin/bash function clear_log { file1="/root/log.txt" file2="/root/log2.txt" if find ${file1} -size +5120k | grep ${file1} > /dev/null ; then cat /de 阅读全文
posted @ 2024-10-12 16:37 LiuYanYGZ 阅读(28) 评论(0) 推荐(0)
摘要: 双面打印机: 型号:LaserJet Pro MFP 4104dw 功能:激光打印、复印、扫描一体机 阅读全文
posted @ 2024-09-26 09:41 LiuYanYGZ 阅读(73) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/qq_56999918/article/details/130499688 1 package main 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 func Timer_stop(t *time.Timer) { 9 阅读全文
posted @ 2024-09-04 10:49 LiuYanYGZ 阅读(22) 评论(0) 推荐(0)
摘要: 一、概述1.1 命令简介expect 是由Don Libes基于Tcl(Tool Command Language )语言开发的,是一种脚本语言,主要应用于自动化交互式操作的场景,借助Expect处理交互的命令,可以将交互过程如:ssh登录,ftp登录等写在一个脚本上,使之自动化完成。尤其适用于需要 阅读全文
posted @ 2024-08-31 14:52 LiuYanYGZ 阅读(1593) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 127 下一页