getopt_long原型 optstring就是下面程序中的:"hva:b:",就是那一群简写集合,后面带冒号意思(比如-a)就是这个-a后面要加参数。 getopt_long实例 经常为了写小程序的解析参数感觉麻烦,所以就写一个小函数模板以后复制用。 ...
分类:
其他好文 时间:
2016-12-27 20:18:44
阅读次数:
158
from: https://github.com/ajermakovics/eclipse-instasearch/wiki/Eclipse-search-tips Eclipse Search Tips A few search shortcuts: Ctrl+J - Incremental Fi ...
分类:
系统相关 时间:
2016-12-24 11:42:41
阅读次数:
193
//可选类型的声明var myString:String? = nil var myString2:Optional ...
分类:
编程语言 时间:
2016-12-18 23:40:04
阅读次数:
200
路由配置自定义URL,但是这会访问,会报404错误,因为会当场静态文件处理,不会走路由规则。 解决办法: 在webconfig中配置 在<system.webServer>节点下,加上一段代码 这个配置节点的作用是 让每个请求通过所有的Module 而不是在StaticFileModule 就被Ha ...
分类:
Web程序 时间:
2016-12-16 14:47:07
阅读次数:
230
Return a list of the words of the string s. If the optional second argument sep is absent or None, the words are separated by arbitrary strings of whi ...
分类:
其他好文 时间:
2016-12-14 18:33:10
阅读次数:
256
Eclipse开发过程中个VM Arguments的设置 1:jre中的Default VM Arguments: -Xms256M -Xmx640M -XX:PermSize=256m -XX:MaxPermSize=768m 2:Tomcat的Optional Java VM Arguments ...
分类:
系统相关 时间:
2016-12-13 16:02:11
阅读次数:
197
首先在主目录下建立:Iyibank.Web.json文件 里边的内容如下: { "ConnectionStrings": { "RedisCache": "127.0.0.1:6379" }} 在其他需要调用RedisCache的地方调用如下: var builder = new Configura ...
分类:
Web程序 时间:
2016-12-08 03:11:41
阅读次数:
352
React拥有内置的类型检测机制,为组件的props运行类型检测,需要制定propTypes属性: React.PropTypes输出一系列的验证器,用以确保你收到的数据是合法的。 一、React.PropTypes 下面是一个例子记录了不同的验证器; ...
分类:
其他好文 时间:
2016-12-07 13:53:09
阅读次数:
200
pdb file: 只是一个映射表,不包含源码内容。 存储的内容: 1.maps the identifiers that you create in source files for classes, methods, and other code to the identifiers that ...
分类:
数据库 时间:
2016-12-06 13:37:37
阅读次数:
242