上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
  2014年4月13日
摘要: 数组分类:1、从数组的下标分为索引数组、关联数组var ary1 = [1,3,5,8];//按索引去取数组元素,从0开始(当然某些语言实现从1开始)//索引实际上就是序数,一个整型数字alert(ary1[0]);alert(ary1[1]);alert(ary1[2]);alert(ary1[3... 阅读全文
posted @ 2014-04-13 19:57 jenqz 阅读(5822) 评论(0) 推荐(0) 编辑
  2014年4月4日
摘要: UPDATE ecm_store s LEFT JOIN (SELECT store_id, COUNT(goods_id) AS goods_count FROM ecm_goods GROUP BY store_id) gc ON s.store_id = gc.store_id SET s.goods_count = IF(gc.goods_count IS NULL, 0, gc.goods_count); 阅读全文
posted @ 2014-04-04 14:47 jenqz 阅读(228) 评论(0) 推荐(0) 编辑
  2014年4月2日
摘要: http://www.jssor.com/download-jssor-slider-development-kit.html 阅读全文
posted @ 2014-04-02 23:39 jenqz 阅读(114) 评论(0) 推荐(0) 编辑
  2014年3月27日
摘要: slave服务器,查看状态时,发现下面的错误:Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Slave can not handle replication events with the checksum that master is configured to log; the first event 'mysql-bin.000001' at 5115510, the last event read from './mysql-bin. 阅读全文
posted @ 2014-03-27 22:30 jenqz 阅读(1260) 评论(0) 推荐(0) 编辑
  2014年3月24日
摘要: http://blogs.msdn.com/b/ieinternals/archive/2013/10/11/web-proxy-configuration-and-ie11-changes.aspx 阅读全文
posted @ 2014-03-24 15:17 jenqz 阅读(696) 评论(0) 推荐(0) 编辑
  2014年3月21日
摘要: 一、准备1.nginx,http://nginx.org/download/nginx-1.5.12.tar.gz2.pcre,ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.34.tar.gz3.mysql, http://mysql.mirror.kangaroot.net/Downloads/MySQL-5.6/mysql-5.6.16.tar.gz4.php,http://jp2.php.net/distributions/php-5.5.10.tar.gz5.cmake,http://www.cmake.org 阅读全文
posted @ 2014-03-21 23:31 jenqz 阅读(796) 评论(0) 推荐(0) 编辑
  2014年3月20日
摘要: 今天在实验室碰到一台机器,根分区和/upgrade分区变成了read-only system.当碰到这个问题的时候,我的第一反应很可能硬件出现了故障,我使用了如下的方法来检测和排除故障:使用dmesg检查是否有关于磁盘错误的信息,果不其然发现大量磁盘扇区错误的信息,如下:end_request:I/O error, dev 03:06 (sda), sector 从上面的输出我们判定扇区可能出现了问题,使用badblocks -s -v -o /root/badblocks.log /dev/sda检查硬盘是否产生坏道并输出到badblocks.log中。log大约是这样的模式:6403922 阅读全文
posted @ 2014-03-20 15:22 jenqz 阅读(15450) 评论(0) 推荐(0) 编辑
  2014年3月19日
摘要: 参考:http://blogs.msdn.com/b/ieinternals/archive/2013/10/11/web-proxy-configuration-and-ie11-changes.aspxie10以后proxy不支持file://c:/proxy.pac这种格式的url 阅读全文
posted @ 2014-03-19 15:37 jenqz 阅读(1495) 评论(0) 推荐(0) 编辑
  2014年1月25日
摘要: 方法一:var d = new Date();d = new Date(d.getFullYear(),d.getMonth(),d.getDate()-n);方法二:var now = new Date();now.setTime(now.getTime()-n*24*60*60*1000); 阅读全文
posted @ 2014-01-25 16:00 jenqz 阅读(418) 评论(0) 推荐(0) 编辑
摘要: var len=arr.length>>>0;在arr.length为null或undefined的时间,强制转换为0; 阅读全文
posted @ 2014-01-25 15:57 jenqz 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页