转载:http://jianshu.io/p/d00df35d2a2cQuora:What
are the best day-to-day time-saving hacks?在Twitter上关注原作者@Marius
Ursache在过去五年我不断尝试和调整各种提高生产力的技术,读了很多关于这方面...
分类:
其他好文 时间:
2014-06-11 10:55:49
阅读次数:
228
System类System
类包含一些有用的类字段和方法。它不能被实例化(表示没有构造函数)。类中的方法和属性都是静态的。 out:标准输出,默认是控制台。
in:标准输入,默认是键盘。获取系统属性信息: properties getProperties(); String setProperty(...
分类:
其他好文 时间:
2014-06-11 09:45:23
阅读次数:
255
例如在mysql中的一张表中存在一个字段opr_time为datetime类型,在JDBC
中通过rs.getString("opr_time");来获取使会在日期后面添加".0",例如日期为:2014-06-01 12:10:20
查询出来为:2014-06-01 12:10:20.0解决方法:通...
分类:
数据库 时间:
2014-06-11 09:18:09
阅读次数:
279
1.#error Directive (C/C++)The #error directive
emits a user-specified error message at compile time and then terminates the
compilation.#error toke...
分类:
编程语言 时间:
2014-06-11 08:34:39
阅读次数:
347
1、CLR根本不知道“命名空间”(Namespace)这回事,都是C#编出来“骗人”的。2、CLR不知道什么叫“可选参数”(Optional
Parameter),这都是C#整出来的名词。3、CLR“不知有var,无论dynamic。”4、C#一边告诉我们ref和out有本质区别,一边又对CLR说他...
分类:
其他好文 时间:
2014-06-10 00:21:27
阅读次数:
279
输入输出流标准输出流比较简单, 只需要使用 System.out.println 就可以了,
标准输入流步骤如下:Scanner in = new Scanner(System.in); 然后可以使用 Scanner 类的各种方法实现输入操作. 例如:
nextLine 方法String name ...
分类:
编程语言 时间:
2014-06-10 00:00:16
阅读次数:
310
Given two integersnandk, return all possible
combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution
is:[ [2,4], [3,4], [2,3],...
分类:
其他好文 时间:
2014-06-08 08:08:29
阅读次数:
294
1. log文件分类简介1. 实时打印:1.1 logcat main(应用程序)--adb
logcat -b main -v time > app.log1.2 logcat
radio(射频相关-SIMSTK,modem相关的ATcommand)--adb logcat -b radio -v...
分类:
移动开发 时间:
2014-06-08 07:34:55
阅读次数:
341
这篇文章来自iOS Tutorial Team 成员Marcelo Fabri,
他是Movile的一个iOS开发者. Check out hispersonal websiteorfollow him on Twitter.原文地址
当我们开发iOS应用时,好的性能对我们的App来说是很重要的。你...
分类:
移动开发 时间:
2014-06-08 01:28:27
阅读次数:
507
Follow up for "Search in Rotated Sorted
Array":What ifduplicatesare allowed?Would this affect the run-time complexity?
How and why?Write a function to...
分类:
其他好文 时间:
2014-06-08 01:19:29
阅读次数:
320