1、ports的目录在/usr/ports2、POSTS安装软件有时可能这个包已经安装过了,会有提示,无法 继续安装。能够用提示中的参数:#make install clean FORCE_PKG_REGISTER=yes这样就能够继续安装了,yes不区分大小写。3、PORTS安装软件时有时能够下载...
分类:
其他好文 时间:
2015-06-18 19:07:19
阅读次数:
130
Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then
the second one tries to make maximum possible number of rounds. ...
分类:
其他好文 时间:
2015-06-18 17:20:26
阅读次数:
116
1.用ssh把源码拉到linux下,我的版本是Linux version 2.6.18-308 2. tar xzf redis-3.0.2.tar.gz 3.make 32bit 如果报错 编辑src/.make-settings里的OPT,改为OPT=-O2 -march=i686 4. src/redis-server 5. 新起个...
分类:
其他好文 时间:
2015-06-18 15:33:12
阅读次数:
107
make install cleanmake NO_CHECKSUM=yes reinstall cleanmake FORCE_PKG_REGISTER=yes reinstall cleanFAMP架构的建立20141115 LAMP架构早就闻名遐迩了,所谓的LAMP架构就是指Linux+...
分类:
数据库 时间:
2015-06-18 15:08:13
阅读次数:
228
这道题目一开始我还以为是并查集,后来发现比并查集简单的多,就是一个家谱树,然后找到两个节点之间的深度差。
#include
int data[30];
void make_set(){
for(int i=0;i<30;i++)
data[i]=-1;
}
int find(int a,int b){
int re=1;
while(data[...
分类:
其他好文 时间:
2015-06-18 13:38:42
阅读次数:
134
maste.go
package main
import (
"fmt"
"os"
"runtime"
"test"
"time"
)
var x chan []int = make(chan []int, 1)
var Num int = 100
var WNum int = 100
func main() {
fmt.Println(time.Now())
var lis...
分类:
编程语言 时间:
2015-06-18 11:45:44
阅读次数:
152
Theory:NBU use a automatic script to connect RMAN and backup database
Steps:
First,make a automatic script.
Second,build a oracle policy
First:
Make a automatic script.NBU has provide some ...
分类:
数据库 时间:
2015-06-18 11:41:58
阅读次数:
135
原文链接 : WHAT I’VE LEARNED FROM TRYING TO MAKE AN ANDROID APP UNIT TESTABLE
原文作者 : Matthew Dupree
译文出自 : 开发技术前线 www.devtf.cn
译者 : chaossss
校对者: Mr.Simple
状态 : 完成
在前面的博文中,我给大家介绍并展示了要怎么使用...
分类:
移动开发 时间:
2015-06-18 09:37:26
阅读次数:
179
Two month fan of the book, from August - Oct. 2014; and then, started to practice code review, change the code to make it readable. Big fan of DRY (Do...
分类:
其他好文 时间:
2015-06-18 09:20:41
阅读次数:
127
Well, a typical backtracking problem. Make sure you are clear with the following three problems:What is a partial solution and when is it finished? --...
分类:
其他好文 时间:
2015-06-18 00:43:15
阅读次数:
202