上一页 1 ··· 9 10 11 12 13

2012年5月9日

Nginx dispatches the request to apache.

摘要: Since nginx listen the port 80, and apache can not listen on port 80. But we may still want to use 80 port to acess the app that is hosted on the apache server. We can use nginx to dispatch the request to apache....... server { listen 80; server_name 127.0.0.1; #charset koi8-r; #access_log logs/host 阅读全文

posted @ 2012-05-09 12:59 jmbkeyes 阅读(192) 评论(0) 推荐(0)

2012年5月6日

解决TortoiseGit连接Bonobo Git Server时老是需要“输入用户名与密码”的问题

摘要: TortoiseGit 每次从Git-Server PULL东西过来或往Git-Server PUSH东西时,老是跳出窗口让输入用户及密码,网上搜索后找到了解决方法。方法如下:也先创建_netrc文件(内容如上),然后将如下脚本保存成bat脚本,将两文件放到同一目录内,执行bat脚本即可。setx HOME %USERPROFILE%copy _netrc %USERPROFILE%pause 阅读全文

posted @ 2012-05-06 20:08 jmbkeyes 阅读(1027) 评论(0) 推荐(0)

2012年4月14日

memcached命令

摘要: 五种基本memcached 命令(执行最简单的操作):set: 用于向缓存添加新的键值对。如果键已经存在,则之前的值将被替换。add :仅当缓存中不存在键时,add 命令才会向缓存中添加一个键值对。如果缓存中已经存在键,则之前的值将仍然保持相同,并且您将获得响应NOT_STORED 。replace:仅当键已经存在时,replace 命令才会替换缓存中的键。如果缓存中不存在键,那么您将从memcached 服务器接受到一条NOT_STORED 响应。get:用于检索与之前添加的键值对相关的值。delete:用于删除memcached 中的任何现有值。您将使用一个键调用delete ,如果该键存 阅读全文

posted @ 2012-04-14 00:22 jmbkeyes 阅读(1820) 评论(0) 推荐(0)

2012年4月13日

CentOS 6.2 安装memcached

摘要: yum 安装(memcached可能不是最新的)1. 打开终端,切换到root用户2. 安装libevent yum install libevent3. 安装memcached yum install memcachedmemcached源代码安装:1. 下载软件 memcached最新版 (http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz) libevent(memcached依赖libvent)最新稳定版 (http://cloud.github.com/downloads/libevent/libevent/li 阅读全文

posted @ 2012-04-13 00:32 jmbkeyes 阅读(860) 评论(0) 推荐(0)

2012年4月9日

linux - 文件属性及权限

摘要: ls - 显示文件的属性:([OPTION]... [FILE]...) 权限说明: 档案类型:当为[ d ]则是目录;当为[ - ]则是文件;若是[ l ]则表示为连结档(link file);若是[ b ]则表示为装置文件里面的可供储存的接口设备(可随机存取装置);若是[ c ]则表示为装置文件里面的串行端口设备,例如键盘、鼠标(一次性读取装置)。 权限组: 接下来的字符中,以三个为一组,且均为『rwx』 的三个参数的组合。其中,[ r ]代表可读(read)、[ w ]代表可写(write)、[ x ]代表可执行(execute)。 这三个权限的位置不会改变,如果没有权限,就会出现减.. 阅读全文

posted @ 2012-04-09 21:56 jmbkeyes 阅读(285) 评论(0) 推荐(0)

2011年7月20日

Autofac例子

摘要: IntroductionAutofac is an open-source dependency injection (DI) or inversion of control (IoC) container developed on Google Code.Autofac differs from many related technologies in that it sticks as close to bare-metal C# programming as possible. It is designed around the premise that it is wasteful t 阅读全文

posted @ 2011-07-20 14:19 jmbkeyes 阅读(2117) 评论(0) 推荐(0)

2011年7月18日

How to: Configure a Port with an SSL Certificate in Vista or WIN7

摘要: Step 1: Create a certificateYou create a certificate using the makecert tool. This tool is available by installing any of the following: Microsoft® Visual Studio 2005 (all editions except Express) Microsoft® Visual Studio 2008 (all editions except Express) Microsoft® Visual Studio 201 阅读全文

posted @ 2011-07-18 15:54 jmbkeyes 阅读(306) 评论(0) 推荐(0)

2011年5月23日

Fiddler and localhost

摘要: I would like to share a really useful trick if you need to use Fiddler with a website running on the localhost (i.e. ASP.NET Developer Server or Cassini). Fiddler will not recognize your address in this form… …but it will work if you replace “localhost” with “ipv4.fiddler”! More info: http://www.fid 阅读全文

posted @ 2011-05-23 12:57 jmbkeyes 阅读(198) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13

导航