#encoding:utf-8require "open-uri"require "timeout"require 'rubygems'require "nokogiri"uri = "http://api.map.baidu.com/direction/v1?mode=driving&origin...
分类:
其他好文 时间:
2014-11-28 18:09:41
阅读次数:
128
The AD736 true-rms-to-dcconverter is useful for many applications that require precise calculation of the rms value of a waveform. This converter can ...
分类:
其他好文 时间:
2014-11-28 16:14:22
阅读次数:
142
Many designs need deep buffering but don't require ultrahigh-memory bandwidth. Examples include image and audio processing, as well as some deep-FIFO ...
分类:
其他好文 时间:
2014-11-28 15:44:48
阅读次数:
196
Many applications require current sources rather than voltage sources. When you need a high-current source, using a linear regulator is inadvisable, b...
分类:
其他好文 时间:
2014-11-28 15:42:19
阅读次数:
142
Many embedded-microcontroller applications require generation of analog signals. An integrated or stand-alone DAC fills the role. However, you can oft...
分类:
其他好文 时间:
2014-11-28 14:19:13
阅读次数:
337
Targeting use in portable-system applications that require raising a battery's voltage to a higher level, IC boost regulators often include output tra...
分类:
其他好文 时间:
2014-11-28 14:17:55
阅读次数:
216
<?php class MicrositeModel extends Model{? ? ? protected $_validate = array( array(‘siteurl‘,‘url‘,‘微网站URL不正确‘,1),? array(‘sort‘,‘require‘,‘排序不能为空‘,1,‘‘,3), array(‘sort‘,‘iszhengshu...
分类:
Web程序 时间:
2014-11-26 11:43:54
阅读次数:
240
Nodejs中的加密是Crypto模块,1、md5的使用var crypto = require("crypto");//创建var md5 = crypto.createHash("md5");md5.update("123456");//update()方法有记忆功能,md5.update('1...
分类:
Web程序 时间:
2014-11-26 01:02:50
阅读次数:
261
学习Nodejs连接mysql数据库:1、先安装mysql数据库 npm install mysql2、测试连接数据库:var sql = require("mysql");var db = sql.createConnection({host:"localhost",ure:"root",pas....
分类:
数据库 时间:
2014-11-25 01:38:46
阅读次数:
201
实用events做个小例子: var mysql = require("mysql");var Event = require("events").EventEmitter;var user = "lubingjie";var pass = "123456";var db = mysql.crea....
分类:
Web程序 时间:
2014-11-25 01:37:39
阅读次数:
202