1 2 3 4 5 ··· 123 下一页
摘要: 摘自: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 阅读(2) 评论(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 阅读(7) 评论(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 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 双面打印机: 型号:LaserJet Pro MFP 4104dw 功能:激光打印、复印、扫描一体机 阅读全文
posted @ 2024-09-26 09:41 LiuYanYGZ 阅读(4) 评论(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 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 一、概述1.1 命令简介expect 是由Don Libes基于Tcl(Tool Command Language )语言开发的,是一种脚本语言,主要应用于自动化交互式操作的场景,借助Expect处理交互的命令,可以将交互过程如:ssh登录,ftp登录等写在一个脚本上,使之自动化完成。尤其适用于需要 阅读全文
posted @ 2024-08-31 14:52 LiuYanYGZ 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/qq_45882426/article/details/138275975 #!/usr/bin/expect -f set timeout 60 set ipaddr [lindex $argv 0] set username [lindex $a 阅读全文
posted @ 2024-08-31 14:45 LiuYanYGZ 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/Destiny_zc/article/details/118532083 文章目录a.0 库a.0.最小cpp系统构成a.1. 不使用用自定义库文件a.2.使用库文件a.2.1 生成静态库a.2.2 生成共享库a.3.使用第三库a.3.1 使用第三库 阅读全文
posted @ 2024-08-23 00:15 LiuYanYGZ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://zhuanlan.zhihu.com/p/76975231 Modern CMake 简介 历史背景 CMake是一个构建系统生成器(build-system generator)。常见的构建系统,有Visual Studio,XCode,Make等等。CMake可以支持不同平 阅读全文
posted @ 2024-08-23 00:12 LiuYanYGZ 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://wenku.baidu.com/view/4db705bdba0d6c85ec3a87c24028915f814d8462.html?_wkts_=1724332395577&bdQuery=cmake+%E9%9D%A2%E8%AF%95%E9%A2%98 阅读全文
posted @ 2024-08-23 00:10 LiuYanYGZ 阅读(18) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 123 下一页