会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YSHY
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
66
下一页
2019年3月7日
获取指定年月的第一天与最后一天
摘要: package com.utils; import java.util.*; import java.text.SimpleDateFormat; public class DateUtil { /** * 获取指定年月的第一天 * @param ym yyyy-MM * @return */ public static String...
阅读全文
posted @ 2019-03-07 20:39 yshy
阅读(3110)
评论(0)
推荐(0)
2019年3月6日
Nginx 反向代理504 Gateway Time-out
摘要: location /ssfwpt { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; prox...
阅读全文
posted @ 2019-03-06 12:45 yshy
阅读(1815)
评论(0)
推荐(0)
2019年2月27日
ubuntu下安装配置apache2与php
摘要: 1:安装apache2 sudo apt install apache2 2:修改端口号 sudo vi /etc/apache2/ports.conf 3:修改跟目录 在 /etc/apache2/sites-available 中修改 000-default.conf 中的DocumentRoo
阅读全文
posted @ 2019-02-27 16:56 yshy
阅读(5518)
评论(0)
推荐(0)
2019年1月22日
Convert ResultSet to JSON and XML
摘要: public static JSONArray convertToJSON(ResultSet resultSet) throws Exception { JSONArray jsonArray = new JSONArray(); while (resultSet.next()) { int total_rows...
阅读全文
posted @ 2019-01-22 09:39 yshy
阅读(511)
评论(0)
推荐(0)
2018年12月25日
通过Nginx反向代理之后客户端验证码session不一致造成无法验证通过的问题解决
摘要: 增加以下配置:
阅读全文
posted @ 2018-12-25 17:02 yshy
阅读(3721)
评论(0)
推荐(0)
2018年12月18日
使用Nodpad++正则替换
摘要: 例如有以下格式数据: 现在需要将每一行的10位长度的数字串后面增加等号“=”
阅读全文
posted @ 2018-12-18 19:12 yshy
阅读(955)
评论(0)
推荐(0)
2018年12月13日
Oracle表被锁无法问题处理
摘要: 1:查出锁定表的信息SELECT s.sid, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,s.terminal, s.logon_time, l.typeFROM v$session s, v$lock l
阅读全文
posted @ 2018-12-13 11:27 yshy
阅读(366)
评论(0)
推荐(0)
2018年12月11日
Linux 下Tomcat配置远程访问管理端
摘要: 1:修改Tomcat默认端口号,将默认的8080修改为8081 apache-tomcat-8.5.31\conf\server.xml 2:配置管理台用户权限信息,注意username与password apache-tomcat-8.5.31\conf\tomcat-users.xml 3:配置
阅读全文
posted @ 2018-12-11 13:16 yshy
阅读(1706)
评论(0)
推荐(0)
2018年10月28日
springboot mybatis pagehelper 分页问题
摘要: 1:添加依赖 2:应用案例
阅读全文
posted @ 2018-10-28 09:08 yshy
阅读(755)
评论(0)
推荐(0)
2018年8月28日
centos7安装配置mysql5.6
摘要: 1. 下载mysql的repo源 $ wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 2. 安装mysql-community-release-el7-5.noarch.rpm包 $ sudo rpm -ivh
阅读全文
posted @ 2018-08-28 08:02 yshy
阅读(305)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
66
下一页
公告