漂定

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页

2014年4月16日

摘要: 1.正则表达式的使用 regexp例:select name,email from t where email regexp '@163[.,]com$'使用like方式查询selct name,email from t where email like '%@163.com' or email l... 阅读全文
posted @ 2014-04-16 17:24 漂定 阅读(197) 评论(0) 推荐(0) 编辑

摘要: 注:分区的语法可以看手册中有详细的写法和例子:showplugins;此命令查看可有partition这个选项,有则mysql支持分区,没有的话,就可以升级一下mysql实时监控一个命令执行情况 例:watch -n1 ls -lh1.Mysql分区类型1) RANGE 分区:基于属于一个给定连续区... 阅读全文
posted @ 2014-04-16 10:01 漂定 阅读(231) 评论(0) 推荐(0) 编辑

2014年4月14日

摘要: Nginx地址重写 Nginx rewriterewrite语法规则1).变量名可以使用 "=" 或 "!=" 运算符~ 区分大小写~* 不区分大小写^~ 禁止表达式匹配 找到后就不向下找了= 精确匹配!~ 和 !~* 与 ~ !~ 相反-f 和 !-f 用来判断文件是否存在-d 和 !... 阅读全文
posted @ 2014-04-14 17:53 漂定 阅读(1249) 评论(0) 推荐(0) 编辑

2014年4月11日

摘要: 中文官方网站http://wiki.nginx.org/Chshttp://www.howtocn.org/-------------------------------------------------------------------------------------------控制站点访问注:按次序来执行的,所以允许和拒绝要注意顺序location /www{ root /web/html; index index.html index.htm autoindex on; deny 192.168.0.12 #拒绝这个访问 allow 192.168.1.0/24;#允许这段访问 阅读全文
posted @ 2014-04-11 16:01 漂定 阅读(219) 评论(0) 推荐(0) 编辑

2014年4月10日

摘要: ### 备选####安装开发者工具包 (简约版的可能要安装一下)yum groupinstall "Development tools"##########1.准备 php函数的 rpm包yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel nc 阅读全文
posted @ 2014-04-10 15:06 漂定 阅读(305) 评论(0) 推荐(0) 编辑

摘要: tar zxvf php-5.2.14.tar.gz gzip -cd php-5.2.14-fpm-0.5.14.diff.gz | patch -d php-5.2.14 -p1 阅读全文
posted @ 2014-04-10 10:52 漂定 阅读(282) 评论(0) 推荐(0) 编辑

2014年4月4日

摘要: 1.apktoolapktool d xxx.apk 得到全部的资源素材2.dex2jardex2jar classes.dex3.jd-gui把jar文件转成 .java的源代码 阅读全文
posted @ 2014-04-04 09:53 漂定 阅读(219) 评论(0) 推荐(0) 编辑

2014年4月2日

摘要: 如何配置apache最大的并发数MPM(多路处理模块)常见:1.perfork 预处理进程方式2.worker 工作者模式3.winnt 在windows使用案例:把apache的最大并发数配置成1000个1.首先确认apache的mpm方式cmd>httpd.exe -l 可以看到是什么模式了这里就看mpm_xxx.c这个xxx就是那个了2.修改httpd.conf文件搜索mpm,找到 Server-pool management(MPM specific)去掉# Include conf/extra/httpd-mpm.conf3.修改conf/extra/httpd-mpm.con 阅读全文
posted @ 2014-04-02 23:12 漂定 阅读(5868) 评论(0) 推荐(0) 编辑

2014年3月28日

摘要: -- cursor 游标/*declare 声明; declare 游标名 cursor for select_statement;open 找开; open 游标名fetch 取值; fetch 游标名 into var1,var2,var3[,...]close 关闭; close 游标名; */create procedure p12()begin declare row_gid int; declare row_num int; declare row_name varchar(20); declare getgoods cursor for select gid,num,name f 阅读全文
posted @ 2014-03-28 11:53 漂定 阅读(549) 评论(0) 推荐(0) 编辑

摘要: 个人常用插件:AlignmentBracket Highlighter 此插件能完成括号高亮匹对DocBlockrEmmentNodejsPackage ControlPrefixr CSS3中前缀,例:--webkitSide BarSublimeCodeIntelSublimeLinterAn... 阅读全文
posted @ 2014-03-28 11:01 漂定 阅读(410) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页