Soda has a bipartite graph withnvertices andmundirected edges. Now he wants to make the graph become a complete bipartite graph with most edges by add...
分类:
其他好文 时间:
2015-08-01 17:12:16
阅读次数:
107
解压压缩包:
$tar zxvf redis-3.0.1.tar.gz
进入文件: $cd redis-3.0.1
配置文件: $sudo ./configure
安装: $sudo make && make install
安装完成之后,启动数据库:进入项目文件入口->$nohup redis-server &
进入客户端操作数据库:$redis-cli...
分类:
数据库 时间:
2015-07-31 16:28:29
阅读次数:
165
第一步:
官网下载压缩包:$wget http://nodejs.org/dist/v0.12.3/node-v0.12.3.tar.gz
解压压缩包:
$tar zxvf node-v0.12.3.tar.gz
配置文件:
$./configure
安装:
$sudo make && make install
完成之后通过 node -v 查看是否安装成功。
第...
分类:
Web程序 时间:
2015-07-31 14:53:40
阅读次数:
109
VNC移植过程
所用系统ubuntu
移植好的包下载地址http://download.csdn.net/detail/guoqianqian5812/8948849
移植的arm库下载地址
一、准备工作
1、下载vnc源码包,这里移植的是vnc-4_1_3-unixsrc
下载地址http://www.realvnc.com/download/open/4.0/
2、交叉编译器:arm-linux-gcc-4.5.1-v6-vfp
二、common目录下源码的configure和make过程
1...
分类:
其他好文 时间:
2015-07-31 12:58:13
阅读次数:
334
## Strategy Pattern ##What?Define a family of algorithms, encapsulate each one, and
make them interchangeable. Strategy lets the algorithm
vary independently from the clients that use it. ——GOF定义一系列算...
分类:
其他好文 时间:
2015-07-31 01:22:27
阅读次数:
160
MOBILE STORE OPENCART 主题模板 ABC-0075 Designed with luxurious colors, Suitable for shop selling: make up, cosmetic store. Supports multiple languages, multiple currencies. SEO (Search Engine Opti...
分类:
其他好文 时间:
2015-07-30 21:37:18
阅读次数:
140
首先确认 SD卡 的接口(据说是有2种 第一种是sdio 第二种是spi 如果这两种都没有,那么可以做成类似读卡器的一个设备,也就是USB设备)
我手上这块是 SPI 接口的, 那么在内核上选上SPI模块即可Kernel modules --->
SPI Support --->
kmod-mmc-spi保存退出,第一次 make 烧录之后发现还是未识别。原...
分类:
其他好文 时间:
2015-07-30 11:29:46
阅读次数:
271
安 装Mesa时,最后一个错误报“WARNING: 'aclocal-1.14' is missing on your system.”,虽然是个Warning,但是无法进行下一步make,所以必须解决。根据warning给的提示以及网上搜的信息判断,这是一个时间 戳变化导致的系统以为文件被修改,所...
分类:
系统相关 时间:
2015-07-30 10:56:57
阅读次数:
1497
安装gcc? ? ? ?sudo apt-get install gcc 安装gcc-c++ 的编译环境 ? ? ?sudo apt-get install build-essential 安装pcre cd pcre-version ./configure make sudo make install 安装zlib cd zlib-version ...
分类:
其他好文 时间:
2015-07-29 23:14:52
阅读次数:
343
Centos6.5 Python+Supervisor 环境安装 6.5自带的python版本为2.6,首先下载python2.7.6 cd?py2.7
./configure?--prefix=/usr/local/python2.7
make
make?install 接下来需要创建一个链接来使系统默认pytho...
分类:
编程语言 时间:
2015-07-29 19:53:45
阅读次数:
235