WebLinuxStudy

导航

 
上一页 1 2 3 4 5 6 ··· 20 下一页

2023年9月21日

摘要: <?phpheader("Content-Type:text/html;charset=UTF-8");$url = 'https://www.baidu.com';print_r(curlContent($url));function curlContent($url, $method = 'ge 阅读全文
posted @ 2023-09-21 11:09 WebLinuxStudy 阅读(80) 评论(0) 推荐(0)
 

2023年8月24日

摘要: cd /tmp history > history_file.txt sz history_file.txt 阅读全文
posted @ 2023-08-24 17:30 WebLinuxStudy 阅读(185) 评论(0) 推荐(0)
 

2023年8月8日

摘要: <?php/*简单MYSQL操作类include './mysqlDb.php';$mysql = null;try { $mysql = new db('localhost', 'root', 'root', 'test'); //SELECT $mysql->select('SELECT * F 阅读全文
posted @ 2023-08-08 11:01 WebLinuxStudy 阅读(86) 评论(0) 推荐(0)
 

2023年8月7日

摘要: import openpyxl# 打开Excel文件wb = openpyxl.load workbook('data.xlsx', data_only=True)# 获取WorkSheetws = wb.worksheets[0]for row in ws.rows: print(row[0].v 阅读全文
posted @ 2023-08-07 18:44 WebLinuxStudy 阅读(663) 评论(0) 推荐(0)
 
摘要: 第一步:安装Python的xlsxwriter库pip install xlsxwriter 第二步:导入xlsxwriter库import xlsxwriter 第三步:向Excel文件中添加多个Sheet# 创建Excel文件workbook = xlsxwriter.Workbook('tes 阅读全文
posted @ 2023-08-07 18:35 WebLinuxStudy 阅读(582) 评论(0) 推荐(0)
 

2023年7月14日

摘要: <?phpheader("Content-Type:text/html;charset=UTF-8");date_default_timezone_set("Asia/Shanghai");//1、当前时间戳echo ' 当前时间戳 ' . '<br>';echo 'time()' . '<br>' 阅读全文
posted @ 2023-07-14 11:23 WebLinuxStudy 阅读(27) 评论(0) 推荐(0)
 

2023年6月26日

摘要: 问题:在 Linux 下的 vim 编辑过程中,由于某种原因异常退出正在编辑的文件,再次编辑该文件时,会出现如下提示:[O]pen Read-Only, (E)dit anyway, ®ecover, (D)elete it, (Q)uit, (A)bort: 原因:使用vim编辑文件实际是先cop 阅读全文
posted @ 2023-06-26 16:32 WebLinuxStudy 阅读(2175) 评论(0) 推荐(0)
 

2023年6月15日

摘要: 问题表现和检查:1.运行df -i 查看inode使用是否满;2.查看/var/spool/postfix/maildrop是否有非常多的小文件,ls直接卡死等情况; 解决:1、清空 /var/spool/postfix/maildrop/ 目录下的内容cd /var/spool/postfix/m 阅读全文
posted @ 2023-06-15 17:57 WebLinuxStudy 阅读(1198) 评论(0) 推荐(0)
 

2023年6月7日

摘要: 参考: https://blog.csdn.net/oDJMoney/article/details/125825515 阅读全文
posted @ 2023-06-07 18:58 WebLinuxStudy 阅读(14) 评论(0) 推荐(0)
 
摘要: 参考: https://blog.csdn.net/qq_31567831/article/details/116041858 阅读全文
posted @ 2023-06-07 18:57 WebLinuxStudy 阅读(25) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 ··· 20 下一页