1、编写脚本,名为nginx#!/bin/sh## nginx - this script
starts and stops the nginx daemon## chkconfig:- 85 15# description: Nginx is an
HTTP(S) server, HTTP(S) ...
分类:
其他好文 时间:
2014-06-13 13:10:40
阅读次数:
243
C++中打开文件的方法。1.system();函数原型:intsystem(char*command);作用:发出一个DOS命令。特点:该函数是同步的,不灵活。只是能够改为system("start
XXX");2.WinExec()3.ShellExecute()4.CreateProcess()...
分类:
其他好文 时间:
2014-06-13 06:50:36
阅读次数:
262
WPF 进程间传递参数
在软件开发中有时需要在一个软件中启动另一个软件,这时用Process.Start(“软件路径”)可以启动另一个软件。如果在这个过程中还需要传递一些参数给新启动的软件,可以通过WPF中的Application_Startup来完成:
首先,在需要启动的WPF项目中的APP...
分类:
其他好文 时间:
2014-06-13 06:41:04
阅读次数:
715
CHARINDEX 返回字符串中指定表达式的起始位置。 语法 CHARINDEX (
expression1 , expression2 [ , start_location ] ) 参数 expression1
一个表达式,其中包含要寻找的字符的次序。expression1 是一个短字符数据类型分...
分类:
数据库 时间:
2014-06-12 21:00:54
阅读次数:
301
解决办法方法:所以应该使用StringBuilder缓存,在startElement的时候调用sb.setLength(0);每次characters时调用sb.append(ch,
start, length);在endElement的时候才调用String str = sb.toString()
分类:
其他好文 时间:
2014-06-12 17:44:19
阅读次数:
232
上配置,供参考INTERNET:Currentconfiguration:1192bytes!version12.4servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnameINTERNET!boot-start-markerboot-end-marker!!noaaanew-modelmemory-sizeiomem5ipcef!!!!noipdo..
分类:
其他好文 时间:
2014-06-10 23:20:09
阅读次数:
259
这次顺利安装完成测试环境出现两个错误,其实就一个原因导致,先记录下来,以后会不定期扩充此篇内容:[oracle@oatest~]$sqlplus‘/assysdba‘-bash:sqlplus:commandnotfound[oracle@oatest~]$lsnrctlstatus-bash:lsnrctl:commandnotfound解决方法如下:http://soulful.blog.51ct..
分类:
数据库 时间:
2014-06-10 20:45:59
阅读次数:
321
vector split(const string& src, const
string& separator){vectordest;string str = src;string
substring;string::size_type start = 0, index;do{index = st...
分类:
其他好文 时间:
2014-06-10 20:35:36
阅读次数:
238
题目
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying t...
分类:
其他好文 时间:
2014-06-10 18:43:37
阅读次数:
254