文件同步服务器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
推荐2个在编码过程中既能减少编码量,又非常容易上手的工具类:适用于Java反射和单测Assert。1 Mirror:Java反射简介官网:http://projetos.vidageek.net/mirror/mirror/将Java原生API提供的面向命令的语法:Class.getField/getDeclaredFields/getMethod()/getAnnotation之类的调用简化为DS...
分类:
编程语言 时间:
2015-06-04 11:57:05
阅读次数:
164
http://my.oschina.net/jgy/blog/125503
拷贝mavne安装目录conf下面的settings.xml到用户主目录下
修改改文件
F:/Maven/repository
改变本地maven仓库的路径
| Specifies a repository mirror site to use instead of a given...
分类:
其他好文 时间:
2015-06-03 23:32:54
阅读次数:
199
源文件下载地址的改变== http://sourceforge.net/projects/mysql.mirror/files/MySQL%205.6.14/mysql-5.6.14.tar.gz/download
分类:
数据库 时间:
2015-06-03 21:24:30
阅读次数:
207
服务器端: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
1、删除redhat原有的yum源rpm -aq | grep yum | xargs rpm -e --nodeps2、下载新的yum安装包wget http://mirror.centos.org/centos/6/os/x86_64/Packages/python-iniparse-0.3.1...
分类:
其他好文 时间:
2015-06-02 19:47:54
阅读次数:
150
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
vitess是youtub开源的一款mysql代理,在ubuntu下编译很方便,但是在centos下且不能访问google的情况下坑比较多。最近根据其bootstrap.sh脚本手工编译成功,把过程贴处来供有兴趣的朋友参考一下。
升级automake
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositori...
分类:
其他好文 时间:
2015-06-02 13:31:50
阅读次数:
304