上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 66 下一页
摘要: 1、读取文件内容 2、写入文件 阅读全文
posted @ 2018-03-31 11:24 yshy 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 在golang中提供的encoding/json包可以编码JSON以及解码JSON数据。 1、编码JSON 使用json包中的Marshal函数进行编码,源码如下: (1)将一个结构体转码JSON 输出结果: 说明:json包在解析结构体时,如果遇到key为json的字段标签,则会按照一定规则解析该 阅读全文
posted @ 2018-03-30 22:21 yshy 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 依赖jar包 commons-codec-1.2.jar commons-httpclient-3.1.jar commons-logging-1.2.jar 阅读全文
posted @ 2018-03-22 13:58 yshy 阅读(4296) 评论(0) 推荐(0) 编辑
摘要: jar: zxing-core-3.2.0.jar zxing-javase-3.2.0.jar 阅读全文
posted @ 2018-03-20 19:43 yshy 阅读(236) 评论(0) 推荐(0) 编辑
摘要: (1)停止mysql# /etc/init.d/mysql stop(2)以不检查权限的方式启动# mysqld --skip-grant-tables &(3)登录mysql修改root用户口令# mysql -u rootmysql> update mysql.user set password 阅读全文
posted @ 2018-02-08 08:36 yshy 阅读(132) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws ScriptException, FileNotFoundException, NoSuchMethodException { ScriptEngine engine = new ScriptEngineManager().getEngineByName("javascript"); ... 阅读全文
posted @ 2018-02-05 22:06 yshy 阅读(1972) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { List list = ListUtils.intersection(getFpList1(), getFpList2()); for(Fpxx fp:list){ System.out.println(fp); } ... 阅读全文
posted @ 2018-01-08 20:28 yshy 阅读(1565) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String keyWord = "chrome.exe"; Runtime runtime = Runtime.getRuntime(); try { Process process = runtime.e... 阅读全文
posted @ 2018-01-04 11:14 yshy 阅读(4472) 评论(1) 推荐(0) 编辑
摘要: 1:upload.html 2:后台(Spring-boot) 阅读全文
posted @ 2017-12-28 18:58 yshy 阅读(22803) 评论(1) 推荐(1) 编辑
摘要: 1:首先到apache-jmeter-3.0\lib\ext目录下引用以下两个jar包到Java工程里面 ApacheJMeter_core.jar ApacheJMeter_java.jar 2:新建一个测试类继承AbstractJavaSamplerClient 并实现Serializable 阅读全文
posted @ 2017-12-20 14:36 yshy 阅读(2754) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 66 下一页