Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:
其他好文 时间:
2014-07-12 13:17:10
阅读次数:
248
背景,需要安装cacti,google了很多安装资料,需要先yum安装一些准备lib包,比如snmp以及openssl等等。[root@mysqlvm2 ~]# yum install net-snmp-develLoaded plugins: rhnplugin, securityThis system is not registered with RHN.RHN support will be...
分类:
其他好文 时间:
2014-06-28 08:25:57
阅读次数:
323
最近在做一个仿电商的APP,由于前面使用了Fragment技术,现在想要在一个Fragment中做出TabHost的界面效果,经过查找资料找到了解决办法,特分享出来!(新人勿喷!)首先要使用的控件是SupportV4里面的控件,XML如图<android.support.v4.app.FragmentTabHost
xmlns:android=..
分类:
其他好文 时间:
2014-06-28 06:38:50
阅读次数:
254
一,配置文件进行Spring初始化1,配置文件编写 /************* 这里会报异常“Spring.Context.Support.ContextRegistry”的类型初始值设定项引发异常。把配置注释掉就行了 ***************/...
分类:
编程语言 时间:
2014-06-26 23:23:21
阅读次数:
526
?android-support-v4.jar,这是谷歌官方 给我们提供的一个兼容低版本Android设备的软件包,里面包囊了只有在Android3.0以上可以使用的api。而ViewPager就是其中之 一,利用它我们可以做很多事情,从最简单的导航,到页面切换菜单等等。?ViewPager的功能就...
分类:
移动开发 时间:
2014-06-26 18:36:58
阅读次数:
291
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5771NameSizeDateMacintoshAdobe Acrobat 10.1.10 Pro and Standard update - Greek, Arabic, and He...
前提:1、spark1.0的包编译时指定支持hive:./make-distribution.sh --hadoop 2.3.0-cdh5.0.0 --with-yarn--with-hive--tgz2、安装完spark1.0;3、安装与hadoop对应的CDH版本的hive;Spark SQL ...
分类:
数据库 时间:
2014-06-26 11:24:11
阅读次数:
564
MySQL无法启动的原因有多种,这里是我遇到的一种情况和解决方法。起因:最近项目需要使用MySQL,于是想在MAC上安装一个本地的数据库,但是其实忘了已经安装过一个版本了,结果发现新的服务器怎么也无法运行。现象:通过命令行启动MySQL:sudo /usr/local/mysql/support-f...
分类:
数据库 时间:
2014-06-26 11:07:17
阅读次数:
288
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the v...
分类:
其他好文 时间:
2014-06-25 14:12:42
阅读次数:
214
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key if ...
分类:
其他好文 时间:
2014-06-24 17:25:41
阅读次数:
197