摘要:
```shell !/bin/sh 获取当前时间格式:yyyy mm dd dd= 日志文件路径 path='/logs/'${dd}'.log' nginx 黑名单路径文件 nginx_path=/nginx/ips.conf 获取ip出现次数按照降序排列并输出到文件 ip列表文件 ip_path 阅读全文
摘要:
explain select 查询sql语句的执行效率和是否使用索引, 根据字段的先后顺序来设计联合索引。 1、where 2、group by 3、order by (不走索引) 阅读全文
摘要:
SWFUpload IE Flash File Upload $(function(){ $(' swfupload control').swfupload({ upload_url: "http://localhost", file_post_name : "resource", file_siz 阅读全文
摘要:
1.将win7 的文件发送到 linux 指定的 目录首先进入linux 指定的目录,然后执行 put 选择文件即可。2. lcd 选择win7 上存放文件的目录。 get 指定文件 即可下载到 win7上。 阅读全文
摘要:
#### 基于HTTP协议的轻量级开源简单队列服务:HTTPSQS(引用地址:http://zyan.cc/httpsqs/)##### 1. HTTPSQS 具有以下特征:> * 非常简单,基于 HTTP GET/POST 协议。PHP、Java、Perl、Shell、Python、Ruby等支持... 阅读全文
摘要:
Ubuntu apt-get upgrade – The following packages have been kept back aptitude safe-upgrade 阅读全文
摘要:
$s_fpath = 'var/log/app/' . 'js.' . date('Y-m-d') . '.log';error_log("{{$message}}\n{{$user_id}}", 3, $s_fpath); 阅读全文
摘要:
{% macro paging(page, max, url, num = 5) %}{% if page max %}{% set page = max %}{% endif %}{% set jianju = (num / 2)|round %} 首页 = 2 %}href="{{... 阅读全文
摘要:
[user] name = Fairyin email = fairyin@126.com[core] abbrev = 8 autocrlf = input eol = lf[push] default = simple[i18n] commitEncoding = utf-8 logOutp... 阅读全文
摘要:
上传图片Fairyin丶 阅读全文