同一台Windows机器中启动多个Memcached服务 这就需要在一台机器上启动多个Memcached服务了。 假设Memcached在如下目录:C:\memcached\memcached.exe 在CMD中执行如下命令即可再安装一个Memcached服务(记得换个端口号啊!):sc cr...
shell 十三问:1) 为何叫做 shell ?2) shell prompt(PS1) 与 Carriage Return(CR) 的关系?3) 别人 echo、你也 echo ,是问 echo 知多少?4) " "(双引号) 与 ' '(单引号)差在哪?5) var=value?export ...
分类:
其他好文 时间:
2014-09-19 13:39:15
阅读次数:
298
1、发送Get请求 public static string HttpGet(string Url, string postDataStr) { HttpWebRequest request = (HttpWebRequest)WebRequest.Cr...
分类:
其他好文 时间:
2014-09-18 18:40:04
阅读次数:
144
#!/bin/shDELDIR="/root/crontab_test/test"#3 minute agoDELTIME="-mmin +3"#delete file typeFILETYPE1="'*.txt'"FILETYPE2="'*.log'"#write to tmp filerm cr...
分类:
系统相关 时间:
2014-09-18 09:38:33
阅读次数:
210
要实现文字在一定区域里滚动,首先用CCClippingNode做出一个剪裁区域,在这个区域内文字可以显示,出了这个区域之后文字就看不到。
bool TestLayer::init()
{
CCSize size = CCDirector::sharedDirector()->getVisibleSize();
//创建要显示的文字
text = CCLabelTTF::cr...
分类:
其他好文 时间:
2014-09-11 22:29:32
阅读次数:
189
问题描述:
11G RAC安装时,GI已经安装完成,各服务状态正常,运行ASMCA时出错(ASM实例状态都是正常的)。
提示是:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure on this node;具体信息看下图。
解决办法是:重新注册资源,,我是重启了OS,或者也可能重启CR...
分类:
其他好文 时间:
2014-09-07 16:03:45
阅读次数:
403
shell命令解释器查看当前系统下有哪些shell查看当前系统正在使用的shellecho $SHELLbash实用命令ctrl+a //命令的最开头ctrl+e //命令的最末尾ctrl+p //前一个命令ctrl+n //后一个命令ctrl+b //光标向前移动ctrl+f //光标向后移动cr...
分类:
系统相关 时间:
2014-09-03 23:59:07
阅读次数:
534
1 #include "hw_config.h" 2 3 // >> 4 5 // 电源控制(PWR) 6 // 电源控制寄存器 (PWR_CR) 3.4.1 7 // DBP:取消后备区域的写保护 8 // 在复位后,...
分类:
其他好文 时间:
2014-08-27 16:01:38
阅读次数:
348
pthread_exit:By having main() explicitly callpthread_exit()as the last thing it does, main() will block and be kept alive to support the threads it cr...
分类:
其他好文 时间:
2014-08-22 12:31:06
阅读次数:
149
/************************************************************************* > File Name: Kris_shell.c > Author: KrisChou > Mail:zhoujx0219@163.com > Cr...
分类:
系统相关 时间:
2014-08-22 10:29:05
阅读次数:
262