会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大力
世界多么美好,我却如此暴燥
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
9
10
11
12
13
14
15
16
17
···
42
下一页
2010年1月5日
perl 监控apache日志
摘要: 日志滚动,获取 tail -f 里的信息 如果 存在“Too many open files”那么重启apache 设置开机运行 [root@2082 etc]# vi rc.local su root -c "/usr/bin/perl /lcx/reapache.pl &"
阅读全文
posted @ 2010-01-05 13:55 大力
阅读(666)
评论(0)
推荐(0)
2010年1月1日
框架页,URL中文参数乱码
摘要: 在web.config这样声明编码 <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />左框架静态页面这样声明<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />右框...
阅读全文
posted @ 2010-01-01 19:57 大力
阅读(326)
评论(0)
推荐(0)
2009年12月27日
如何判断网通、电信、铁通IP地址分配段
摘要: 从http://ftp.apnic.net/apnic/dbase/tools/获取地址shell> wget http://ftp.apnic.net/apnic/dbase/tools/ripe-dbase-client-v3.tar.gz shell> tar xzvf ripe-dbase-client-v3.tar.gzshell> cd whois-3.1shell&...
阅读全文
posted @ 2009-12-27 17:13 大力
阅读(1106)
评论(1)
推荐(0)
2009年12月26日
C# 获取文件编码
摘要: 文件操作,最难的部分就是编码问题了。using System;using System.Collections.Generic;using System.Text;using System.IO;namespace Microshaoft.Text{ #region Class IdentifyEncoding..... /// <summary> /// 检测字符编码的类 /// &...
阅读全文
posted @ 2009-12-26 19:25 大力
阅读(4947)
评论(1)
推荐(0)
2009年12月25日
用来代替SQLSERVERAGENT的VBS脚本。
摘要: 今天一台MSSQL2000出问题,SQLSERVERAGENT服务又启不过来,胡乱撮写的一个脚本。 '*******************************************************************' 目的:当MSSQL的SQLSERVERAGENT启不过来时,可以用这个脚本来备份全部数据库,也可以做成计划任务来执行' 注意还原master数据库要用单用户启动...
阅读全文
posted @ 2009-12-25 19:47 大力
阅读(385)
评论(0)
推荐(0)
2009年12月22日
mssql 的sp_help好难看
摘要: mssql 的sp_help好难看。//mysql的desc/
阅读全文
posted @ 2009-12-22 10:06 大力
阅读(206)
评论(0)
推荐(0)
2009年12月20日
greybox关闭/刷新父窗口
摘要: <script language=javascript> function reloadpage() { parent.parent.location.reload(); parent.parent.GB_hide(); } </script> <a href="javascript:reloadpage()">关闭 </a> http://gexc...
阅读全文
posted @ 2009-12-20 15:15 大力
阅读(616)
评论(0)
推荐(0)
2009年12月18日
jQuery的radio,checkbox,select操作
摘要: 获取一组radio被选中项的值 var item = $('input[@name=items][@checked]').val(); 获取select被选中项的文本 var item = $("select[@name=items] option[@selected]").text(); select下拉框的第二个元素为当前选中值 $('#select_id')[0].selectedIndex...
阅读全文
posted @ 2009-12-18 15:14 大力
阅读(276)
评论(0)
推荐(0)
如何识别当前的 SQL Server 版本号以及对应的产品级别
摘要: SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')http://support.microsoft.com/kb/321185/zh-cn
阅读全文
posted @ 2009-12-18 09:38 大力
阅读(290)
评论(0)
推荐(0)
2009年12月14日
IE8取不到 select 的option值
摘要: [代码]IE8取不到 select 的option值,而IE7正常,可以声明用IE7来解析页面<metahttp-equiv="X-UA-Compatible"content="IE=EmulateIE7"/>
阅读全文
posted @ 2009-12-14 13:20 大力
阅读(1994)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
42
下一页
公告