方法一:(效率最高)select * from test as a where typeindex = (select max(b.typeindex) from test as b where a.type = b.type );方法二:(效率次之)select a.* from test a,( ...
分类:
数据库 时间:
2017-08-30 15:49:56
阅读次数:
327
package concurrencyimport ( v3 "github.com/coreos/etcd/clientv3" "golang.org/x/net/context")// STM is an interface for software transactional memory.t... ...
分类:
其他好文 时间:
2017-08-30 15:45:36
阅读次数:
332
package clientv3import ( pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "golang.org/x/net/context" "google.golang.org/grpc")type ( Member pb.Memb... ...
分类:
其他好文 时间:
2017-08-30 14:09:27
阅读次数:
150
题外话:好久没写过博客了,感觉还是在校园的舒服。感觉实习都很累,一天负责得好多事情。不过值得炫耀的是,以前上大一时候,某老师拿出他们企业的项目,说这个项目单纯源代码就1个G。当时觉得,这么大的项目,肯定很多人一起做并且花费许多时间。现在出来实习了两个月,独自从前端到后台,都独自敲了上G的代码,觉得当 ...
分类:
移动开发 时间:
2017-08-30 00:54:02
阅读次数:
246
import tkinter.messagebox try: fileContent = open("abnormal.txt") fileContent.close() print("over") #把异常消息赋予一个"ex"变量 except Exception as ex: print(ex)... ...
分类:
编程语言 时间:
2017-08-29 23:51:24
阅读次数:
423
在使用Entity Framework过程中,有时需要借助工具生成Code First的代码,而Entity Framework Reverse POCO Code First Generator是一款不错的工具 在Visual Studio中,通过“工具”→“扩展和更新...”来安装Entity ...
分类:
其他好文 时间:
2017-08-29 23:02:35
阅读次数:
291
Description Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by wa ...
分类:
其他好文 时间:
2017-08-29 23:00:16
阅读次数:
256
最近,在使用Jenkins对工程一键部署的时候,出现调用Tomcat Manager 异常,对其解决方案特记于次。 异常信息 可能存在的异常:(1)Cannot invoke Tomcat manager: Error writing to server ;(2)Cannot invoke Tomc ...
分类:
其他好文 时间:
2017-08-29 22:59:37
阅读次数:
445
The JavaScript specification gives exactly one proper way to determine the class of an object: Object.prototype.toString.call(t); http://bonsaiden.git ...
分类:
Web程序 时间:
2017-08-29 21:53:26
阅读次数:
383
新的文件/** * @ClassName: ${type_name} * @Description: ${todo} * @author ${user} * @date ${date} ${time} */类的注释模板Types/** * @ClassName: ${type_name} * @De ...
分类:
系统相关 时间:
2017-08-29 20:39:37
阅读次数:
255