proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« December 2006 | Main | February 2007 »

January 26, 2007

帮买了个华硕笔记本 我爱网络

http://windtear.net/archives/2007/01/26/001197.html 帮买了个华硕笔记本 需求很简单: 看看新闻 打打QQ游戏 偶尔用下百度搜索 看片(听歌) 1. 手写输入 (蒙恬手写板) 2. (全国漫游)无线上网 随e行GPRS上网套装 USB接口优先 3. 看的清楚 15宽屏 音效好 4. 5k左右价位 (这是我从经济、性价比的角度定的价钱 花太多不值得 不能浪费啊) 后来买了个华硕asus 裸机+512M内存4400 开始用的玲珑猫 CDC V818 上网质量很不好 ping 值都在5xx ms 丢包15%以上 后来(2007-04-07)加100换了个索尼-爱立信/索爱的PCMICA接口的 (带无线局域网802.11b) ping 值、丢包率也没什么好转 (个别时候几乎不丢包) 不过基本能用了 USB接口4个 设计的不很好 距离太近 不少东西需要延长线才能用 心得体会: 帮不懂的人买电脑 很麻烦  More...

Posted by windtear at 11:58 PM

January 25, 2007

多 IP 流量统计sql算法 我爱网络

http://windtear.net/archives/2007/01/25/001196.html 多 IP 流量统计sql算法 需求: 每天每IP n次流量数据抽样 算多IP的流量 方案: sql sum(流量)/count(id)*count(distinct ip) 原理: 先算每IP平均流量 再乘以IP个数 需要考虑去重 当然也需要考虑别除0 也就是至少得有一个IP流量数据 where 条件是 ip in ('1.1.1.1', '2.2.2.2')  More...

Posted by windtear at 11:39 PM

January 21, 2007

squid 打开 log_mime_hdrs 记录 MIME Header log 我爱网络

http://windtear.net/archives/2007/01/21/001195.html squid 打开 log_mime_hdrs 记录 MIME Header log 前天别人问的 记录一下 修改 squid.conf log_mime_hdrs on # TAG: log_mime_hdrs on|off # The Cache can record both the request and the response MIME # headers for each HTTP transaction. The headers are encoded # safely and will appear as two bracketed fields at the end of # the access log (for either the  More...

Posted by windtear at 11:50 PM

January 19, 2007

换了液晶显示器 开始玩网游 我爱网络

http://windtear.net/archives/2007/01/19/001194.html 换了液晶显示器 开始玩网游 昨天换了显示器 把CRT换成了液晶 今天《大话战国》开始内测 重复n次答对了全部战国相关问题领取了激活码 开始第一次玩网游 入门还算容易 主要是以前在mud上花的精力太多了 所以很快就熟悉了玩法 做任务赚经验升级 轻松也就到了10级 然后拜蜀山派 接着做师门任务 一天到了21级 (后来发现前30级是可以速成的 主要是当时首阳山可以挂级) 玩《大话战国》有很多原因 比如以前没玩过 体验一下啥的 加上中国的战国背景 文化背景算是熟悉的 当然一个主要原因就不说了 算是看看吧 提醒自己:游戏只是游戏 不可沉迷  More...

Posted by windtear at 11:49 PM

January 17, 2007

nagios 报警次数控制 hostescalation serviceescalation 我爱网络

http://windtear.net/archives/2007/01/17/001193.html nagios 报警次数控制 hostescalation serviceescalation define serviceescalation { host_name service_description first_notification 3 last_notification 5 contact_groups notification_interval 60 escalation_period 24x7 escalation_options c } disable: first_notification 5 last_notification 6 notification_interval 0 不过 nagios 2.8 之前 serviceescalation 判断有个 bug base/notifications.c - line 1640 /* else use the shortest of all valid escalation intervals */ else if(temp_se->notification_interval<interval_to_use) interval_to_use=svc->notification_interval; 应为 (nagios 2.8 已修正) interval_to_use=temp_se->notification_interval;  More...

Posted by windtear at 11:33 PM

January 12, 2007

mysql 表生成 nagios 配置 我爱网络

mysql 表生成 nagios 配置 组为线索 先循环用户 再循环主机 再循环服务 最后记录用户的分组和主机的分组 最后nagios配置分为三部分 user_ group_ (用户组 & 主机组) ip (host & service) 通过循环结构从数据库生成 nagios 配置  More...

Posted by windtear at 11:55 PM

January 11, 2007

html checkbox 的处理 我爱网络

http://windtear.net/archives/2007/01/11/001191.html html checkbox 的处理 以前做这块代码的时候 做了不少javascript的代码工作 这次偷懒 在server端直接判断是否为空来处理了 (php perl) if(empty($checkboxvar)) { $checkflag=0; } else { $checkflag=1; } if($checkboxvar eq "") { $checkflag=0; } else { $checkflag=1; } if($checkflag==1) { } 修改时原数据通过一个变量体现 "checked" 或者 ""  More...

Posted by windtear at 10:30 PM

January 10, 2007

squid diskd 还是不稳定 我爱网络

http://windtear.net/archives/2007/01/10/001190.html squid diskd 还是不稳定 背景: squid diskd 大硬盘 大cache 小文件 大压力 不稳 解决: squid ufs 官方也承认  More...

Posted by windtear at 10:52 PM

January 9, 2007

hotplug net 调用 ifup 发起 arping 的情况 我爱网络

http://windtear.net/archives/2007/01/09/001189.html hotplug net 调用 ifup 发起 arping 的情况 背景: 机器挂了 进程有 [events/0] - [khelper] - hotplug net - ifup - arping arping -q -c 2 -w 3 -D -I eth0 接口IP rpm -aV 检查软件包 ok 推测: 可能硬件有些异常 比如网卡松了 要不为啥 hotplug net 呢?  More...

Posted by windtear at 11:24 PM

January 8, 2007

关于ARP病毒和链路状态提示 我爱网络

http://windtear.net/archives/2007/01/08/001188.html 关于ARP病毒和链路状态提示 背景: ARP 病毒 解决: 在网络设备做控制 后续: 链路状态改变的提示 可以和信息系统、业务系统结合  More...

Posted by windtear at 11:38 PM

January 7, 2007

用 IconEdit Pro 制作网站图标 favicon.ico 我爱网络

http://windtear.net/archives/2007/01/07/001187.html 用 IconEdit Pro 制作网站图标 favicon.ico http://www.iconedit.com/ http://www.iconedit.com/download/iepro704.msi 大前天上班 为我刚做的两个系统做了 favicon.ico 于是就装了 IconEdit Pro 选颜色 选笔粗 写字 保存 几分钟搞定  More...

Posted by windtear at 11:57 PM

January 6, 2007

KNOPPIX Linux Live CD V5.1.1 2007-01-04 发布及硬盘运行 我爱网络

http://windtear.net/archives/2007/01/06/001186.html KNOPPIX Linux Live CD V5.1.1 2007-01-04 发布及硬盘运行 KNOPPIX Linux Live CD 官方网站 http://www.knopper.net/knoppix/ ISO 下载镜像列表 KNOPPIX_V5.1.1CD-2007-01-04-EN.iso 拷贝到硬盘运行 可以 loadlin 启动(可先通过vfloppy设置ntloader启动到dos image) loadlin linux root=/dev/hda5 ramdisk_size=100000 init=/etc/init lang=cn \ apm=power-off vga=791 initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix 其中 /dev/hda5 为Knoppix目录所在的硬盘  More...

Posted by windtear at 11:51 PM

January 5, 2007

Mysql 4.1 password 变化引起的 authentication protocol 支持问题解决办法 我爱网络

http://windtear.net/archives/2007/01/05/001185.html Mysql 4.1 password 变化引起的 authentication protocol 支持问题解决办法 想要写的是 mysql 4.1 password 的变化 当 shell mysql 或 php mysql_pconnect 连接 mysql server 时 如遇到如下提示: Client does not support authentication protocol requested by server; consider upgrading MySQL client 则是因为 mysql 4.1 password 变化造成的 解决: 方法一:升级客户端的库 方法二:降级服务器的 password 用 old_password configure the MySQL server with --old-passwords mysql> SET PASSWORD FOR -> 'some_user'@'some_host'  More...

Posted by windtear at 11:54 PM

January 4, 2007

firefox accesskey 处理改动 我爱网络

http://windtear.net/archives/2007/01/04/001184.html firefox accesskey 处理改动 好奇水木讨论 就试了sogou搜索 发现sogou搜索有替换 alt+d 非常生气... (补:版面讨论后 他们的技术人员立即改了) 看了sogou html代码 发现是设了 accesskey Firefox 1 的自动触发的原因是: accessibility.accesskeycausesactivation 设成 true 了 Firefox 2 已经改了默认的 accesskey 触发键 由原来的 alt 改成了 shift+alt about:config ui.key.contentAccess  More...

Posted by windtear at 2:31 PM

January 3, 2007

FTP Server 返回信息错误的问题 我爱网络

http://windtear.net/archives/2007/01/03/001183.html FTP Server 返回信息错误的问题 跟了下ftp server返回码 认证的时候有点问题 输入 PASS ... 之后  More...

Posted by windtear at 10:40 PM

January 2, 2007

Perl string compare 字符串比较 eq ne, number compare 数字比较 == != 我爱网络

http://windtear.net/archives/2007/01/02/001182.html Perl string compare 字符串比较 eq ne, number compare 数字比较 == != 数字比较 = == != 字符串比较 lt gt le ge eq ne perldoc perlop 看 Relational Operators Equality Operators  More...

Posted by windtear at 11:47 PM

January 1, 2007

Linux Samba smb.conf 网邻中文支持配置 我爱网络

http://windtear.net/archives/2007/01/01/001181.html Linux Samba smb.conf 网邻中文支持配置 Windows 访问 Linux Samba 架设的网邻 如果中文文件名、中文文件内容有乱码 可以这样配置来支持中文 在 /etc/samba/smb.conf [global] 里面增加 charset 配置 display charset = GB18030 unix charset = GB18030 dos charset = GB18030 GB18030 GB2312 都可以 然后 service smb reload 就行了  More...

Posted by windtear at 11:58 PM



Google
 
搜索windtear.net 搜索所有网页

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2012 Windtear. All rights reserved.