上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 66 下一页
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 增加以下配置: 阅读全文
posted @ 2018-12-25 17:02 yshy 阅读(3721) 评论(0) 推荐(0)
摘要: 例如有以下格式数据: 现在需要将每一行的10位长度的数字串后面增加等号“=” 阅读全文
posted @ 2018-12-18 19:12 yshy 阅读(955) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 1:添加依赖 2:应用案例 阅读全文
posted @ 2018-10-28 09:08 yshy 阅读(755) 评论(0) 推荐(0)
摘要: 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 下一页