会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
抠脚码农
新生代农民工
博客园
首页
新随笔
联系
订阅
管理
2022年4月25日
PHP获取两个日期之间所有月份
摘要: function getMonthForDates($sDate, $eDate) { $sTime = strtotime(date('Y-m-01', strtotime($sDate))); $eTime = strtotime(date('Y-m-01', strtotime($eDate)
阅读全文
posted @ 2022-04-25 10:48 抠脚码农
阅读(1295)
评论(0)
推荐(0)
2021年9月3日
CentOS7安装PHP
摘要: 1、下载php wget https://www.php.net/distributions/php-7.4.22.tar.gz 这里下载的是7.4.22,其他版本官网下载 2、解压 tar -zvxf php-7.4.22.tar.gz 3、进入目录 cd php-7.4.22 4、进行预编译 .
阅读全文
posted @ 2021-09-03 11:48 抠脚码农
阅读(5345)
评论(0)
推荐(0)
2021年9月2日
CentOS7安装Nginx
摘要: 1、下载nginx下载地址 或者直接使用命令下载 wget http://nginx.org/download/nginx-1.20.1.tar.gz 2、解压 tar -zvxf nginx-1.20.1.tar.gz 3、预编译 进入解压后的目录 nginx-1.20.1进行预编译 ./conf
阅读全文
posted @ 2021-09-02 17:02 抠脚码农
阅读(8268)
评论(2)
推荐(3)
CentOS7开启SSH连接
摘要: 1、先确定虚拟机是否装了openssh-server,执行 yum list installed |grep openssh-server 查看是否安装 这里显示已经安装,如果没有任何输出表示没有安装 , 执行 yum install openssh-server 命令安装 2、确定安装之后修改配置
阅读全文
posted @ 2021-09-02 16:09 抠脚码农
阅读(1340)
评论(0)
推荐(1)
2020年6月4日
VueRouter history模式在Nginx下刷新404
摘要: 打开 nginx.conf location / { root html/dist; index index.html; try_files $uri $uri/ /; #加上这一行 }
阅读全文
posted @ 2020-06-04 18:20 抠脚码农
阅读(1005)
评论(0)
推荐(0)
2020年5月28日
Vue自定义菜单排序(draggable属性实现拖放)
摘要: 代码简单 , 给你们提供一个思路 html部分 <template> <div> <ul> <li v-for="(item,index) in dataList" :key="item.id" draggable="true" @dragstart="start(item,index)" @dra
阅读全文
posted @ 2020-05-28 14:22 抠脚码农
阅读(2115)
评论(0)
推荐(0)
2017年10月17日
JS中简单的二级城市联动
摘要: 代码奉上: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>二级城市联动</title> </head> <body> <select id="one" onchange="func(this.value)"> <option
阅读全文
posted @ 2017-10-17 22:11 抠脚码农
阅读(20897)
评论(4)
推荐(1)
公告