<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chruan的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/chruan</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chruan]]></copyright><item><title><![CDATA[css3制作图形大全]]></title><link>https://blog.csdn.net/chruan/article/details/74910556</link><guid>https://blog.csdn.net/chruan/article/details/74910556</guid><author>chruan</author><pubDate>Mon, 10 Jul 2017 11:19:41 +0800</pubDate><description><![CDATA[http://www.jqhtml.com/8045.html]]></description><category></category></item><item><title><![CDATA[Android实战技巧之十八：adb取出安装在手机中的apk]]></title><link>https://blog.csdn.net/chruan/article/details/53574825</link><guid>https://blog.csdn.net/chruan/article/details/53574825</guid><author>chruan</author><pubDate>Sun, 11 Dec 2016 19:29:14 +0800</pubDate><description><![CDATA[http://blog.csdn.net/lincyang/article/details/44418379





场景： 
朋友看见你Android手机中的游戏或应用很好玩，也想装一个此程序，但限于网络条件不能从网上下载。那么最简单的办法就是直接从你手机中将此apk扣出来给他安装上。

pm命令

第一步，找到程序的包名 
借助adb shell pm命令，将安装的所]]></description><category></category></item><item><title><![CDATA[浅谈MVC、MVP、MVVM架构模式的区别和联系]]></title><link>https://blog.csdn.net/chruan/article/details/53539434</link><guid>https://blog.csdn.net/chruan/article/details/53539434</guid><author>chruan</author><pubDate>Fri, 09 Dec 2016 15:21:18 +0800</pubDate><description><![CDATA[转 http://www.cnblogs.com/guwei4037/p/5591183.html


MVC、MVP、MVVM这些模式是为了解决开发过程中的实际问题而提出来的，目前作为主流的几种架构模式而被广泛使用。

一、MVC（Model-View-Controller）

MVC是比较直观的架构模式，用户操作->View（负责接收用户的输入操作）->Controller（业务]]></description><category></category></item><item><title><![CDATA[select2没有allowClear，allowClear不生效]]></title><link>https://blog.csdn.net/chruan/article/details/53218767</link><guid>https://blog.csdn.net/chruan/article/details/53218767</guid><author>chruan</author><pubDate>Fri, 18 Nov 2016 16:47:07 +0800</pubDate><description><![CDATA[select2没有allowClear，allowClear不生效
原来要加
placeholderOption: "first",




    jQuery(document).ready(function () {
            $('#id').select2({
                placeholder: "请选择",
           ]]></description><category></category></item><item><title><![CDATA[linux 下查找大日志文件，比如大于100M的文件]]></title><link>https://blog.csdn.net/chruan/article/details/53064081</link><guid>https://blog.csdn.net/chruan/article/details/53064081</guid><author>chruan</author><pubDate>Mon, 07 Nov 2016 10:17:15 +0800</pubDate><description><![CDATA[http://friendlysong.blog.163.com/blog/static/3225243920119142325417/

命令行如下

find . -type f -size +1000000k 

Linux系统下查找大文件或目录的技巧

当硬盘空间不够时，我们就很关心哪些目录或文件比较大，看看能否干掉一些了，怎么才能知道呢？

　　#已易读的格式显示指定]]></description><category></category></item><item><title><![CDATA[ZooKeeper应用案例]]></title><link>https://blog.csdn.net/chruan/article/details/52709039</link><guid>https://blog.csdn.net/chruan/article/details/52709039</guid><author>chruan</author><pubDate>Fri, 30 Sep 2016 09:50:55 +0800</pubDate><description><![CDATA[ZooKeeper应用案例

 2013-11-04
 23:47:19    Yanjun


我们通过学习借鉴，哪些项目或应用都使用了ZooKeeper，可以了解我们的应用使用ZooKeeper是否能真正地带来价值，当然，有些项目可能也未必非常适合使用ZooKeeper，我们要批判地学习、借鉴和吸收。
下面是一些使用了ZooKeeper实现的案例：


HDFS HA(QJ]]></description><category></category></item><item><title><![CDATA[Puppet 安装配置  配置文件集中管理]]></title><link>https://blog.csdn.net/chruan/article/details/52523568</link><guid>https://blog.csdn.net/chruan/article/details/52523568</guid><author>chruan</author><pubDate>Tue, 13 Sep 2016 10:21:17 +0800</pubDate><description><![CDATA[http://blog.chinaunix.net/uid-24250828-id-3882898.html]]></description><category></category></item><item><title><![CDATA[微信开源PhxSQL：高可用、强一致的MySQL集群]]></title><link>https://blog.csdn.net/chruan/article/details/52371926</link><guid>https://blog.csdn.net/chruan/article/details/52371926</guid><author>chruan</author><pubDate>Tue, 30 Aug 2016 18:30:14 +0800</pubDate><description><![CDATA[微信开源PhxSQL：高可用、强一致的MySQL集群
http://geek.csdn.net/news/detail/98139]]></description><category></category></item><item><title><![CDATA[python发送表单到java，java接收中文乱码]]></title><link>https://blog.csdn.net/chruan/article/details/52057329</link><guid>https://blog.csdn.net/chruan/article/details/52057329</guid><author>chruan</author><pubDate>Thu, 28 Jul 2016 17:37:00 +0800</pubDate><description><![CDATA[//get
import requests as requests;
data = {"name":u"中文","text":"乱码"};
url = 'http://1.1.1.1/post'
res = requests.get(url,params = data)
print res.text


//post
import requests as requests;
d]]></description><category></category></item><item><title><![CDATA[mysql 查询表死锁 和结束死锁的表步骤]]></title><link>https://blog.csdn.net/chruan/article/details/51955775</link><guid>https://blog.csdn.net/chruan/article/details/51955775</guid><author>chruan</author><pubDate>Tue, 19 Jul 2016 14:49:47 +0800</pubDate><description><![CDATA[http://blog.sina.com.cn/s/blog_66519bd80102v3ct.html








1、查询是否锁表
show OPEN TABLES where In_use > 0;

 

2、查询进程

    show processlist
  查询到相对应的进程===然后 kill    id

 

补充：

查看]]></description><category></category></item><item><title><![CDATA[SONATYPE NEXUS 搭建MAVEN 私服]]></title><link>https://blog.csdn.net/chruan/article/details/50585149</link><guid>https://blog.csdn.net/chruan/article/details/50585149</guid><author>chruan</author><pubDate>Tue, 26 Jan 2016 09:22:37 +0800</pubDate><description><![CDATA[SONATYPE NEXUS 搭建MAVEN 私服



http://www.blogjava.net/xiaomage234/archive/2014/05/13/413584.html]]></description><category></category></item><item><title><![CDATA[PathVariable有句号或小数点时，取值不全]]></title><link>https://blog.csdn.net/chruan/article/details/50467171</link><guid>https://blog.csdn.net/chruan/article/details/50467171</guid><author>chruan</author><pubDate>Wed, 06 Jan 2016 10:26:00 +0800</pubDate><description><![CDATA[1、问题 
SpringMVC项目中通过下面的ＵＲＬ进行GET请求。当version有多个小数点的时候。如version为1.0.1008。后台通过@PathVariable来获取version等于1.0。会丢失部分数据。


URL:


http://host_ip/consumer/appVersion/phone/android/download/{version}
Con]]></description><category></category></item><item><title><![CDATA[Servlet execution threw an exception]]></title><link>https://blog.csdn.net/chruan/article/details/41259441</link><guid>https://blog.csdn.net/chruan/article/details/41259441</guid><author>chruan</author><pubDate>Tue, 18 Nov 2014 23:13:48 +0800</pubDate><description><![CDATA[tomcat使用Myeclipse6.5的jdk后，出现下面问题，改用 jdk1.6.0_33后没有问题了。
-------------------------------------------------------------------------




[DEBUG] [2014-10-22 11:09:47,556] (ModuleUtils.java:getModule]]></description><category></category></item><item><title><![CDATA[xclient 已停止工作]]></title><link>https://blog.csdn.net/chruan/article/details/39013505</link><guid>https://blog.csdn.net/chruan/article/details/39013505</guid><author>chruan</author><pubDate>Tue, 02 Sep 2014 22:32:34 +0800</pubDate><description><![CDATA[问题事件名称:BEX
应用程序名:xClient.exe
应用程序版本:2.0.0.1
应用程序时间戳:21475346
故障模块名称:xClient.exe
故障模块版本:2.0.0.1
故障模块时间戳:21475346
异常偏移:00000154
异常代码:c0000005
异常数据:00000008
 OS 版本:6.1.7600.2.0.0.256.1
区域设置 ID]]></description><category></category></item><item><title><![CDATA[baidumap SCRIPT5007: 无法获取属性“minZoom”的值: 对象为 null 或未定义]]></title><link>https://blog.csdn.net/chruan/article/details/38766321</link><guid>https://blog.csdn.net/chruan/article/details/38766321</guid><author>chruan</author><pubDate>Fri, 22 Aug 2014 23:47:56 +0800</pubDate><description><![CDATA[报错：
SCRIPT5007: 无法获取属性“minZoom”的值: 对象为 null 或未定义
 
原因：]]></description><category></category></item><item><title><![CDATA[115个Java面试题和答案——终极列表（下）]]></title><link>https://blog.csdn.net/chruan/article/details/24410957</link><guid>https://blog.csdn.net/chruan/article/details/24410957</guid><author>chruan</author><pubDate>Thu, 24 Apr 2014 14:13:01 +0800</pubDate><description><![CDATA[原文 http://www.importnew.com/11028.html
 
本文由 ImportNew - miracle1919 翻译自 javacodegeeks。欢迎加入Java小组。转载请参见文章末尾的要求。

第一篇讨论了面向对象编程和它的特点，关于Java和它的功能的常见问题，Java的集合类，垃圾收集器，本章主要讨论异常处理，Java小应用程序，Swing，JDBC，远]]></description><category></category></item><item><title><![CDATA[子数组的最大和]]></title><link>https://blog.csdn.net/chruan/article/details/22413413</link><guid>https://blog.csdn.net/chruan/article/details/22413413</guid><author>chruan</author><pubDate>Fri, 28 Mar 2014 17:07:48 +0800</pubDate><description><![CDATA[子数组的最大和 
 
public int maxSubsum(int[] a){
		int[] b = new int[a.length+1];
		for (int i=0;i<a.length+1;i++)
			b[i]=0;
		for (int i=0;i<a.length;i++){
			for (int j= i;j<a.length;j++)
				if (b[i+1]]]></description><category></category></item><item><title><![CDATA[只安装和配置instantclient，用plsql developer，navicat for oracle，sqlplus连接oracle数据库]]></title><link>https://blog.csdn.net/chruan/article/details/20935319</link><guid>https://blog.csdn.net/chruan/article/details/20935319</guid><author>chruan</author><pubDate>Mon, 10 Mar 2014 17:07:43 +0800</pubDate><description><![CDATA[只安装和配置instantclient，用plsql developer，navicat for oracle，sqlplus连接oracle数据库
http://blog.csdn.net/enjoyinwind/article/details/7755348]]></description><category></category></item><item><title><![CDATA[nodejs笔记]]></title><link>https://blog.csdn.net/chruan/article/details/20524565</link><guid>https://blog.csdn.net/chruan/article/details/20524565</guid><author>chruan</author><pubDate>Wed, 05 Mar 2014 08:54:19 +0800</pubDate><description><![CDATA[npm设置代理
GFW 蛋疼的把 https://registry.npmjs.org 给墙了，导致无法通过 NPM 安装模块。
可以运行如下两句命令设置代理，注意代理的地址改为自己实际可用的代理。
npm config set proxy=http://127.0.0.1:8087
npm config set registry=http://registry.npmjs.org]]></description><category></category></item><item><title><![CDATA[leetcode: Search Insert Position]]></title><link>https://blog.csdn.net/chruan/article/details/20378179</link><guid>https://blog.csdn.net/chruan/article/details/20378179</guid><author>chruan</author><pubDate>Mon, 03 Mar 2014 15:42:13 +0800</pubDate><description><![CDATA[题目：


Search Insert Position




Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You]]></description><category></category></item></channel></rss>