1. make your own format file at your project's root or file's folder. (The clang-format will automatically use the latest format file to format your code) vim .clang-format IndentWidth: 8 UseTab: Always BreakBeforeBraces: Linux AllowShortIfStatements…
cppcheck是一个个检测源码的工具,对编译工具的一个补充,mark Cppcheck - A tool for static C/C++ code analysis Syntax: cppcheck [OPTIONS] [files or paths] If a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.tpp, and *.txx files are checked recursi…
添加Service Reference, 无法为服务生成代码错误的解决办法 我的解决方案是Silverlight+WCF的应用,Done Cretiria定义了需要在做完Service端的代码后首先运行事先定义好的Unit Test,确保在客户端使用Service之前Service是可以正确的运行的.在我创建Unit Test之前,需要在测试项目中添加对WCF Service的引用,而这时却出现了错误. Custom tool error: Failed to generate code for…
1. 安装统计 2. 安装列表 3. 安装说明 4. 作为依赖项的安装列表 5. 更正 mangaro使用减的方式安装系统.开箱即用的豪华版本,大部分人需要的都有了,同样包括个别用户不需要的,配置方面为了好用有很多是自动模式,开机启动等. Arch使用加的方式安装系统.初始base包只有50来个最基本的软件包,需要什么自己装,自己配置.使用Arch50天.下面是截至目前安装的软件列表供参考. 1. 安装统计 $ sudo pacman -Q |wc -l 822 $ sudo pacman -Q…
carbaugh/lice lice : Generate license files for your projects 一个用来为你的项目生成许可证的工具.这下可方便了,不用手工的去修改了! coleifer/peewee peewee: a small, expressive orm – supports postgresql, mysql and sqlite 你在用SQLAlchemy ? 我强烈推荐你看下peewee 来看一个例子: User.select().where(User.…
http://blog.csdn.net/pipisorry/article/details/47185795 python常用模块 压缩字符 当谈起压缩时我们通常想到文件,比如ZIP结构.在Python中可以压缩长字符,不涉及任何档案文件.import zlibstring =  """   Lorem ipsum dolor sit amet, consectetur                adipiscing elit. Nunc ut elit id mi u…
Implementation with Java From:http://jcsc.sourceforge.net In general, follow the Sun coding conventions.These are available at java.sun.com/docs/codeconv/index.html (the code in this book follows these conventions as much as I was able). These are us…
欢迎关注我的社交账号: 博客园地址: http://www.cnblogs.com/jiangxinnju/p/4781259.html GitHub地址: https://github.com/jiangxincode 知乎地址: https://www.zhihu.com/people/jiangxinnju Origin Article: Peer Code Reviews Made Easy with Eclipse Plug-In Origin Author: John Ferguso…
Everyone collects utilities, and most folks have a list of a few that they feel are indispensable.  Here's mine.  Each has a distinct purpose, and I probably touch each at least a few times a week.  For me, "util" means utilitarian and it means…
https://www.softwaretestinghelp.com/tools/top-40-static-code-analysis-tools/ In this article, I have summarised some of the top static code analysis tools. Can we ever imagine sitting back and manually reading each line of codes to find flaws? To eas…