摘要: <?php exec('whoami 2>&1', $res); var_dump($res); exec('cd ' . dirname(__FILE__) . '/../ &&sudo git pull origin master 2>&1', $res, $rc); var_dump($rc) 阅读全文
posted @ 2023-06-20 09:43 归一山人 阅读(3) 评论(0) 推荐(0) 编辑
摘要: // 推荐用这种, 安卓 ios都没问题<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-s 阅读全文
posted @ 2023-06-14 15:37 归一山人 阅读(20) 评论(0) 推荐(0) 编辑
摘要: const checkFile = (file) => { fullscreenLoading.value = true console.log(file) // application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 格式 阅读全文
posted @ 2023-05-11 15:58 归一山人 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://fengkui.net/articles/117 // 实现css background: linear-gradient(-66deg, rgba(222,162,79,0.9) 0%, rgba(255,236,161,0.94) 39.74609375%, #DEA 阅读全文
posted @ 2023-04-20 09:17 归一山人 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 原文 :https://blog.csdn.net/w605283073/article/details/111770386 https://www.pudn.com/news/62f8c6905425817ffc462029.html mvn打包报错:No compiler is provided 阅读全文
posted @ 2022-11-09 17:55 归一山人 阅读(234) 评论(0) 推荐(0) 编辑
摘要: package util import "math" // R 地球半径,单位米 const R = 6367000 // Distance // lonA, latA分别为A点的纬度和经度 // lonB, latB分别为B点的纬度和经度 // 返回的距离单位为米 func Distance(ln 阅读全文
posted @ 2022-10-22 10:27 归一山人 阅读(489) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # hostnamectl source /etc/profile go version cd /root/go_path/src/job-moment git pull origin product -f ###########################招聘 go b 阅读全文
posted @ 2022-09-09 10:55 归一山人 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 原文链接 https://www.zhihu.com/question/436447008 阅读全文
posted @ 2022-09-03 10:42 归一山人 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ddddddd 阅读全文
posted @ 2022-09-02 23:03 归一山人 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 宝塔面板后台有计划任务功能,可以定时清理内存,备份数据,并且自带了php守护插件,但是有时MySQL服务会停止,需要建一个计划任务去定时检测mysql状态,如果停止了就重启。 低内存下MySQL自动停止的解决方法,搜索了一下,在宝塔面板官方论坛找到了一个脚本,可以实现MySQL自动重启。 1.计划任 阅读全文
posted @ 2022-09-01 15:21 归一山人 阅读(819) 评论(0) 推荐(0) 编辑