摘要:
很多专业知识的科普片为什么能够让没有专业知识背景的人也能够看懂、并且印象深刻? 粗略总结以下4点。1、图、文、动画并茂。2、讲故事、“平民化“。3、用生活中的场景映衬一些专业知识。4、把复杂的东西简单化。如果我们传播一些专业知识的时候也能做到这样,那专业知识学起来就容易多了。加油! 阅读全文
阅读排行榜
调用存储过程
2012-03-06 10:07 by java20130722, 152 阅读, 收藏,
摘要:
using System;
using System.Data;
using System.Data.SqlClient; /* create procedure sp_Select_All_Employees as select employeeid, firstname, lastname from employees
*/
namespace Chapter6
{ class CallSp1 { static void Main() { SqlConnecti... 阅读全文
SimpleDateFormat 日期格式化
2013-04-17 14:09 by java20130722, 151 阅读, 收藏,
摘要:
SimpleDateFormat 日期格式化SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd") ; String s = format.format(new Date()) ; System.out.println(s); format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") ; System.out.println(format.format(new Date()));在Android中都是可以运行的。 阅读全文
重要的和成熟的手机跨平台工具
2013-02-18 15:52 by java20130722, 149 阅读, 收藏,
摘要:
As part of the new community-driven research initiative, we are examining the importance and adoption level of a range of cross platform mobile tools that aim to help developers deliver applications on a variety of mobile platforms. The tools we're going to examine are:PhoneGap (Apache Cordova), 阅读全文
javascript给builtin对象添加新方法
2013-01-24 14:33 by java20130722, 149 阅读, 收藏,
摘要:
在Ruby中可以使用Open Class的方法给已有的类添加新的方法,这样可以方便我们扩展新的功能。如rails这样popular的framework都会有core_ext用来添加ruby本身库的功能。虽然可能会出现Monkey Patch的问题,但这样仍然很好的丰富了我们写程序的手法。考虑一个String类,如果我的业务逻辑是经常会取出String对象的第一个字符并且返回大写形式。我就可以打开String类。直接添加一个这样的方法就行。如下:class String def capital self[0].to_s.upcase end
end puts "kiwi".c 阅读全文
浙公网安备 33010602011771号