上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 38 下一页
摘要: Get方式: local id = tostring(ngx.var.arg_id)local type = tostring(ngx.var.arg_type) Post方式: ngx.req.read_body()local args = ngx.req.get_post_args()... 阅读全文
posted @ 2014-06-10 13:44 缤纷世界 阅读(5797) 评论(0) 推荐(1) 编辑
摘要: 安装mkdir /usr/local/nmoncd /usr/local/nmonwget http://sourceforge.net/projects/nmon/files/nmon_linux_14i.tar.gztar zxvf nmon_linux_14i.tar.gzchmod 777 ... 阅读全文
posted @ 2014-05-27 16:49 缤纷世界 阅读(9241) 评论(0) 推荐(1) 编辑
摘要: 说明: mount -t cifs -o 这个就不多说了(照着写吧)。username="administrator" 访问需要的用户名。password="123465" 访问需要的密码。//10.10.3.246/f 共享机器的IP地址,后面的f为共享名。/usr/local/openresty 阅读全文
posted @ 2014-05-22 15:39 缤纷世界 阅读(373) 评论(0) 推荐(0) 编辑
摘要: select case RIGHT(RESOURCE_SIZE,2) when 'MB' THEN SUBSTRING_INDEX(RESOURCE_SIZE,'MB',1)*1024 ELSE SUBSTRING_INDEX(RESOURCE_SIZE,'KB',1) END as aaa fro... 阅读全文
posted @ 2014-05-14 14:02 缤纷世界 阅读(467) 评论(0) 推荐(0) 编辑
摘要: ## 数据源src1source src1{ ## 说明数据源的类型。数据源的类型可以是:mysql,pgsql,mssql,xmlpipe,odbc,python ## 有人会奇怪,python是一种语言怎么可以成为数据源呢? ## python作为一种语言,可以操作任意其他... 阅读全文
posted @ 2014-05-07 19:39 缤纷世界 阅读(3027) 评论(2) 推荐(0) 编辑
摘要: 1、通配删除相同前缀的缓存 DEL命令的参数不支持通配符,但我们可以结合Linux的管道和xargs命令自己实现删除所有符合规则的键。 比如要删除所有以“structure_”开头的键,就可以执行下面的语句 redis-cli KEYS "structure_*" | xargs redis-c... 阅读全文
posted @ 2014-05-07 14:36 缤纷世界 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-24 19:28 缤纷世界 阅读(840) 评论(0) 推荐(0) 编辑
摘要: 1、下载jquery.cookie.js 官网:http://plugins.jquery.com/cookie/ 或 http://pan.baidu.com/s/1mgynA8g 2、使用方法 $.cookie('the_cookie'); // 获得cookie$.cookie('the_... 阅读全文
posted @ 2014-04-08 17:18 缤纷世界 阅读(3823) 评论(0) 推荐(0) 编辑
摘要: Redis协议 * 参数个数$ 第一个参数长度 第一个参数$ 第一个参数长度 第二个参数... ... 编写SQL语句,把mysql数据组合成Redis协议数据流 SELECT CONCAT("*16\r\n",'$', LENGTH(redis_cmd), '\r\n',redis_cm... 阅读全文
posted @ 2014-04-03 19:04 缤纷世界 阅读(16208) 评论(29) 推荐(1) 编辑
摘要: 1、解析16进制编码的中文参数 2、类似replace 3、直连mysql 4、直接Redis 5、使用管道 6、计算一共有多少页 7、Lua Table 多字段排序 8、四舍五入小数点保留2位 阅读全文
posted @ 2014-04-02 19:26 缤纷世界 阅读(513) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 38 下一页