1 SimpleDateFormat foo = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); 2 System.out.println("foo:" + foo.format(new Date())); 3 4 ...
分类:
编程语言 时间:
2014-08-28 19:43:37
阅读次数:
312
问题描述:D:\adb>adb shelladb server is out of date. killing...ADB server didn't ACK* failed to start daemon *error:解决方法:是adb server端口被占用了你先执行adbnodaemons....
分类:
数据库 时间:
2014-08-28 19:39:45
阅读次数:
290
方式1,继承Thread:new Thread()
{
public void run()
{
System.out.println("hello world");
}
}.start();
方式2,实现Runnable接口:new Thread(new Runnable()
{
@Override
public void run()
{
...
分类:
编程语言 时间:
2014-08-28 18:06:45
阅读次数:
177
Setup the Eclipse + XAMPP + Wordpress debugging system in my Windows Vista system, it takes quite considerable effort to figure out the workable way to all of these, record down the procedure....
前言: C/C++的程序员渴望Java的自由, Java程序员期许C/C++的约束. 其实那里都是围城, 外面的人想进来, 里面的人想出去.背景: 作为Java程序员, 除了享受垃圾回收机制带来的便利外, 还深受OOM(Out Of Memory)的困惑和折磨. 本文借鉴了>, 并结合了小编...
分类:
编程语言 时间:
2014-08-28 16:08:19
阅读次数:
338
powershell.exe -Command "& { ('time={0},user={1}' -f (get-date),(whoami)) | Out-File "d:\user.log" -Append }"给.exe文件添加参数,参数是 array 格式$argus = "$env:wi...
分类:
其他好文 时间:
2014-08-28 14:39:59
阅读次数:
220
WMI服务能够报告详细的硬件信息。通常,每个硬件都来自它们自己的WMI代理类。但是要找出这些硬件类的名字是不容易。所有硬件类都在同一个WMI根下面,你可以在根类查询所有的硬件:Get-WmiObject -Class CIM_LogicalDevice | Out-GridView上面命令能返回基础...
分类:
其他好文 时间:
2014-08-28 14:34:20
阅读次数:
148
方法1—分割流? 使用cronolog工具切分Tomcat的catalina.out日志文件? cronolog一个对日志切分的小工具,其主页在http://cronolog.org/,我们也可以用它来切分Apache的日志。 推荐用此方法,方法如下 先google一...
分类:
系统相关 时间:
2014-08-28 13:26:19
阅读次数:
218
Where is the canteen
Problem Description
After a long drastic struggle with himself, LL decide to go for some snack at last. But when steping out of the dormitory, he found a serious problem...
分类:
其他好文 时间:
2014-08-28 13:23:19
阅读次数:
431
publicstaticvoidmain(String[]args)
{
//System.out.println("HelloWorld!");
int[]arr={8,1,2,7,4,6,12,88,95,45,32,56};
SelectSort(...
分类:
其他好文 时间:
2014-08-28 13:15:19
阅读次数:
137