select min(call_log), a.mail_subject from (select mail_to,mail_subject from dw_user_deviler_201408 where log_date>=20140825 and mail_subject not ...
分类:
其他好文 时间:
2014-08-29 15:54:38
阅读次数:
177
构建DNS服务器
###################################
DNS的作用
正向解析:域名-->IP地址
反向解析:IP地址-->域名
1.搭建一台DNS服务器
(1)服务器安装bind、bind-chroot包
[root@svr5~]#yum-yinstallbindbind-chroot
(2)配置服务器的named.conf
[root@svr5~]#cd/var/..
分类:
其他好文 时间:
2014-08-29 02:59:57
阅读次数:
144
; Run = function () { ; return Array.prototype.splice.call( arguments, -1 )[0].apply( this, arguments ) }; Loop = function () { var coun...
分类:
编程语言 时间:
2014-08-29 01:18:16
阅读次数:
298
先上题目:Problem H: Let's call SPaDe a SPaDePassing time, walking the passage, as you pass the String Parsing Department(abbreviated SPaDe), you pause, am...
分类:
其他好文 时间:
2014-08-28 22:34:46
阅读次数:
305
主机2的脚本如下catnginx_loadbalance_vip2.sh#!/bin/bashLANG=Cdate=$(date-d"today"+"%Y-%m-%d%H:%M:%S")BIND_VIP1=192.168.16.239BIND_VIP2=192.168.16.238WEB_IP_RIP1=192.168.16.241WEB_IP_RIP2=192.168.16.240NETMASK=255.255.255.0GATEWAY=192.168.16.1BROADCAST=219.23..
分类:
其他好文 时间:
2014-08-28 18:20:46
阅读次数:
193
从java5开始,java提供了Callable接口,Callable接口提供了一个call方法可以作为线程的执行体,但call方法比run方法功能更加强大。主要体现在:
1.call方法可以有返回值;
2.call方法可以声明抛出异常。
因此我们完全可以提供一个Callable对象作为Thread的target,而该线程的线程执行体就是该Callable对象的call方法,问题...
分类:
其他好文 时间:
2014-08-28 18:12:45
阅读次数:
498
Call openFileOutput() with
the name of the file and the operating mode. This returns a FileOutputStream.通过 openFileOutput()建立FileoutputStream对象Write to the file with write().创建Write对象并进行数据读写操作Close ...
分类:
移动开发 时间:
2014-08-28 16:16:29
阅读次数:
328
Haproxy/KeepalivedServer1:192.168.1.253Haproxy/KeepalivedServer2:192.168.1.254Haproxy/KeepalivedVIP:192.168.1.250Haproxy/KeepalivedServer1:1.echo"net.ipv4.ip_nonlocal_bind=1">>/etc/sysctl.confsysctl-pyum-yinstallkeepalivedhaproxy2.cp/etc/keepalived/ke..
分类:
其他好文 时间:
2014-08-28 15:02:10
阅读次数:
294
从官网下载windows版的zip版的mysql解压到某个目录下打开mysql文件夹,新建my.ini文件输入 如下内容:#绑定IPv4和3306端口bind-address = 0.0.0.0port = 3306# 设置mysql的安装目录basedir=D:/mysql-5.6.13# 设置m...
分类:
数据库 时间:
2014-08-28 13:14:59
阅读次数:
268
案例:内容内容内容内容内容内容内容内容内容问题:$("div1").bind("click",function(){ alert($(this).val());});我们绑定到了div1,当我们点击div时,只有第一个div 弹出了alert了,其它的都没有弹出。目标: 想了每一个div都绑定一个事...
分类:
其他好文 时间:
2014-08-28 11:20:49
阅读次数:
210