java基础之 Advanced Class Design
Abstract Classes
In many programming situations, you want to specify an abstraction without specifying
implementation-level details. In such cases, you can use e...
分类:
编程语言 时间:
2016-02-21 18:40:24
阅读次数:
193
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl
分类:
其他好文 时间:
2016-02-21 18:37:32
阅读次数:
136
Given a binary tree, return the preorder traversal of its nodes' values. Example Given: 1 / \ 2 3 / \ 4 5 return [1,2,4,5,3]. Challenge Can you do it
分类:
其他好文 时间:
2016-02-21 18:25:22
阅读次数:
153
前一篇文章中主要讲了对于绑定的理解。现在来讲讲对于绑定的实现。 绑定的实现主要有两种方式: If the extended address of the destination device is known, the zb_BindDevice() can be to create a bindi
分类:
其他好文 时间:
2016-02-21 11:32:52
阅读次数:
157
Given a binary tree, return the inorder traversal of its nodes' values. Example Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,3,2]. Challenge Can y
分类:
其他好文 时间:
2016-02-21 11:29:05
阅读次数:
116
还记得三年前,独自背着行李,流浪远方,来到曾经只在地理课本上才熟悉的北国,带着好奇,带着期望,带着激动的心情,想感受毛爷爷当年霸气的北国风光,千里冰封的美丽,想知道北方的面条到底有多少种花样,想走进那个梦想的地方,走的时候带了一本青年文摘,因为那个里面有一篇文章《你凭什么上北大》,我小妹,不解的看着我,你为什么拿一本书,还不如多拿点吃的,我不知道怎么回应小妹,只是傻傻的笑笑,因为我实在无法对我可爱...
分类:
其他好文 时间:
2016-02-21 09:06:49
阅读次数:
218
Usually we use template languages like Handlebars, JSX, and Jade to create. One simple way we can create our own template language is to write a funct
分类:
Web程序 时间:
2016-02-20 19:07:20
阅读次数:
485
Built-in Promises Mongoose 异步操作,像 .save() 和 queries,返回 Promises/A+ conformant promises. This means that you can do things like MyModel.findOne({}).the
分类:
其他好文 时间:
2016-02-20 01:47:51
阅读次数:
379
人在最绝望的时候会干啥,《进击的巨人》。 可以绝望,但一定要相信还有希望。 今天去看了《美人鱼》,确实挺好吧。 把愤怒归结于无能,其实是大错特错,愤怒是人的情绪的发泄,是人就有情绪,和无能没有直接关系,无能只是愤怒的直观表现。 我还是睡觉吧。到底缺什么,这个国家,这个社会,这个世界,我能做点啥。??
分类:
其他好文 时间:
2016-02-20 00:29:07
阅读次数:
126
mysql在首次启动的时候可能会报错:Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist 这时候可以执行脚本 mysql_install_db –user=mysql –ldata=数据存放的路径
分类:
数据库 时间:
2016-02-19 23:13:26
阅读次数:
371