摘要:
1.install nodejs Because of a conflict with another package, the executable from the Ubuntu repositories is called nodejs instead of node. Keep this i 阅读全文
摘要:
两种基本的设计模式。 1.PubSub 模式是一种将回调赋值给已命名事件的回调组织方式 2.Promise 对象是一种表示一次性事件的直观对象。 还有Async.js的工作流控制,Async utilities for node and the browser https://github.com/ 阅读全文
摘要:
/** * 构造日期时间格式 * @return String */function getFormatDatetime() { try { var _datetime=new Date(); var _month=_datetime.getMonth()+1;//需要加1 var _date=_datetime.getDate(); var _hour=_datetime.getHours(); var _minutes=_datetime.getMinutes(); var _seconds=_dat... 阅读全文