找回密码
 注册

QQ登录

只需一步,快速开始

搜索
分享 点击网站空白处超级js弹窗代码,一个页面只弹一次,兼容所有浏览器
11 2013-2-22 21:02
一个网站的流量想引到其它网站上,用退弹的方式是效果最好,也是最友好的,但是基本会被所有浏览器拦截过滤,如果退而求其次,搞个空白处点击弹窗代码也不错.不但点击页面任何一处都可弹出,而且可以实现一个页面只弹出一次,不会无限弹出.已经很友好了. script type="text/javascript" document.onclick=function(){ ...
1140 次阅读|0 个评论
分享 网站右下角js弹窗广告代码(完美支持各个浏览器)
11 2013-2-22 21:00
今天我在做网站时想找一个网站右下角到弹窗代码,找了好久也找不到,最后随便找了一个修改了一下。终于兼容了各个浏览器,并做到了想要到效果简单到代码如下: html xmlns= “ http://www.w3.org/1999/xhtml “ head meta http-equiv= “ Content-Type “ content= “ text/html; charset=gb2312 “ title ...
1625 次阅读|0 个评论
分享 c语言获取和设置网关
11 2013-2-15 21:49
view plain copy #includesys/types.h #includesys/socket.h #includenetinet/in.h #includenet/if.h #includesys/ioctl.h ...
968 次阅读|0 个评论
分享 内核Parasite thread injection and TCP connection hijacking
11 2013-2-14 21:19
Hello, guys. So, here's transparent TCP connection hijacking (ie. checkpointing in one process and restoring in another) which adds only relatively small pieces to the kernel. It's by no means complete but already works rather reliably in my test setup even with heavy delay induced with t ...
706 次阅读|0 个评论
分享 把 discuz帖子中的html代码转换为文本
11 2013-1-26 14:36
因为原来是由ipb论坛转来的,原来的帖子内容是html的,在discuz中显示出来就是乱成一团。 于是写了一段php程序,把html代码处理为txt文本,效果不错! ?php function html2text($str){ $str = preg_replace("/style .*?\/style/is", "", $str); $str = preg_replace("/script .*? ...
954 次阅读|0 个评论
分享 linux-2.6.35.4 加 squashfs lzma
11 2012-10-27 22:38
前段时间在 linux 2.6.15、linux 2.6.16 和 linux 2.6.25上加过 squashfs+lzma。现在又要在 linux 2.6.35.4 上加,由于此版本的 kernel 里已经有 squashfs,只要加上 lzma 即可。 大概步骤: 1. 下载 squashfstools、lzma 源码及其相关补丁; 2.给 kernel 打补丁 ...
1560 次阅读|0 个评论
分享 LINUX 虚拟网卡tun例子
11 2012-10-2 20:39
/** * linux TUN 例子 代码来至 * http://hi.baidu.com/zkheartboy/blog/item/e96acf33508e4a40ad4b5f88.html和 * http://blog.csdn.net/Z_man/archive/2009/05/26/4216530.aspx * 建立一个tun0的虚拟网卡进行通信,程序关闭后将消失。 * ping 10.0.0.1 &n ...
1357 次阅读|0 个评论
分享 从任何字符串中提取IP
11 2012-10-1 22:11
void getHostIP(char* hostIP,const char* sourceStr) { char nbuf ; int sn ; int i,ret,start,n,m; int runnum=0; start = 0; while (1) { runnum++; //第一个数大于255的情况 if (runnum 1) { ...
730 次阅读|0 个评论
分享 给内核模块签名保证系统安全
11 2012-8-25 22:06
http://lwn.net/Articles/470906/ http://lwn.net/Articles/511720/
1161 次阅读|0 个评论
分享 利用gpu进行网络加速
11 2012-8-19 19:08
gpu由于多核和并行的优势,用于少量的数据处理,非常有优势。 目前已经有几个开源的项目。 一个是kgpu,是在内核中使用cuda进行aes的加解密,用于加速 eCryptfs 和dm-crypt 。 网址是:https://github.com/wbsun/kgpu 还有一个是PacketShader,也是在使用aes的情况下,可以极大的加速数据包的处理速度。 网址是:http://sha ...
2106 次阅读|0 个评论

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-19 07:26 , Processed in 0.059833 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

返回顶部