会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
WebLinuxStudy
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2024年3月8日
SourceTree拉取代码冲突问题的解决
摘要: 解决办法参考网址: https://blog.csdn.net/qq_22701869/article/details/107539711 其中: <<<<<<< Updated upstream 到 之间的代码是你拉取的远程分支的代码; 到 >>>>>>> Stashed changes 之间的代
阅读全文
posted @ 2024-03-08 18:44 WebLinuxStudy
阅读(47)
评论(0)
推荐(0)
编辑
2023年11月13日
php获取精确到微秒级的时间戳
摘要: <?phpdate_default_timezone_set("Asia/Shanghai"); list($uSecond, $second) = explode(' ', microtime());echo sprintf('%d%d', $second, (int)($uSecond * 10
阅读全文
posted @ 2023-11-13 17:38 WebLinuxStudy
阅读(135)
评论(0)
推荐(0)
编辑
2023年9月21日
php通过curl获取数据
摘要: <?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
阅读(43)
评论(0)
推荐(0)
编辑
2023年8月24日
Linux下载history命令信息
摘要: cd /tmp history > history_file.txt sz history_file.txt
阅读全文
posted @ 2023-08-24 17:31 WebLinuxStudy
阅读(74)
评论(0)
推荐(0)
编辑
2023年8月8日
php简单MYSQL操作类
摘要: <?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
阅读(64)
评论(0)
推荐(0)
编辑
2023年8月7日
python获取Excel文件中单元格公式的计算结果
摘要: 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
阅读(356)
评论(0)
推荐(0)
编辑
python中创建多个Sheet的方法
摘要: 第一步:安装Python的xlsxwriter库pip install xlsxwriter 第二步:导入xlsxwriter库import xlsxwriter 第三步:向Excel文件中添加多个Sheet# 创建Excel文件workbook = xlsxwriter.Workbook('tes
阅读全文
posted @ 2023-08-07 18:35 WebLinuxStudy
阅读(269)
评论(0)
推荐(0)
编辑
2023年7月14日
PHP时间戳
摘要: <?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
阅读(11)
评论(0)
推荐(0)
编辑
2023年6月26日
Linux下swap file “*.swp”already exists!解决方法
摘要: 问题:在 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
阅读(770)
评论(0)
推荐(0)
编辑
2023年6月15日
Linux中/var/spool/postfix/maildrop/占用inode索引及磁盘空间解决办法
摘要: 问题表现和检查: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
阅读(383)
评论(0)
推荐(0)
编辑
下一页