摘要:Func<int> longTimeAction = new Func<int>(LongTimeMethod); //这里使用了一个lambda表达式,省了不少力啊 IAsyncResult asynResult = longTimeAction.BeginInvoke((result) => {
阅读全文
05 2017 档案
摘要:在使用PowerDesigner做为MySQL数据库建模的时候,总是有这样的问题,例如我需要一个字段 createTime 类型是 Timestamp,要求这个字段默认值为系统当前时间,于是我给这个字段指定了一个默认值为 CURRENT_TIMESTAMP。 但是当生成建库脚本的时候,PowerDe
阅读全文
摘要:iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --setiptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m re
阅读全文
浙公网安备 33010602011771号