This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from t_eve_wechat_verification_code where age(now(),ctime) < ('00:05:00.00000')::interval; | |
select age(now(),ctime) < interval '00:05:00.00000' from t_eve_wechat_verification_code ; | |
select age(now(),ctime) from t_eve_wechat_verification_code ; | |
select date_part('minute',interval '2 years 2 days 23:14:01.92202'); | |
select extract(day from interval '2 years 2 days 23:14:01.92202'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
查看了微软LUIS语义理解服务,看到支持语言中有Node.js,Python,还有C#,竟然不支持Java,想了半天,原来是微软家的东西。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |