上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页
摘要: 1.单实例和多实例 单实例一般会在类中自己实例化,通过getInstance获取该实例。ps: /** * 单例模式 */ public class Singleton { private static Singleton singleton = new Singleton(); private S 阅读全文
posted @ 2017-01-16 10:11 zipon 阅读(4683) 评论(0) 推荐(1) 编辑
摘要: http://www.bejson.com/json2javapojo/ 付代码代码转换示例: 阅读全文
posted @ 2017-01-05 17:56 zipon 阅读(5836) 评论(0) 推荐(1) 编辑
摘要: api使用比较全。 生成xml文件: 自己封装的xml解析方法。 示例2: 阅读全文
posted @ 2016-12-25 15:22 zipon 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 一、 平台:安卓app 代码:重写onresume事件时,没有重新获取sessionId导致记录一下bug重现过程:1.登陆2.退出用户(不退出app)3.重新登录4.home键或者息屏5.再进入app(重现需要重新登录的bug1)6.直接退出app7.进入app(发现此时不需要登陆bug2) 阅读全文
posted @ 2016-12-23 15:50 zipon 阅读(325) 评论(1) 推荐(0) 编辑
摘要: 自动化学习历程图: 阅读全文
posted @ 2016-12-22 11:27 zipon 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1.http://www.importnew.com/22757.html spring chache缓存的使用。 2.http://www.importnew.com/22783.html MyBatis DAO层框架的使用。 阅读全文
posted @ 2016-12-22 09:36 zipon 阅读(461) 评论(0) 推荐(0) 编辑
摘要: idea toString()模板,将对象toString()为json格式。 1. 2.点击新增 阅读全文
posted @ 2016-12-21 17:07 zipon 阅读(13560) 评论(0) 推荐(2) 编辑
摘要: 1.在需要远程的ubuntu服务器上生成密钥,指令:ssh-keygen 一路默认下去,会在~/.ssh目录下生成 id_rsa(私钥)、id_rsa.pub(公钥) 2.复制公钥文件id_rsa.pub改名为authorized_keys,只有这个公钥里用户(这里是root)可以连接 3.将密钥中 阅读全文
posted @ 2016-12-21 00:04 zipon 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: 1 2 4.0.0 3 com.bjhit.eranges 4 nsaddpserver 5 0.0.1-SNAPSHOT 6 war 7 nsaddpserver 8 9 http://maven.apache.org 10 11 12 UTF-8 13 ... 阅读全文
posted @ 2016-12-20 15:42 zipon 阅读(4243) 评论(0) 推荐(0) 编辑
摘要: 亲测搜狐可用,其他备用 1、修改源地址:cp /etc/apt/sources.list /etc/apt/sources.list.bakvim /etc/apt/sources.list 修改之后要记得apt-get update 加入如下内容(中科大的): deb http://mirrors 阅读全文
posted @ 2016-12-20 10:47 zipon 阅读(8060) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页