上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: #!/bin/bash echo '自动部署Springboot项目脚本...' # aaa.jar 项目jar包 pid=`ps -ef|grep aaa.jar|grep -v grep|grep -v restart|awk '{print$2}'` if [ -n "${pid}" ] ;t 阅读全文
posted @ 2020-06-06 11:39 天葬 阅读(695) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * (1)先计算出从格林威治时间公元2000年1月1 阅读全文
posted @ 2020-06-06 11:35 天葬 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: 本地Linux虚拟内网穿透 把服务器文件下载到本地磁盘 https://natapp.cn/ 1、注册账户点击免费隧道 2、创建一个隧道ssh使用tcp协议端口22 3、注意authtoken信息,后面需要 4、下载natapp 切换目录 cd/usr/local/ wget http://down 阅读全文
posted @ 2020-02-05 21:07 天葬 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 准备: 1、Linux系统 2、已经安装好jdk 开始: 选择要安装的tomcat版本:https://archive.apache.org/dist/tomcat/ 我这里使用的是tomcat 8.5.15 1、wget -b下载tar.gz,2、tar zxvf 解压当前目录,3、mv 重命名, 阅读全文
posted @ 2020-01-12 12:50 天葬 阅读(573) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { ArrayList<String> list = new ArrayList<String>(Arrays.asList("a", "b", "c", "d")); for (int i = 0; i < list.s 阅读全文
posted @ 2020-01-04 21:37 天葬 阅读(560) 评论(0) 推荐(0) 编辑
摘要: package image.images; import java.io.File; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.FileUtils; import org. 阅读全文
posted @ 2019-11-24 18:13 天葬 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 爬图片 阅读全文
posted @ 2019-11-16 00:02 天葬 阅读(233) 评论(0) 推荐(0) 编辑
摘要: (1)创建一个接口 package com.min.dao; public interface UserDao { public void save(String uname, String pwd); } (2)创建一个实现类将用户信息保存到mysql数据库中 package com.min.dao.impl; import com.min.dao.User... 阅读全文
posted @ 2019-04-21 11:16 天葬 阅读(935) 评论(0) 推荐(1) 编辑
摘要: 1、TreeMap集合倒序排列 import java.util.Comparator; /** * 比较算法的类,比较器 * @author Administrator * */ public class MyCmp implements Comparator { // 实现倒序 @Override public int compare(Object o... 阅读全文
posted @ 2018-09-05 20:00 天葬 阅读(4609) 评论(0) 推荐(0) 编辑
摘要: /** * 学生类 * @author Administrator * */ public class Student { private String sno ; private String sname ; private Integer score ; public Student(String sno, String sname, In... 阅读全文
posted @ 2018-09-05 18:29 天葬 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页
点击右上角即可分享
微信分享提示