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
1. Only version not older than R2013 supports Raspberry Pi. First, download support package in Matlab: http://www.mathworks.cn/matlabcentral/fx_files/...
分类:
其他好文 时间:
2014-07-10 13:42:50
阅读次数:
338
自从google被和谐以后,上google的store安装插件是如此的费劲,好在mac下的chrome已经装好了,直接导出给linux就可以mac下chrome的插件目录为~/Library/Application Support/Google/Chrome/Default/Extensions/直...
分类:
系统相关 时间:
2014-07-07 20:36:01
阅读次数:
354
原文:http://blog.csdn.net/passball/article/details/7661887 (一)SVM的背景简介支持向量机(Support Vector Machine)是Cortes和Vapnik于1995年首先提出的,它在解决小样本、非线性及高维模式识别中表现出许多特有的...
分类:
其他好文 时间:
2014-07-07 19:18:22
阅读次数:
218
Gnome 3 does not have good support for multiple screen display. It is therefore necessary to use xrandr for such purpose. It can be used as follows.Di...
分类:
其他好文 时间:
2014-06-30 13:22:02
阅读次数:
268
【题目】
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 the key exists in the cache, otherwise return -1.
se...
分类:
其他好文 时间:
2014-06-29 22:45:26
阅读次数:
358
背景,需要安装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
前提: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