25 2010

《越光宝盒》首发正式预告片 3月18日爆笑上映

Posted by admin in 未分类

刘镇伟导演,郑中基孙俪朱茵方力申王学兵黄渤郭涛郭德纲于谦黄奕吴京曾志伟梁小龙、田启文、徐娇、元华、元秋等58位华语影坛顶尖喜剧明星共同加盟的爆笑爱情喜剧大片《越光宝盒》即将于3月18日上映。近日片方首次对外公布了正式预告片。

Read entire article.

收藏与分享
24 2010

如何用onmouseover时间触发DIV显示隐藏

Posted by admin in 电脑网络

请帮我写一段代码,我要一个网站首页幻灯片效果,幻灯片一共四张图片,每次显示一张图片,其它图片隐藏,通过鼠标移动到旁边的四张缩略图上触发幻灯片区域图片的显示与隐藏。(像大旗网首页那样)我用onmouseover代码写了一下,可是只能控制一个层的显示或者一个层的隐藏,怎么写代码让onmouseover事件触发一个图层显示,其他图层隐藏的效果呢?

 

Read entire article.

收藏与分享
24 2010

css+div li标签的间距问题

Posted by admin in 电脑网络
Tags: , , , | Add comment

新建一个简单的HTML测试文件,下面来测试ul li标签

<ul>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
</ul>
<ul>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
</ul>

Read entire article.

收藏与分享
23 2010

ITproCity.com被停了?

Posted by admin in 日记

image

 

    哎  又一个杯具,该网站是美国的ItPro杂志在中国开办的一个线下Microsoft产品团队活动的网站也被我们可爱的XCB给关了!

收藏与分享
21 2010

关于IE等浏览器出现此网址的解决办法。wwv.kkwwxx.com

Posted by admin in 日记

    今天偶尔发现从桌面上打开IE浏览器发现它自动打开了wwv.kkwwxx.com 网址。查看了一下该链接属性发现后面被带上了恶意网址。

GhitrGroup(无色无味)

Read entire article.

收藏与分享
12 2010

openvpn in Linux (FC5)

Posted by admin in 电脑网络, 资料

[root@localhost src]# gzip -dc openvpn-2.1.1-ipv6-0.4.10.patch.gz | patch –p1

 

ifconfig eth0 add 2005::4/64

route –A inet6 add default gw 2005::1

加入 /etc/rc.d/rc.local

 

cp /etc/sysconfig/network-script/ifcfg-eth0 /etc/sysconfig/network-script/ifcfg-eth0:1

Change device eth0 ==>eth0:1

 

 

OpenVPN 2.1.1 use bridge (TAP Driver)

dev tap0 (根据实际情况调整。)

 

Server-bridge 192.168.8.4 255.255.255.0  192.168.8.20 192.168.8.250

                   —————————————  ——————  ——————–

                                     |                               |                   |

                      服务端的IP地址和掩码        客户端分配的开始范围

 

如果启用了防火墙(Iptables)

iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT

[root@localhost sample-scripts]# cat bridge-start
#!/bin/bash

#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################

# Define Bridge Interface
br="br0"

# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"

# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth1"
eth_ip="192.168.8.4"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.8.255"

eth_ipv6="2005::1/64"
for t in $tap; do
    openvpn –mktun –dev $t
done

/usr/sbin/brctl addbr $br
/usr/sbin/brctl addif $br $eth

for t in $tap; do
    brctl addif $br $t
done

for t in $tap; do
    ifconfig $t 0.0.0.0 promisc up
done

ifconfig $eth 0.0.0.0 promisc up

ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast
ifconfig $br add $eth_ipv6

收藏与分享
11 2010

OpenVPN IPv6 Tunnel Broker Guide

Posted by admin in ipv6, 电脑网络, 资料

最近在调试OpenVPN IPV6,发觉这个有用的资料。特收集到这里。

Copyright © 2004 by Christian Strauf

Acknowledgements go to people from the University of Erlangen for inspiring us with the idea to use OpenVPN for a tunnel broker service. Thank you, guys, it works like a charm!


Table of Contents:

  1. Introduction
  2. Definition of the term "tunnel broker"
  3. Tunnel broker clients
  4. Installation of tunnel broker components
    1. Installation of OpenSSL CA
    2. Installation of OpenVPN server
    3. Installation of user database
  5. Functionality of tunnel broker and its components
    1. OpenSSL CA
    2. OpenVPN server
  6. Routing configuration
  7. Sample server configuration
  8. Sample subnet client configuration
  9. Management (and download of JOIN tunnel broker scripts)
  10. Client user guide
  11. Appendix

 

Read entire article.

收藏与分享
09 2010

OpenVPN and CentOS 5 Installation and Configuration Guide

Posted by admin in Linux, 电脑网络

Many ppl found that installing VPN on linux is not that easy, the abvailable installation guides on VPN is often limited. I have tried a lot of installation guides and finally get it connected successfully.

Here are the steps to guide you installed a secure connection between your? CentOS5 and Windows with OpenVPN open source application.

 

 

Read entire article.

收藏与分享
08 2010

杯具,中国网通阻断了到Microsoft 的Teredo Server地址的路由。

Posted by admin in 电脑网络

 

 

今天突然发现我家里的IPV6不能用了。   平时都是通过Teredo上的IPV6.     当发现不能使用后,使用netsh interface ipv6 show teredo.系统提示不能访问此地址。

Read entire article.

收藏与分享