- 博客(347)
- 收藏
- 关注
转载 jdk alternatives
http://www.cnblogs.com/plinx/archive/2013/06/01/3113106.htmlhttp://blog.csdn.net/xyzxyzxz/article/details/6920346转载于:https://www.cnblogs.com/chuiyuan/p/6008434.html
2016-10-28 16:38:00
127
转载 mybatis resultMap使用
http://www.cnblogs.com/rollenholt/p/3365866.htmlhttp://www.cnblogs.com/charlexu/archive/2013/03/15/2961116.html转载于:https://www.cnblogs.com/chuiyuan/p/5889197.html
2016-09-20 16:02:00
139
转载 A better singleton without synchronized.
http://stackoverflow.com/questions/16106260/thread-safe-singleton-classpublic class Something { private Something() {} private static class LazyHolder { private static fi...
2016-09-20 14:47:00
135
转载 python环境管理
http://www.cnblogs.com/harvey888/p/5465452.html转载于:https://www.cnblogs.com/chuiyuan/p/5859873.html
2016-09-10 17:39:00
130
转载 html in spring
http://stackoverflow.com/questions/15479213/how-to-serve-html-files-with-springhttp://stackoverflow.com/questions/16598594/how-to-map-requests-to-html-file-in-spring-mvc/32628600#32628600http...
2016-08-29 23:08:00
73
转载 Spring @Service, @Component, @Repository, @Controller
转载于:https://www.cnblogs.com/chuiyuan/p/5817761.html
2016-08-29 14:06:00
54
转载 java web开发时遇到 的问题
(1)修改代码后浏览器还是不改变的问题:主要是浏览器的缓存导致的,需要禁用缓存,参考 http://feilong.org/firefox-ie-no-cache转载于:https://www.cnblogs.com/chuiyuan/p/5810761.html...
2016-08-26 16:06:00
66
转载 java web 目录结构
http://www.cnblogs.com/yudy/archive/2012/06/26/2563638.html转载于:https://www.cnblogs.com/chuiyuan/p/5809224.html
2016-08-26 10:02:00
70
转载 struts2+spring+hibernate
参考1.http://blog.csdn.net/liujiahan629629/article/details/215625972.http://blog.csdn.net/tkd03072010/article/details/7468769spring AOP中的相关概念:在Spring官网关于AOP的视频教程中,是这样定义的: ·Join point...
2016-08-25 10:33:00
70
转载 deploy java web in IDEA with tomcat
全过程参考 :http://blog.csdn.net/simba_cheng/article/details/50994752遇到的问题:tomcat deploy error: Error copying configuration files from ...解决办法:sudo chmod -R 755 /usr/local/appache-tomcat转载于:https://...
2016-08-25 09:36:00
177
转载 mongodb install
ref:http://stackoverflow.com/questions/25624247/uninstall-mongodb-correctly-and-install-mongodb-again转载于:https://www.cnblogs.com/chuiyuan/p/5745226.html
2016-08-07 00:06:00
53
转载 gitignore
要想用gitignore忽略文件,必须先把它们从staged中移除:commit你已有的改变,保存当前的工作。git rm --cached file/path/to/be/ignored。git add .git commit -m "fixed untracked files"文/willheng(简书作者)原文链接:http://www.jianshu.com/p/4a1f4b...
2016-07-31 22:13:00
60
转载 Mysql remote connection
1.修改mysql 配置文件在/etc/mysql/my.cnf中,注释掉skip-external-lockingbind-address = 127.0.0.12.重启mysqlsudo /etc/init.d/mysql restart这时如果运行sudo lsof -i -P | grep 3306可以看到下面的内容:mysqld 215...
2016-05-23 18:02:00
139
转载 Android事件分发机制
http://blog.csdn.net/pi9nc/article/details/9281829http://www.cnblogs.com/sunzn/archive/2013/05/10/3064129.htmlhttp://www.cnblogs.com/linjzong/p/4191891.html转载于:https://www.cnblogs.com/chuiy...
2016-05-23 11:52:00
51
转载 View坐标分析汇总
view 坐标分析参考View事件分析汇总一. 移动View的7种方法1.Layoutlayout(getLeft()+50,getTop()+100,getRight()+50,getBottom()+100);getLeft()等值改变。(这里指的有getLeft/getRight/getTop/getBottom)2...
2016-05-23 11:36:00
59
转载 Android MVP
REFhttp://kaedea.com/2015/10/11/android-mvp-pattern/转载于:https://www.cnblogs.com/chuiyuan/p/5510545.html
2016-05-19 22:57:00
60
转载 linux charles install and crack
(1) Download charles from office web.(2) Replace charles.jar in lib with you own charles.jar file.You can download it fromhttp://pan.baidu.com/disk/home#list/path=%2F转载于:https://www.cn...
2016-05-18 11:07:00
67
转载 ubuntu 14.04 install ap-hotspot
http://www.cnblogs.com/csulennon/p/4418734.htmlhttp://blog.csdn.net/wdjhzw/article/details/39118651http://blog.csdn.net/wdjhzw/article/details/40377589http://askubuntu.com/questions/470512/...
2016-05-17 21:27:00
114
转载 Android获取LayoutInflater对象的方法总结
refhttp://blog.csdn.net/bigconvience/article/details/26582497转载于:https://www.cnblogs.com/chuiyuan/p/5479732.html
2016-05-10 22:45:00
82
转载 android WebView, WebViewClient, WebChromeClient
referhttp://blog.csdn.net/zhanghao_hulk/article/details/11808437转载于:https://www.cnblogs.com/chuiyuan/p/5465934.html
2016-05-06 15:52:00
87
转载 EventBus and Broadcast
BroadcastReceiver是什么鬼?在Android中广播分为两个方面:广播发送者和广播接收者,通常情况下,BroadcastReceiver指的就是广播接收者(广播接收器)。EventBus又是什么鬼呢?EventBus是一个发布 / 订阅的事件总线。简单点说,就是两人约定好怎么通信,一人发布消息,另外一个约定好的人立马接收到你发的消息。EventBus就可以帮减少很多事,...
2016-05-05 18:56:00
88
转载 Activity的onNewIntent()步骤何时会被调用
refer :http://my.oschina.net/xsjayz/blog/138447前提:ActivityA已经启动过,处于当前应用的Activity堆栈中;当ActivityA的LaunchMode为SingleTop时,如果ActivityA在栈顶,且现在要再启动ActivityA,这时会调用onNewIntent()方法当ActivityA的LaunchMode为...
2016-05-04 18:26:00
67
转载 CopyOnWriteArrayList
refer tohttp://www.cnblogs.com/dolphin0520/p/3938914.htmlCopy-On-Write简称COW,是一种用于程序设计中的优化策略。其基本思路是,从一开始大家都在共享同一个内容,当某个人想要修改这个内容的时 候,才会真正把内容Copy出去形成一个新的内容然后再改,这是一种延时懒惰策略。从JDK1.5开始Java并发包里提供了两个...
2016-04-28 14:57:00
47
转载 Gradle version 2.2 is required. Current version is 2.10
refer tohttp://stackoverflow.com/questions/34749299/gradle-version-2-2-is-required-current-version-is-2-10Easy solutionadd this in project's buildscripts System.properties['com.andro...
2016-04-25 15:08:00
76
转载 install mysql on ubuntu
http://www.tocker.ca/2014/04/21/installing-mysql-5-6-on-ubuntu-14-04-trusty-tahr.htmlhttps://www.digitalocean.com/community/tutorials/a-basic-mysql-tutorial转载于:https://www.cnblogs.com/chuiyua...
2016-04-23 23:34:00
57
转载 A<T extends B> and A <? extends B>
Refer tohttp://stackoverflow.com/questions/5211548/what-is-the-difference-between-at-extends-b-and-a-extends-bFirst of all, those are completely different constructs used in different cont...
2016-04-23 22:11:00
193
转载 java event listeners and dispatcher
reference toblog.csdn.net/5iasp/article/details/37054171一、场景假设假设有博客系统中需要实现如下功能:系统中用户发布文章,修改文章,删除文章时,需要一些相关的操作需要执行。发布文章后,给好友发送邮件通知,给用户加积分,对文章做全文索引。修改文章后,给好友发送邮件修改通知,给用户加积分,对文章重新做全文索引。删除文...
2016-04-23 17:39:00
73
转载 git
(1)git fetch remote branchhttp://stackoverflow.com/questions/9537392/git-fetch-remote-branch/git fetch <remote> <rbranch>:<lbranch> git checkout <lbranch>... whe...
2016-04-19 13:12:00
68
转载 linux patch usage
http://www.cnblogs.com/itech/archive/2009/08/19/1549729.html转载于:https://www.cnblogs.com/chuiyuan/p/5405466.html
2016-04-18 18:38:00
67
转载 android studio “aapt” IOException error=2, No such file or directory"
转载于:https://www.cnblogs.com/chuiyuan/p/5402763.html
2016-04-17 23:12:00
119
转载 ubuntu 14LTS中文输入法安装
1.安装fcitx拼音http://my.oschina.net/No5stranger/blog/2900262,wubisudo apt-get install fcitx-table-wubi安装 后重启就可以了转载于:https://www.cnblogs.com/chuiyuan/p/5402451.html...
2016-04-17 22:03:00
95
转载 Lua build and install
make linux后,出现问题如下lua.c:80:31: fatal error: readline/readline.h: No such file or directory #include <readline/readline.h> ^compilation terminated.make[2]: **...
2016-04-14 19:58:00
90
转载 tomcat 配置的另外一种方法
在使用ubuntu安装配置tomcat时,在~/.bashrc中设置好了JAVA_HOME,却还是无法找到JAVA_HOME而不能启动tomcat。于是查看了tomcat启动过程。其启动过程为startup.sh --->catalina.sh,在后者中,有读取配置环境如下这种配置在当我们要在一台电脑上使用不同版本的java时很有用。于是我们在tomcat的bin目录下...
2016-04-13 22:12:00
75
转载 git(1)
(1)为特定的项目设置user.name和user.email这些内容可以在项目的目录中查看到。chapter2:git 基础(1)记录每次更新到仓库查看当前文件状态:git status跟踪新文件:git add README,开始跟踪README文件。暂存已经修改的文件:可以先用git status查看状态,再git add状态简单查看:git s...
2016-04-07 11:56:00
73
转载 jd-gui安装
$ ./jd-gui ./jd-gui: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory$ sudo apt-get install libgtk2.0-0:i386$ ./jd-gui ...
2016-04-07 11:16:00
1018
转载 debian crash log查看
sudo cat syslog | grep errorsudo tail -n 30 dmesg转载于:https://www.cnblogs.com/chuiyuan/p/5361726.html
2016-04-06 23:28:00
759
转载 android工具
1.toolsandroid:SDK Manager。ddms:Delvik Debug Monitor Service,基于adb的图形化工具,参考下面的adb.emulator:Android模拟器,要使用emulator就要先创建一个AVD(Android Virtual Devices),可以使用AVD创建不同版本的emulator。2.platform-tool...
2016-04-06 17:21:00
62
转载 android gradle
加载propertieshttp://my.oschina.net/u/156096/blog/228979gradle properties配置http://www.itxuye.com/Z-Gradle.html转载于:https://www.cnblogs.com/chuiyuan/p/5359968.html
2016-04-06 16:45:00
66
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人