上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
  2013年1月16日
摘要: PHP时区列表 $timezoneTable = array( "-12" => "(GMT -12:00) Eniwetok, Kwajalein", "-11" => "(GMT -11:00) Midway Island, Samoa", "-10" => "(GMT -10:00) Hawaii", "-9" => "(GMT -9:00) ... 阅读全文
posted @ 2013-01-16 10:36 思静 阅读(963) 评论(0) 推荐(0)
摘要: set @ins := concat('replace into ',@tbl,'_archive select * from ',@tbl,' where ',@col,' < ',@plw);prepare instmnt from @ins;execute instmnt; 阅读全文
posted @ 2013-01-16 10:14 思静 阅读(777) 评论(0) 推荐(0)
  2013年1月10日
摘要: 按周分区的建表语句如下: CREATE TABLE `article` ( `Article_ID` int(11) NOT NULL AUTO_INCREMENT, ... ... `Extracted_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, KEY `PRIMARYKeyID` (`Ar... 阅读全文
posted @ 2013-01-10 15:30 思静 阅读(1998) 评论(0) 推荐(0)
  2013年1月7日
摘要: Bloom Filter 阅读全文
posted @ 2013-01-07 17:26 思静 阅读(187) 评论(0) 推荐(0)
  2013年1月6日
摘要: //父窗口中的JS //设置iframe的高度 function heightSet(){ if($.browser.mozilla || $.browser.msie){ bodyHeight =window.frames["iFrame2"].document.body.scrollHeight; }else{ bodyHeigh... 阅读全文
posted @ 2013-01-06 11:04 思静 阅读(1423) 评论(0) 推荐(0)
  2012年12月21日
摘要: 支持异步$("#batchUpdate").click(function(){ var loadingStr="<img width=50 src='img/loading.gif'></img><p>正在更新</p>"; var id_list=$(this).attr("id_list"); id_list+='0'; var dialog = $.dialog(... 阅读全文
posted @ 2012-12-21 18:45 思静 阅读(353) 评论(0) 推荐(0)
  2012年12月14日
摘要: 今天用jquery ui tab页面, 集成到我们的系统上. 发现导航栏很高, 不正常, 原来是我们系统用了float造成, 在ui tab上增加clear:both高度正常了, 但整块掉到下面去了, 后来再增加绝对定位, 搞定. <div id="tabs" style="clear:both;margin-top:0px;position:absolute;" > 阅读全文
posted @ 2012-12-14 19:42 思静 阅读(173) 评论(0) 推荐(0)
摘要: 当页面不刷新时, 多次操作某事件, live绑定的事件会触发多次, 用bind可避免: $("#bt_send").live("click",function(){ var mobileSelectedUsers=''; $("#se_mobile_users").find('.ui-widget-content').each(function... 阅读全文
posted @ 2012-12-14 19:32 思静 阅读(554) 评论(0) 推荐(0)
摘要: var currentDate = new Date(); outStr=outStr+"getTime:"+currentDate.getTime()+"<br/>";//获取当前时间(从1970.1.1开始的毫秒数) outStr=outStr+"getFullYear:"+currentDate.getFullYear()+"<br/>";//获取完整的年份(4位,1970-????... 阅读全文
posted @ 2012-12-14 19:23 思静 阅读(233) 评论(0) 推荐(0)
  2012年12月13日
摘要: SELECT * FROM information_schema.PROCESSLISTWHERE info IS NOT NULLORDER BY TIME desc,state,INFO;SELECT CONCAT('kill ',id,';') AS KillSQL FROM information_schema.PROCESSLIST WHERE info LIKE '%from /... 阅读全文
posted @ 2012-12-13 14:33 思静 阅读(2433) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页