上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要: 原文链接https://www.cnblogs.com/zhabayi/p/6419938.html 阅读全文
posted @ 2020-04-10 16:07 _DC 阅读(243) 评论(0) 推荐(0) 编辑
摘要: //点击复制到剪切板 $("#copytocutpad").click(function(){ var div = document.getElementById('sharedurl'); if (document.body.createTextRange) { var range = docum 阅读全文
posted @ 2020-04-10 16:05 _DC 阅读(1737) 评论(0) 推荐(1) 编辑
摘要: 增加增加 --unsafe-perm 参数 阅读全文
posted @ 2020-04-02 09:58 _DC 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 读取导出jar包的相同目录的配置文件 System.getProperty("user.dir")+"\\"+fileName; 读取类所在目录的配置文件按 InputStreamis=TestAction.class.getClassLoader().getResourceAsStream("te 阅读全文
posted @ 2020-03-31 13:42 _DC 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 参考自:https://blog.csdn.net/u012527802/article/details/70172357 import javax.net.ssl.*; import java.io.*; import java.net.HttpURLConnection; import java 阅读全文
posted @ 2020-03-27 16:52 _DC 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.cnblogs.com/gisblogs/p/3985393.html 一、CPU 使用proc文件系统,"proc文件系统是一个伪文件系统,它只存在内存当中,而不占用外存空间。它以文件系统的方式为访问系统内核数据的操作提供接口。用户和应用程序可以通过proc得到系 阅读全文
posted @ 2020-03-27 16:48 _DC 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 0 /** * 获取带宽上传下载速度 * @return */ public String getNetWorkSpeed() { boolean result = false; String detailInfo = ""; DecimalFormat df = new DecimalFormat 阅读全文
posted @ 2020-03-27 16:43 _DC 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 白 float f = 0.123456f; float f2 = (float)(Math.round(f*100))/100; System.out.println(f2); //结果:0.12 阅读全文
posted @ 2020-03-27 13:44 _DC 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: 启动进程 nohup java -jar babyshark-0.0.1-SNAPSHOT.jar > log.file 2>&1 & 上面的2 和 1 的意思如下: 0 标准输入(一般是键盘)1 标准输出(一般是显示屏,是用户终端控制台)2 标准错误(错误信息输出) 关闭进程 //关闭进程 ps 阅读全文
posted @ 2020-03-26 18:40 _DC 阅读(14001) 评论(0) 推荐(0) 编辑
摘要: Get请求 curl命令模拟Get请求: 1、使用curl命令: curl "http://www.baidu.com" 如果这里的URL指向的是一个文件或者一幅图都可以直接下载到本地 curl -i "http://www.baidu.com" 显示全部信息 curl -I "http://www 阅读全文
posted @ 2020-03-26 18:08 _DC 阅读(1727) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页