上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: /* @author:luowen @time:2013-10-08 @desc:js to rgb color */ js to rgb color change to ten eg: (#fff) ==> rgb(255,255,255) 阅读全文
posted @ 2013-10-08 18:09 arvim 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: 'bpath' 实现排序(很关键) $list = $category->field(array('id','name','pid','path',"concat(path,'-',id)"=>'bpath'))->order('bpath')->select(); foreach ($list as $key => $val){ //根据排序的位置生成无限极列表的样式 for($i = 0; $i assign(&# 阅读全文
posted @ 2013-08-18 10:53 arvim 阅读(770) 评论(0) 推荐(0) 编辑
摘要: gril1 gril1 ... 阅读全文
posted @ 2013-08-12 17:09 arvim 阅读(638) 评论(0) 推荐(0) 编辑
摘要: /* @author:luowen @time:2013-08-10 @desc:点击登入,在页面中心出现一个登入框,并形成遮罩层 登入 用户登入关闭 内容部分 *{ margin: 0; padding: 0;}#show{ width:100%; height:30px; padding-left: 100px; background: #000; opacity: .6;... 阅读全文
posted @ 2013-08-10 14:20 arvim 阅读(1790) 评论(0) 推荐(0) 编辑
摘要: /* @author:luowen @time:2013-08-09 @desc:squid代理服务简介 [squid]代理服务器 [普通代理] 1.安装squid yum install squid* 2.配置squid /etc/squid/squid.conf http_port 192.168.10.1:3... 阅读全文
posted @ 2013-08-09 16:50 arvim 阅读(431) 评论(0) 推荐(0) 编辑
摘要: /* @author:luowen @time:2013-08-09 @LVS+[NET,TUNL,DR]实现负载均衡 [LVS-NAT] ... 阅读全文
posted @ 2013-08-09 15:11 arvim 阅读(539) 评论(0) 推荐(0) 编辑
摘要: <?php/* @author:luowen @time:2013-08-071.String 存入字符类型 Set name luowen 设置name = luowen 存储 Get name 获取设置好的name的值 Setnx name luowen 设置name键值为luowen 如果存在,则返回0 不存在返回1 Mset name luowen age 23 salary 233333 设置多个键值对 一块存错 全成功,全失败 Msetnx name maomao age 23 h... 阅读全文
posted @ 2013-08-07 17:17 arvim 阅读(251) 评论(0) 推荐(0) 编辑
摘要: /* @author:luowen @time:2013-08-01 [mongoDB] 1.mongoDB安装 下载mongodb-linux-i686-2.2.5.tgz tar -zxvf mongodb-linux-i686-2.2.5.tgz 将其拷贝到/usr/local/mongodb 在mongodb目录下创建data log 目录 进入 bi... 阅读全文
posted @ 2013-08-03 17:46 arvim 阅读(436) 评论(0) 推荐(0) 编辑
摘要: /* Mysql基础操作(优化) @auther: luowen @time: 2013-07-26 1.mysql复制表机构和表数据 create table t1 like t2; insert into t1 select * from t2; 2.mysql创建索引 method 1: increate [unique] [index] [primary key] indexName on t1(name); sho... 阅读全文
posted @ 2013-08-01 17:26 arvim 阅读(339) 评论(0) 推荐(0) 编辑
摘要: /** @author:luowen @time:2013-08-01 [sphinx] tar -zxvf sphinx-2.1.1-beta cd sphinx-2.1.1-beta ./configure --prefix=/usr/local/sphinx/ --with-mysql make && make install 编辑配置文件 四个块 1.... 阅读全文
posted @ 2013-08-01 17:23 arvim 阅读(339) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页