漂定

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

04 2014 档案

摘要:1 .opacity{2 position: absolute;3 top: 0px;left: 0px;4 background: #000;5 filter:alpha(opacity=50); /* IE */6 -moz-opacity:0... 阅读全文
posted @ 2014-04-29 14:55 漂定 阅读(499) 评论(0) 推荐(0)

摘要:1 2 3 4 5 Document 6 33 34 56 57 58 请往下拖动滚动条59 60 61 阅读全文
posted @ 2014-04-29 13:20 漂定 阅读(172) 评论(0) 推荐(0)

摘要:网址:http://icomoon.io/http://iconfont.cn/ 阿里巴巴字体库 1 2 3 4 5 无标题文档 6 17 18 19 20 21 22 23 阅读全文
posted @ 2014-04-28 17:32 漂定 阅读(197) 评论(0) 推荐(0)

摘要:1 2 3 4 5 css3旋转小三角 6 15 16 17 18 19 20 阅读全文
posted @ 2014-04-28 14:52 漂定 阅读(548) 评论(0) 推荐(0)

摘要:@echo offattrib -s -h -r /s /d C:\*Thumbs.dbattrib -s -h -r /s /d D:\*Thumbs.dbattrib -s -h -r /s /d E:\*Thumbs.dbattrib -s -h -r /s /d F:\*Thumbs.dbd... 阅读全文
posted @ 2014-04-24 10:49 漂定 阅读(799) 评论(0) 推荐(0)

摘要:官网http://cubiq.org/iscroll-4 阅读全文
posted @ 2014-04-21 17:59 漂定 阅读(216) 评论(0) 推荐(0)

摘要:插件下载地址:https://gist.github.com/2863474插件,可以将CSS格式化成一行,也可以将一行格式化成多行。下载解压缩之后,将compact_expand_css_command.py放到*\Sublime Text 2\Packages\User [windows下一般在... 阅读全文
posted @ 2014-04-21 09:56 漂定 阅读(475) 评论(0) 推荐(0)

摘要: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 漂定 阅读(202) 评论(0) 推荐(0)

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

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

摘要:中文官方网站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 漂定 阅读(225) 评论(0) 推荐(0)

摘要:### 备选####安装开发者工具包 (简约版的可能要安装一下)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 漂定 阅读(309) 评论(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 漂定 阅读(289) 评论(0) 推荐(0)

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

摘要:如何配置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 漂定 阅读(5920) 评论(0) 推荐(0)