- 博客(16)
- 资源 (36)
- 收藏
- 关注
转载 .vimrc.bak
syntax onset rulerset hlsearchset incsearchset tabstop=4set autoindentset cindentset confirmset numberset expandtabset autoindentset smartindentfiletype indent onset syn=cpp
2014-09-09 16:03:45 593
原创 asn.1编码学习
0. ASN.1的编码规则: 8 7 6 5 4 3 2 1 + Length + Content -------------------------------------------------------------------------|Class |X | Tag |
2013-10-25 10:23:37 1600
原创 Squid学习笔记
A. ACL访问控制介绍: 格式: acl 名字 类型 内容 httpd_access all或deny 名字:这里的名字和ACL的名字是一致的方能生效 在acl中类型有这几种:src ,dst, port ,srcdomain, dstdomain, time, maxcom, url_regex,urlpath_regex 在acl里内容就自己
2012-10-19 10:25:16 1161
原创 apache学习
1. 用户认证创建口令文件 htpasswd -c /x/y/z/paswd user1htpasswd /x/y/z/paswd user2配置httpd.confAuthType BasicAuthName "Please login:"AuthUserFile /x/y/z/pswdRequire user user1 user2 2. 增加虚拟目录t
2012-10-18 12:26:55 499
转载 lsof命令说明
源地址:Linux lsof命令详解http://club.topsage.com/thread-234763-1-1.htmllsof(list open files)是一个列出当前系统打开文件的工具。在linux环境下,任何事物都以文件的形式存在,通过文件不仅仅可以访问常规数据,还可以访问网络连接和硬件。 在终端下输入lsof即可显示系统打开的文件,因为 lsof 需要访问核心
2012-10-18 09:50:04 555
原创 运行脚本CGI
1. python执行cgi功能#!/home/python/tools/python2.7.2/bin/pythonprint "Content-type: text/html\n"print "This python test page" 2. tcl执行cgi#!/bin/sh#\. run_cgi_env#\exec tclsh "$0" "$@"puts
2012-10-17 14:28:55 435
原创 Linux环境命令学习记录
1. 让进程自启动 ckconfig xxxd on service xxxdstart /stop/restart 是启动/停止/重启服务,chkconfig xxxdon 是设置服务在开机时自不自动开启,只是设置。 2. 在目录a下不在目录b下中查找×.txt的文件:find a -path "b" -prune -o -name "*.txt" -print
2012-10-17 12:17:06 490
原创 setsockopt使用总结。
1. socket设置选项总结:用法: #include #include int getsockopt(int sock, int level, int optname, void *optval, socklen_t *optlen);int setsockopt(int sock, int level, int optname, const void *optval,
2012-10-16 10:47:13 1721
原创 Tcl实现Http服务操作
1. 依赖包文件 http.tcl 已经默认安装在tcl的core中,可以使用package require http加载tcl的http模块。 2. 使用方式 #!/bin/sh#command \exec tclsh "$0" "$@"#URl配置set TEST_URL "http://127.0.0.1:8888/cgi-bin/test_cgi
2012-09-24 14:18:21 2451
原创 Tcl在Unix/Linux环境下多线程支持环境搭建
一、 下载源码 tcl8.5 http://tcl.tk/software/tcltk/8.5.html tclThread2.6 http://core.tcl.tk/thread/info/2e574064a4二、安装tcl8.5 tar -xvf tcl8.5.9-src.tar.gzcd tcl8.5.9cd unix./config
2012-09-24 13:00:59 3054
原创 Python调用Tcl代码
python中调用tcl是通过加载TkInter来实现的。D:\tcltest>pythonActivePython 2.7.2.5 (ActiveState SoftwPython 2.7.2 (default, Jun 24 2011, 12:Type "help", "copyright", "credits" or>>> from Tkinter import Tcl>>>
2012-09-21 15:49:02 6902
原创 learn of python driver for mongodb
一、安装: python mongodb驱动: pymongo-2.1.1.tar.gz python 主程序 : Python-2.7.2.tgz1. 安装pythoncd python/tar -xvf Python-2.7.2.tgzcd Python-2.7.2./configure --prefix=$HOME/mongodb/tools/python2.7m
2012-09-21 11:19:24 576
原创 Python学习笔记
Python相关文档0.1. Python标准文档0.2. Python实用大全0.3. 迷人的Python0.4. 深入理解Python0.5. Python扩展库网址 http://pypi.python.org/ Python官方网址 http://www.python.org/1. if,python中没有switch语句 if(a+1==b)
2012-09-14 16:12:31 1471
原创 tcl调用tuxedo实现tpcall
1. 源码#include #include #include #include #include #include #include #include #include #include extern "C" {int Tuxedotcl_Init(Tcl_Interp *Interp);}/**********************************
2012-09-14 15:17:43 2297
局域网发送匿名邮件的perl脚本
2010-06-23
[S] W - Symbian OS C++ for Mobile Phones Volume 2.pdf
2010-04-27
[S] W - Symbian OS C++ for Mobile Phones Volume 1.pdf
2010-04-27
perl网络编程.chm
2009-07-02
unix/linux课件
2009-01-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人