加载中
fastcgi_param 详解

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;#脚本文件请求的路径 fastcgi_param QUERY_STRING $query_string; #请求的参数;如?app=123 fastcgi_param REQUEST_METH...

2017/06/12 10:04
663
linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录?

#压缩 tar -czvf ***.tar.gz tar -cjvf ***.tar.bz2 #解压缩 tar -xzvf ***.tar.gz tar -xjvf ***.tar.bz2 +++++++++++++++++++++++++++++++++++++++++++++ 简介 参数: -c :建立一个压缩档...

2017/06/12 10:00
643
Dockerfile RUN, CMD & ENTRYPOINT

在使用Dockerfile创建image时, 有几条指令比较容易混淆, RUN, CMD, ENTRYPOINT. RUN是在building image时会运行的指令, 在Dockerfile中可以写多条RUN指令. CMD和ENTRYPOINT则是在运行contain...

2017/06/12 09:59
170
tmux 滚屏

gnome-term 通过鼠标滚动可以滚屏,可是tmux默认鼠标滚动是查看历史命令,相当于方向键的上下。 要想滚屏只需要输入prefix + pageUp,prefix就是默认发送prefix绑定的键,默认为Ctrl + b,然...

2017/04/09 15:25
3.8W
Symfony2 : remember me cookie gets deleted when reopening the browser

I recently had this problem, and here is the solution I found: The reason why the cookie is deleted is because the user information that the cookie contains doesn't match anythi...

2016/11/13 20:39
38
优先使用对象组合,而不是类继承

极限编程》(Extreme programming)的指导原则之一是“只要能用,就做最简单的”。一个似乎需要继承的设计常常能够戏剧性地使用组合来代替而大简化,从而使其更加灵活。因此,在考虑一个设计时...

2016/11/13 20:35
1.3K
php使用 memcache 来存储 session

Memcache和PHP memcach扩展安装请见http://koda.iteye.com/blog/665761 设置session用memcache来存储 方法I: 在 php.ini 中全局设置 Php.ini代码 session.save_handler = memcache session....

2016/11/13 20:31
116
Create new log file/channel for a Symfony Service with Monolog

n this article about WSSE and Rest, we describe how to create a new log file/channel with monolog in Symfony2 Insert the logger in your service with a new Channel In this exampl...

2016/11/13 20:22
153

没有更多内容

加载失败,请刷新页面

返回顶部
顶部