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
用给自己记录用defmonitor_work_1(content):dict_1={‘service‘:‘rdc_monitor‘,‘checkpoint‘:‘rdc_monitor_log‘,‘title‘:content,‘content‘:content,‘cluster‘:‘public‘,‘grade‘:‘2‘}params=urllib.urlencode(dict_1)urllib.urlopen(‘http://alert.sae.sina.com.cn/new/‘,params)
分类:
Web程序 时间:
2014-10-21 19:49:41
阅读次数:
168
server端代码: 1 package com.example.workqueue; 2 3 import java.io.IOException; 4 5 import com.rabbitmq.client.Channel; 6 import com.rabbitmq.client.Con.....
分类:
其他好文 时间:
2014-10-21 19:29:19
阅读次数:
288
上篇中我们实现了Work Queue的创建,在Work Queue背后,其实是rabbitMQ把每条任务消息只发给一个消费者。本篇中我们将要研究如何把一条消息推送给多个消费者,这种模式被称为publish/subscribe(发布/订阅)。为了说明这个模式,我们将会构建一个简单的日志系统。这将会包含...
分类:
其他好文 时间:
2014-10-21 19:20:39
阅读次数:
317
As part of my work in OpenDaylight, we are looking at creating a router using Open vSwitch... Why? Well OpenStack requires some limited L3 capabilitie...
分类:
其他好文 时间:
2014-10-21 17:13:42
阅读次数:
380
昨天升级了一下苹果系统到10.10,扁平化确实不错,高兴之余多少有些不快.我的svn出现问题,总是提示我
SVN:This client is too old to work with working copy
在网上也看了不少解决方法,但是都以降级为原则.那为什么不升级.mac升级svn确实有点困难,但总是可以的,大家可以通过看文章:http://blog.csdn.net/qi_ru...
分类:
其他好文 时间:
2014-10-21 13:52:17
阅读次数:
172