Mac OS Yosemite disabled ipfw command, we need use pf rule to work around it. This article is a manual to describe how to address this issue....
分类:
其他好文 时间:
2014-10-25 07:06:51
阅读次数:
234
水一水。。import java.math.*;
import java.util.*;
import java.io.*;
public class Main {
BigInteger[] fib = new BigInteger[505];
public void work(){
fib[1] = BigInteger.ONE;
fib[2] = BigIntege...
分类:
编程语言 时间:
2014-10-24 20:50:50
阅读次数:
181
// --------------------------------------------------------------------------------------------------------------------
//
// Respect the work.
//
//
// Defines the Program type.
//
// -------...
Pasha has many hamsters and he makes them work out. Today,
n hamsters (n is even) came to work out. The hamsters lined up and each hamster either sat down or stood up.
For another exercise, Pasha n...
分类:
其他好文 时间:
2014-10-24 11:06:01
阅读次数:
238
关键词:bluedroid enableNative BTIF_TASK BTU_TASK bt_hc_work_thread set_power preload GKI作者:xubin341719(欢迎转载,请注明作者,请尊重版权,谢谢!)绘图工具:Edraw Maindmap欢迎指正错误,共同学习、共同进步!!一、enableNative函数的的实现(1)、初始化BTE;(2)、创建BT...
分类:
移动开发 时间:
2014-10-23 22:47:20
阅读次数:
764
java平台端口监控每天凌晨从数据库中得到一份java平台所有用户端口ip地址列表,把这个列表rsync传输到rsync服务端,java平台服务器从rsync服务端下载这个文件#!/usr/bin/pythonimportMySQLdbimportosdefMysql_work(ip,port,javaip):printjavaipconn=MySQLdb.connect(host=str(i..
分类:
其他好文 时间:
2014-10-23 21:09:28
阅读次数:
332
hostname里不能包含"_",否则报错 ?INFO RemoteActorRefProvider$RemoteDeadLetterActorRef: Message [org.apache.spark.deploy.DeployMessages$RegisterWorker] from Actor[akka://sparkWorker/user/Worker#-14...
分类:
其他好文 时间:
2014-10-23 12:51:43
阅读次数:
406
关键词:bluedroid initNative enableNative BTIF_TASK BTU_TASKbt_hc_work_thread set_power preload GKI作者:xubin341719(欢迎转载,请注明作者,请尊重版权,谢谢!)欢迎指正错误,共同学习、共同进步!! 一、 蓝牙开启流程概述,如下图所示:init、enable 和一般的函数调用相同,and...
分类:
移动开发 时间:
2014-10-23 12:30:42
阅读次数:
288
好题mark
1. 图论方法(最大权闭合子图)
#include
#include
#define min(a,b) ((a)<(b)?(a):(b))
const int N=1110;
const int E=5000;
const int oo=1000000000;
int node,src,dest,ne;
int head[N],work[N],Q[N],dist[N]...
分类:
其他好文 时间:
2014-10-22 18:16:38
阅读次数:
179
最近读 《Founders at Work》,读到 Paul Graham 关于他早期创立 Viaweb (被 Yahoo 收购后变为 Yahoo Store)的经历。他谈到“ Another advantage of telling the truth is that you don’t have...
分类:
其他好文 时间:
2014-10-22 08:44:49
阅读次数:
149