会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
怨灵骑士
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
[置顶]
docker nginx 反向代理
摘要: 上一篇介绍了docker 安装和docker-compose配置 使用docker pull nginx:1.12.0 编写docker-compose.yml nginx: image: 17daebd00e2c ports: - 80:80 volumes: - /home/conf/nginx
阅读全文
posted @ 2017-05-27 17:35 怨灵骑士
阅读(497)
评论(0)
推荐(0)
[置顶]
docker 部署 nginx+php+mysql
摘要: 系统:centos7 使用root账户 开放80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent 安装docker yum install docker -y 安装docker-compose yum install epel-r
阅读全文
posted @ 2017-05-25 11:51 怨灵骑士
阅读(620)
评论(0)
推荐(0)
2021年4月2日
jeecg-boot 自定义shiro返回json
摘要: 在 JwtFilter 文件中 @Override protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) { try { executeLogin
阅读全文
posted @ 2021-04-02 18:05 怨灵骑士
阅读(388)
评论(0)
推荐(0)
2019年5月8日
jquery-weui picker组件实现只选择年月
摘要: var date = new Date() var month = date.getMonth()+1 //获取当前月份 $('#selectTime').picker({ toolbarTemplate:'取消完成', cols:[ { textAlign: 'left', ...
阅读全文
posted @ 2019-05-08 17:01 怨灵骑士
阅读(3419)
评论(0)
推荐(0)
2018年9月5日
ios端微信浏览器禁止上下滑动
摘要: 在body里的第一个div容器中添加 position:fixed
阅读全文
posted @ 2018-09-05 10:26 怨灵骑士
阅读(716)
评论(0)
推荐(0)
2018年7月31日
mysql 统计连续天数
摘要: 以下为例子数据 图1 图1 首先根据要求取出BeforeMeal要在7.0以下 并且 bingAfterMeal要在11.1以下 select AccountId,CreateTime from DiabetesRecord where BeforeMeal < 7.0 and AfterMeal
阅读全文
posted @ 2018-07-31 16:06 怨灵骑士
阅读(5865)
评论(0)
推荐(0)
2018年5月23日
mysql 省市数据
摘要: CREATE TABLE `province` ( `id` INT(11) DEFAULT NULL, `name` VARCHAR(50) DEFAULT NULL ) ENGINE=INNODB DEFAULT CHARSET=utf8; /*省份*/ insert into province values(1,'北京市'); insert into province va...
阅读全文
posted @ 2018-05-23 14:42 怨灵骑士
阅读(878)
评论(0)
推荐(0)
2018年5月22日
php 获取毫秒时间戳
摘要: function getMsec(){//返回毫秒时间戳 $arr = explode(' ',microtime()); $hm = 0; foreach($arr as $v){ $hm += floor($v * 1000); } return $hm; }
阅读全文
posted @ 2018-05-22 10:01 怨灵骑士
阅读(773)
评论(0)
推荐(0)
2018年4月10日
create-react-app 打包后文件路径问题
摘要: 在package.json 加入
阅读全文
posted @ 2018-04-10 15:50 怨灵骑士
阅读(917)
评论(0)
推荐(0)
php nginx 获取header信息
摘要: nginx中可能没有getallheaders函数 因此编写新函数
阅读全文
posted @ 2018-04-10 15:49 怨灵骑士
阅读(1637)
评论(0)
推荐(0)
ubuntu或者debian安装php-gd扩展错误
摘要: ‘./configure’ ‘–prefix=/usr/local/php’ ‘–with-config-file-path=/etc’ ‘–with-mysql=/usr/local/mysql’ ‘–with-mysqli=/usr/local/mysql/bin/mysql_config’ ‘
阅读全文
posted @ 2018-04-10 15:30 怨灵骑士
阅读(693)
评论(0)
推荐(0)
2017年12月7日
php xml字符串转数组
摘要: function xmltoarr($path){//xml字符串转数组 $xmlfile = file_get_contents($path);//提取xml文档中的内容以字符串格式赋给变量 $ob= simplexml_load_string($xmlfile,'SimpleXMLElement
阅读全文
posted @ 2017-12-07 10:59 怨灵骑士
阅读(3005)
评论(0)
推荐(0)
1
2
下一页
公告