上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 66 下一页
摘要: 1、参考资源:https://iris-go.com/v10/start#Getting-Started 2、首先下载:go get -u github.com/kataras/iris,此处时间较长,需要稍等一会。 3、新建测试项目 注意:https://iris-go.com/v10/start 阅读全文
posted @ 2018-04-01 08:57 yshy 阅读(204) 评论(0) 推荐(0)
摘要: 依赖包: commons-logging-1.2.jar httpclient-4.5.3.jar httpcore-4.4.6.jar httpmime-4.5.3.jar 阅读全文
posted @ 2018-03-31 11:33 yshy 阅读(879) 评论(0) 推荐(0)
摘要: 1、读取文件内容 2、写入文件 阅读全文
posted @ 2018-03-31 11:24 yshy 阅读(539) 评论(0) 推荐(0)
摘要: 在golang中提供的encoding/json包可以编码JSON以及解码JSON数据。 1、编码JSON 使用json包中的Marshal函数进行编码,源码如下: (1)将一个结构体转码JSON 输出结果: 说明:json包在解析结构体时,如果遇到key为json的字段标签,则会按照一定规则解析该 阅读全文
posted @ 2018-03-30 22:21 yshy 阅读(246) 评论(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 阅读(4383) 评论(0) 推荐(0)
摘要: jar: zxing-core-3.2.0.jar zxing-javase-3.2.0.jar 阅读全文
posted @ 2018-03-20 19:43 yshy 阅读(242) 评论(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 阅读(139) 评论(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 阅读(1989) 评论(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 阅读(1586) 评论(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 阅读(4515) 评论(1) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 66 下一页