1 s = s.replace("\n\r", "");2 s = s.replace("\r\n",
"");//这才是正确的!3 s= s.replace("\t", "");4 s =s.replace(" ", ""); ///这个按需要看自己是否要加,
我的不需要 也就没...
分类:
其他好文 时间:
2014-05-26 10:52:10
阅读次数:
237
http://www.iwangzheng.com/[root@a02]$show
dbs;changhong_tv_cms 0.078GB[root@a02]$ mongodump -d changhong_tv_cms
-o/temp/db_mongo.20140521.mongo/worksp...
分类:
数据库 时间:
2014-05-26 10:30:39
阅读次数:
407
MySql常用命令总结这两天搞个网站,又用到MySql,可是命令却一个都想不起来,所以,趁这次机会,把这些整理一下,权当作笔记吧,以便自己以后查阅!1:使用SHOW语句找出在服务器上当前存在什么数据库:mysql>SHOWDATABASES;2:2、创建一个数据库MYSQLDATAmysql>CRE...
分类:
数据库 时间:
2014-05-26 09:09:36
阅读次数:
303
//一般处理,无参数示例public JsonResult Test(){ Something...
return Json{new{Success=true,Msg="Error!",...}}; //return
Json(new{Success=fals,Msg="ok",...},Js...
分类:
Web程序 时间:
2014-05-26 08:44:39
阅读次数:
326
在用c#生成应用程序的时候,读写dbf时,open方法出错ERROR [IM002]
[Microsoft][ODBC 驱动程序管理器]
未发现数据源名称并且未指定默认驱动程序以前这个程序是用着好好的,本次升级修改后测试发现这个问题,追根求源,原来本人是32位操作系统,现在装了win7
64位的操....
分类:
数据库 时间:
2014-05-26 08:21:50
阅读次数:
794
ps -eLo
pid,tid,class,rtprio,ni,pri,psr,pcpu,pmem,stat,wchan:30,comm线程相关选项:THREAD
DISPLAYH Show threads as if they were processes-L Show threads, poss...
分类:
编程语言 时间:
2014-05-26 07:33:08
阅读次数:
668
报错:Access restriction: The method
decodeBuffer(String) from the type CharacterDecoder is not accessible due to
restriction on required libraryAccess r...
分类:
数据库 时间:
2014-05-26 07:30:24
阅读次数:
279
在64位 Windows 7中水晶报表的错误:Crystal Report Error: Either
the Crystal Reports registy key permission are insufficient or the Crystal
Reports runtime is not ...
分类:
其他好文 时间:
2014-05-26 06:38:07
阅读次数:
219
作为新入职的菜鸟,过去的这半个月忙的是焦头烂额的,碰到了许多问题,但都没时间好好记下来。趁着今天这点时间,记录一下有关repo使用过程中碰到的一些问题及解决办法吧!
一、repo sync时出现 error: .repo/manifests/: contains uncommitted changes 这样的错误提示。从字面意思上看是代码有改动但是没有commit。但好几次我查看了代码,把改动通...
分类:
其他好文 时间:
2014-05-24 17:56:58
阅读次数:
451
在local copying中点击view --->选择show ignored
items。既可以显示.a文件,可以添加到repository中。
分类:
其他好文 时间:
2014-05-24 09:14:08
阅读次数:
254