string path = @"D:\a.txt";System.IO.StreamWriter swOut = new System.IO.StreamWriter(path, false, System.Text.Encoding.Default);swOut.WriteLine(strA);s...
分类:
其他好文 时间:
2014-07-07 12:28:43
阅读次数:
253
import java.text.DateFormat;import java.util.Date;/*** 格式化时间类 DateFormat.FULL = 0 * DateFormat.DEFAULT = 2 * DateFormat.LONG = 1* DateFormat.MEDIUM = ...
分类:
编程语言 时间:
2014-07-07 12:24:55
阅读次数:
245
1:测试数据库表usermysql> desc user$$+-------+-------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra ...
分类:
数据库 时间:
2014-07-07 11:01:18
阅读次数:
222
在使用pt-online-schema-change会遇到如下的错误导致表修改失败:Copying rows caused a MySQL error 1364,Message: Field 'XXX' doesn't have a default value例子1:#修改的SQL:ALTER TA...
分类:
其他好文 时间:
2014-07-07 09:24:57
阅读次数:
442
完整的错误提示信息为:No orientation specified, and the default is horizontal. This is a common source of bugs whenchildren are added dynamically.通常发生这个错误提示的原因是我...
分类:
其他好文 时间:
2014-07-03 22:02:53
阅读次数:
389
Default do not need username and password authenticate when access mongoDB ,I want to set up the user name & password for my mongoDB. so that any remo...
分类:
数据库 时间:
2014-07-03 21:02:37
阅读次数:
343
升级到0.8.1后,打开设置字体大小页面,你会发现不管是Default还是Darcula,都不允许你改变字体的大小,其实这个是因为这两个模式是Android Studio自带模式,所以不允许你改动,你要改的话要自定义自己的模式。如下图:
选中一个你想要的样式,然后点击Save as,然后在弹出的对话框中输入你自己定义的样式的名称。
然后再把Scheme name选择成你自定义的样式,这...
分类:
移动开发 时间:
2014-07-03 18:47:18
阅读次数:
232
ant构建文件时基于xml文件编写的,默认名称为build.xmlbulid.xml示例<?xmlversion="1.0"?><projectname="helloWorld"default="copy"> <targetname="copy"description="copy"> <copytodir="D:\AntTest"> <filesetdir="D:\JavaTest"/> </co..
分类:
其他好文 时间:
2014-07-02 16:18:41
阅读次数:
215
#!/bin/sh################################################AutoCloneVM######2014-5-9######Owner:YiQiang.Wei######Lastedit:5-11######################################################default(){echoechoecho-e"\033[32;49;1m[DefaultMode]\033[39;49;0m"echoechoTEM=ce..
分类:
其他好文 时间:
2014-07-02 16:14:48
阅读次数:
287
useradd指令useradd创建用户。创建用户时的一些默认选项存放在/etc/default/useradd和/etc/login.defs文件中。/etc/default/userasdd文件的内容如下:[root@Server3tmp]#cat/etc/default/useradd
#useradddefaultsfile
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/ba..
分类:
其他好文 时间:
2014-07-02 16:05:03
阅读次数:
237