`
陈修恒
  • 浏览: 199565 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
引用:https://github.com/Parsely/pykafka/issues/334       @emmett9001写道 @microamp Thanks, this is a great idea. There's currently no documentation on this, but to my knowledge the main differences are the specifics of the Python API and PyKafka's implementation of theBalancedConsumer. PyKafka stri ...
.tar.gz    格式解压为   tar   -zxvf   xx.tar.gz .tar.bz2   格式解压为   tar   -jxvf    xx.tar.bz2 .tar.gz    压缩 tar zcvf 文件名.tar.gz 目标名 其中 tar 表示打包, gz 表示 zip 压缩 http://wenku.baidu.com/view/b76e25ca7e21af45b307a8ce
setTimeout 就是异步处理的典型,值得一看
引:http://stackoverflow.com/a/18453540 引用 This appears to be an IE9-only bug. It occurs when a Flash object interacts with a HTML document using JavaScript (ExternalInterface on the Flash/ActionScript-side) and rears it's ugly head when an IFRAME containing the HTML document w/ the Flash Object come ...
引:http://jingyan.baidu.com/article/c1a3101eb1bac4de656deb34.html 前言: 公司某软件产品,要求内外网都能访问。 实现方案: 在这台服务器上安装两张网卡,一张对外(eth0, IP=114.XXX.XXX.XXX),一张对内 (eht1,IP=172.XXX.XXX.XXX)。 在禁用另一张网卡之后,通过内网或者外网都能访问这台服务器。 但是两张网卡都启用时,只能访问一张网卡,另一张不能访问,ping 不通。 问题分析: 单独启用一张网卡,ip 地址都能 ping 通,这说明网卡配置没有问题。启用两张网卡以后,只能 pin ...
引:http://www.91rhca.com/1911.html 系统重启后不能识别网卡,service network restart 重启网卡后显示如下: [root@localhost ~]# service network restart Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth1: Error: ...
原文: http://blog.csdn.net/jiayanhui2877/article/details/7247203   在进行通信开发的过程中,我们往往会把本机既作为客户端又作为服务器端来调试代码,使得本机自己和自己通信。但是wireshark此时是无法抓取到数据包的,需要通过简单的设置才可以。       具体方法如下:       ①:以管理员身份运行cmd       ②:route add 本机ip mask 255.255.255.255 网关ip       for example route add 192.168.1.103 mask 255.255.2 ...
1、大数据分页查询,varchar 等大字段懒加载 通常代码: SELECT aj.N_BH, aj.C_AM, aj.C_AH FROM t_aj AS aj ORDER BY aj.D_LARQ DESC LIMIT 100, 10  10W 条数据,查询时间大约  0.73s   优化后: select aj.C_AM, aj.C_AH, aj.N_BH FROM ( SELECT aj.N_BH, aj.D_LARQ FROM t_aj AS aj ORDER BY aj.D_LAR ...
1、建立  NIO  连接 http://communitygrids.blogspot.com/2007/09/windows-vista-sockets-java-nio-and.html SocketChannel sc = SocketChannel.open(); sc.socket().setReuseAddress(true); sc.socket().setKeepAlive(true); sc.configureBlocking(false); InetSocketAddress ia = new InetSocketAddress(_hos ...
<!doctype html> <html> <head> <title>Basic pseudo-streaming : Flowplayer</title> <link rel="shortcut icon" href="http://flash.flowplayer.org/favicon.ico"> <!-- standalone page styling. can be removed --> ...
【转自: http://blog.csdn.net/hylongsuny/article/details/6914098】 此处仅作备份 ~ 安装Mysql时出现了APPLY security settings错误,就会很容易的出现apply security setting error(access denied for user 'root@localhost'(using password: YES)),即在配置mysql启动服务时,在启动apply security setting时会出错,原因是卸载mysql时并没有完全删除文件,所以有必要手动清除这些,要清除的文件主要: 1、m ...
Django windows安装配置文档 本文只做备份,有兴趣的朋友可以查阅原文 : http://isun.blog.sohu.com/88570908.html 一、软件准备: 1.1  python-2.5.1.msi 1.2  apache_2.2.8-win32-x86-no_ssl.msi 1.3  Django-0.96.1.tar.gz 1.4  mod_python-3.3.1.win32-py2.5-Apache2.2.exe 1.5  MySQL-python-1.2.2.win32-py2.5.exe 二、安装步骤: 2.1  安装python(运行pyth ...
eclipse jBPM 插件 http://dldx.csdn.net/fd.php?i=101420028478154&s=c66ef4059185118b55ac48468d72fd36 jBPM demo http://blog.csdn.net/ssh_kobe/article/details/6908735 (正在测试) jBPM 表结构介绍 源自: http://blog.csdn.net/milife2012/article/details/8051488 (1)资源库和运行时表结构 JBPM4_DEPLOYMENT   流程定义表                 ...
【源自:http://blog.sina.com.cn/s/blog_622e77cc0100n5kf.html】 一、Sqlserver 特殊字符 [ 、 % 、_ [ 用于转义(事实上只有左方括号用于转义,右方括号使用最近优先原则匹配最近的左方括号);[ → [[] % 用于代替任意数目的任意字符(相当于正则表达式中的 * );% → [%] _用于代替一个任意字符(相当于正则表达式中的 ? );_ → [_] 参考资料:http://www.cnblogs.com/mento/archive/2005/11/11/273570.html 二、MySql 特殊字符 % 、 _; %:表示任 ...

html 开发

    博客分类:
  • html
js url 编码函数 unescape,decodeURI,decodeURIComponent http://www.blogjava.net/freeman1984/archive/2010/06/07/322965.html css 不折行 <style type="text/css">         .shengluehao {         overflow:hidden;         text-overflow:ellipsis;         white-space:nowrap;         width:100px;       ...
Global site tag (gtag.js) - Google Analytics