文件同步服务器BitTorrent Sync有点像TeamViewer远程协助 软件,私钥连接。确实很好用。
分类:
其他好文 时间:
2015-06-04 18:47:22
阅读次数:
208
wap清理: 代码如下: swapoff -a && swapon -a 注意:这样清理有个前提条件,空闲的内存必须比已经使用的swap空间大 cache清理: 代码如下: sync; sync; sync; && echo3 》/proc/sys/v...
分类:
系统相关 时间:
2015-06-04 17:37:34
阅读次数:
240
服务器端:yum -y install nfs*rpcbindvi /etc/exports/home/willserver 192.168.1.100(rw,sync,no_root_squash)service rpcbind restartservice nfs restartsetenfor...
分类:
其他好文 时间:
2015-06-03 21:03:29
阅读次数:
130
分析:并查集实现最小生成树。不能用cin和cout(使用了ios::sync_with_stdio(false);都不行),否则TLE。
#include
#include
#include
using namespace std;
#define N 1005
int father[N*N];
struct EDGE
{
int u,v;
int len;
bool operator...
分类:
其他好文 时间:
2015-06-02 20:11:10
阅读次数:
575
package main
import (
"bytes"
"fmt"
"os"
"os/exec"
"path/filepath"
"sync"
)
type jieguo struct {
go_num int
Lock sync.Mutex
}
var searchName string = os.Args[1]
var search_result chan str...
分类:
编程语言 时间:
2015-06-02 15:22:37
阅读次数:
119
1.dispatch_queue_t queue = dispatch_get_main_queue(); dispatch_sync(queue, ^{ NSLog(@"Hello?"); });
分类:
移动开发 时间:
2015-06-01 18:41:59
阅读次数:
162
1 public void Sync_data(){ 2 3 Connection ocd_query_erp = null; 4 Connection o_to_portal=null; 5 6 String form_form_ocd_c...
分类:
编程语言 时间:
2015-06-01 18:23:59
阅读次数:
195
1,bc 简易计算器2,[ctrl]+d end of file3,~代表用户的主文件夹,是个变量 root的主文件夹在 /root4,sync 将内存中的数据写入到硬盘中,一般在关机之前必做步骤,好的习惯5,nano 简单好用的文本编辑器 nano 文件名直接打开新或已有文件 可以直接编辑 ctr...
分类:
系统相关 时间:
2015-05-31 10:51:11
阅读次数:
170
遇到direct path sync等待事件...
分类:
其他好文 时间:
2015-05-30 22:45:09
阅读次数:
233
1、代码如下:void TestCache(otl_connect& otlConn){ try { char sql[1024] = {0}; sprintf(sql,"call test1(1)"); otl_stream stream(10...
分类:
数据库 时间:
2015-05-30 19:38:24
阅读次数:
248