自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(347)
  • 收藏
  • 关注

转载 jdk alternatives

http://www.cnblogs.com/plinx/archive/2013/06/01/3113106.html http://blog.youkuaiyun.com/xyzxyzxz/article/details/6920346 转载于:https://www.cnblogs.com/chuiyuan/p/6008434.html

2016-10-28 16:38:00 187

转载 mybatis resultMap使用

http://www.cnblogs.com/rollenholt/p/3365866.html http://www.cnblogs.com/charlexu/archive/2013/03/15/2961116.html 转载于:https://www.cnblogs.com/chuiyuan/p/5889197.html

2016-09-20 16:02:00 206

转载 A better singleton without synchronized.

http://stackoverflow.com/questions/16106260/thread-safe-singleton-class public class Something { private Something() {} private static class LazyHolder { private static fi...

2016-09-20 14:47:00 198

转载 python环境管理

http://www.cnblogs.com/harvey888/p/5465452.html 转载于:https://www.cnblogs.com/chuiyuan/p/5859873.html

2016-09-10 17:39:00 180

转载 Spring architecture

转载于:https://www.cnblogs.com/chuiyuan/p/5853042.html

2016-09-08 14:48:00 209

转载 html in spring

http://stackoverflow.com/questions/15479213/how-to-serve-html-files-with-spring http://stackoverflow.com/questions/16598594/how-to-map-requests-to-html-file-in-spring-mvc/32628600#32628600 http...

2016-08-29 23:08:00 117

转载 Spring @Service, @Component, @Repository, @Controller

转载于:https://www.cnblogs.com/chuiyuan/p/5817761.html

2016-08-29 14:06:00 86

转载 java web开发时遇到 的问题

(1)修改代码后浏览器还是不改变的问题: 主要是浏览器的缓存导致的,需要禁用缓存,参考 http://feilong.org/firefox-ie-no-cache 转载于:https://www.cnblogs.com/chuiyuan/p/5810761.html...

2016-08-26 16:06:00 98

转载 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 98

转载 struts2+spring+hibernate

参考 1.http://blog.youkuaiyun.com/liujiahan629629/article/details/21562597 2.http://blog.youkuaiyun.com/tkd03072010/article/details/7468769 spring AOP中的相关概念: 在Spring官网关于AOP的视频教程中,是这样定义的: ·Join point ...

2016-08-25 10:33:00 105

转载 deploy java web in IDEA with tomcat

全过程参考 :http://blog.youkuaiyun.com/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 204

转载 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 81

转载 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 95

转载 Mysql remote connection

1.修改mysql 配置文件 在/etc/mysql/my.cnf中,注释掉 skip-external-locking bind-address = 127.0.0.1 2.重启mysql sudo /etc/init.d/mysql restart 这时如果运行 sudo lsof -i -P | grep 3306 可以看到下面的内容: mysqld 215...

2016-05-23 18:02:00 200

转载 Android事件分发机制

http://blog.youkuaiyun.com/pi9nc/article/details/9281829 http://www.cnblogs.com/sunzn/archive/2013/05/10/3064129.html http://www.cnblogs.com/linjzong/p/4191891.html 转载于:https://www.cnblogs.com/chuiy...

2016-05-23 11:52:00 79

转载 View坐标分析汇总

view 坐标分析 参考View事件分析汇总 一. 移动View的7种方法 1.Layout layout(getLeft()+50,getTop()+100,getRight()+50,getBottom()+100); getLeft()等值改变。(这里指的有getLeft/getRight/getTop/getBottom) 2...

2016-05-23 11:36:00 94

转载 Android MVP

REF http://kaedea.com/2015/10/11/android-mvp-pattern/ 转载于:https://www.cnblogs.com/chuiyuan/p/5510545.html

2016-05-19 22:57:00 89

转载 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 from http://pan.baidu.com/disk/home#list/path=%2F 转载于:https://www.cn...

2016-05-18 11:07:00 100

转载 ubuntu 14.04 install ap-hotspot

http://www.cnblogs.com/csulennon/p/4418734.html http://blog.youkuaiyun.com/wdjhzw/article/details/39118651 http://blog.youkuaiyun.com/wdjhzw/article/details/40377589 http://askubuntu.com/questions/470512/...

2016-05-17 21:27:00 156

转载 Android获取LayoutInflater对象的方法总结

ref http://blog.youkuaiyun.com/bigconvience/article/details/26582497 转载于:https://www.cnblogs.com/chuiyuan/p/5479732.html

2016-05-10 22:45:00 103

转载 android WebView, WebViewClient, WebChromeClient

refer http://blog.youkuaiyun.com/zhanghao_hulk/article/details/11808437 转载于:https://www.cnblogs.com/chuiyuan/p/5465934.html

2016-05-06 15:52:00 122

转载 EventBus and Broadcast

BroadcastReceiver是什么鬼?在Android中广播分为两个方面:广播发送者和广播接收者,通常情况下,BroadcastReceiver指的就是广播接收者(广播接收器)。 EventBus又是什么鬼呢?EventBus是一个发布 / 订阅的事件总线。简单点说,就是两人约定好怎么通信,一人发布消息,另外一个约定好的人立马接收到你发的消息。EventBus就可以帮减少很多事,...

2016-05-05 18:56:00 134

转载 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 96

转载 CopyOnWriteArrayList

refer to http://www.cnblogs.com/dolphin0520/p/3938914.html Copy-On-Write简称COW,是一种用于程序设计中的优化策略。其基本思路是,从一开始大家都在共享同一个内容,当某个人想要修改这个内容的时 候,才会真正把内容Copy出去形成一个新的内容然后再改,这是一种延时懒惰策略。从JDK1.5开始Java并发包里提供了两个...

2016-04-28 14:57:00 72

转载 Gradle version 2.2 is required. Current version is 2.10

refer to http://stackoverflow.com/questions/34749299/gradle-version-2-2-is-required-current-version-is-2-10 Easy solution add this in project's buildscripts System.properties['com.andro...

2016-04-25 15:08:00 116

转载 install mysql on ubuntu

http://www.tocker.ca/2014/04/21/installing-mysql-5-6-on-ubuntu-14-04-trusty-tahr.html https://www.digitalocean.com/community/tutorials/a-basic-mysql-tutorial 转载于:https://www.cnblogs.com/chuiyua...

2016-04-23 23:34:00 86

转载 A<T extends B> and A <? extends B>

Refer to http://stackoverflow.com/questions/5211548/what-is-the-difference-between-at-extends-b-and-a-extends-b First of all, those are completely different constructs used in different cont...

2016-04-23 22:11:00 224

转载 java event listeners and dispatcher

reference to blog.youkuaiyun.com/5iasp/article/details/37054171 一、场景假设 假设有博客系统中需要实现如下功能: 系统中用户发布文章,修改文章,删除文章时,需要一些相关的操作需要执行。 发布文章后,给好友发送邮件通知,给用户加积分,对文章做全文索引。修改文章后,给好友发送邮件修改通知,给用户加积分,对文章重新做全文索引。删除文...

2016-04-23 17:39:00 119

转载 git

(1)git fetch remote branch http://stackoverflow.com/questions/9537392/git-fetch-remote-branch/ git fetch <remote> <rbranch>:<lbranch> git checkout <lbranch> ... whe...

2016-04-19 13:12:00 106

转载 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 94

转载 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 159

转载 ubuntu 14LTS中文输入法安装

1.安装fcitx拼音 http://my.oschina.net/No5stranger/blog/290026 2,wubi sudo apt-get install fcitx-table-wubi 安装 后重启就可以了 转载于:https://www.cnblogs.com/chuiyuan/p/5402451.html...

2016-04-17 22:03:00 139

转载 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 131

转载 tomcat 配置的另外一种方法

在使用ubuntu安装配置tomcat时,在~/.bashrc中设置好了JAVA_HOME,却还是无法找到JAVA_HOME而不能启动tomcat。于是查看了tomcat启动过程。 其启动过程为startup.sh --->catalina.sh,在后者中,有读取配置环境如下 这种配置在当我们要在一台电脑上使用不同版本的java时很有用。于是我们在tomcat的bin目录下...

2016-04-13 22:12:00 107

转载 groovy正则表达式

转载于:https://www.cnblogs.com/chuiyuan/p/5382008.html

2016-04-12 11:31:00 135

转载 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 105

转载 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 1858

转载 debian crash log查看

sudo cat syslog | grep error sudo tail -n 30 dmesg 转载于:https://www.cnblogs.com/chuiyuan/p/5361726.html

2016-04-06 23:28:00 921

转载 android工具

1.tools android: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 91

转载 android gradle

加载properties http://my.oschina.net/u/156096/blog/228979 gradle properties配置 http://www.itxuye.com/Z-Gradle.html 转载于:https://www.cnblogs.com/chuiyuan/p/5359968.html

2016-04-06 16:45:00 93

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除