- 博客(80)
- 收藏
- 关注
原创 统计两个SVN提交commit之间代码行数改动
svn diff -r 111:121 | grep '@@' | awk -F'[, ]' 'BEGIN{m=0;a=0} {m+=$3;a+=$5;print m,a} END{print m,a}'
2016-01-25 20:35:22
974
转载 uml 网址
http://web.ydu.edu.tw/~alan9956/doc104-2/sa/sa001.htmSIM Software Ideas Modeler https://www.softwareideas.netStartUMLhttp://live.gnome.org/DiaGanttProject
2016-01-06 11:48:24
652
转载 svn as git
https://help.github.com/articles/support-for-subversion-clients/
2015-12-02 21:20:14
329
转载 crash reporting
http://landonf.bikemonkey.org/code/objc/Reliable_Crash_Reporting.20110912.htmlhttp://landonf.org/code/crashreporting
2015-12-02 20:12:43
671
转载 Dynamic linking static library on iOS
http://ddeville.me/2014/04/dynamic-linking/
2015-12-02 16:39:23
375
转载 sed 简明教程
http://coolshell.cn/articles/9104.html=-===sed 简明教程2013年2月20日陈皓发表评论阅读评论115,749 人阅读 awk于1977年出生,今年36岁本命年,sed比awk大2-3岁,awk就像林妹妹,sed就是宝玉哥哥了。所以 林妹妹跳了个Topless,他的哥哥sed坐不住了,也
2015-11-25 20:34:53
362
转载 Linux Bash Shell编程快速入门
http://www.sphinxsearch.org/archives/414-----BASH 的基本语法最简单的例子 —— Hello World!关于输入、输出和错误输出BASH 中对变量的规定(与 C 语言的异同)BASH 中的基本流程控制语法函数的使用2.1 最简单的例子 —— Hello World!
2015-11-24 12:06:21
474
转载 android support c++11
http://www.drdobbs.com/cpp/accessing-c11-features-of-the-android-nd/240168385Accessing C++11 Features of the Android NDKBy Gastón Hillar, June 26, 20142 CommentsC++11 language fe
2015-07-15 16:54:03
1779
转载 mac+windows 双系统
http://bbs.feng.com/read-htm-tid-3206915.htmlhttp://www.crsay.com/network/macbook-lion-win7-with-multi-partions-install.htmlhttp://www.macx.cn/thread-773842-1-1.html[写在前面] 之所以写
2015-06-15 11:48:08
574
转载 windows+mac双分区
http://sofire.iteye.com/blog/1841681http://www.macx.cn/thread-773842-1-1.htmlhttp://bbs.feng.com/read-htm-tid-3206915.htmlhttp://www.crsay.com/network/macbook-lion-win7-with-multi-pa
2015-06-15 11:45:32
408
转载 mac+windows双分区
http://www.macx.cn/thread-773842-1-1.html[写在前面] 之所以写这篇贴子,是因为本人有这个需要,在使用了所有虚拟机之后决定的。如果有朋友坚持使用虚拟机,可以不看,呵呵。为了让这篇贴子有有强的操作性,我为此重新格式化磁盘和重装系统达四次,希望大家能珍惜这些来之不易的实验成果(可以转载,但必须署名:来自 nanyueit)帖子首发
2015-06-15 11:10:23
651
原创 opengl game enignes
https://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparisonOolong EngineIrrlicht Enginesio2
2015-04-20 11:58:04
387
转载 c++ threads + messages
Use Threads Correctly = Isolation + Asynchronous Messageshttp://www.drdobbs.com/parallel/use-threads-correctly-isolation-asynch/215900465
2015-04-02 19:35:57
323
原创 opengl and uikit
http://www.slideshare.net/llopis/the-best-of-both-worlds-mixing-uikit-with-opengl
2015-03-18 19:31:26
416
原创 opengl resources
1. http://www.amazon.com/Antons-OpenGL-Tutorials-Anton-Gerdelan-ebook/dp/B00LAMQYF2http://antongerdelan.net/opengl/https://github.com/capnramses/antons_opengl_tutorials_book2.http://ww
2015-03-16 17:01:18
518
原创 postgresql sql create table
postgresql create table:BEGIN;CREATE TABLE t1 ( id BIGSERIAL PRIMARY KEY, address INTERGER DEFAULT '', name VARCHAR UNIQUE NOT NULL, did VARCHAR, count INTERGER NOT NULL, money DOUBLE PREC
2015-02-12 00:23:23
3099
转载 ConcurrentHashMap
http://www.infoq.com/cn/articles/ConcurrentHashMaphash: static int hash(int h) { h += (h << 15) ^ 0xffffcd7d; h ^= (h >>> 10); h += (h << 3); h ^= (h >>> 6);
2015-01-04 20:52:19
401
原创 c++ stl bind
#include #include #include #include #include #include using namespace std;using namespace std::tr1::placeholders;string Encoder(char c) { switch (c) { case '<': return "<"; case '
2014-12-17 23:08:18
352
原创 hashindex
#include #include using namespace std;int main(){ int a = 0x11101010; int c = a ^ 0; int d = a ^ 0xffffffff; int e = (a ^ (a> 2)); printf("%x\n",c); printf("%x\n",d); printf("%x\n",a ^
2014-12-17 23:07:25
307
转载 How to read crash dump of Android
https://kobablog.wordpress.com/2011/05/14/how-to-read-crash-dump-of-android/
2014-12-08 15:19:46
494
转载 国外程序员整理的 C++ 资源大全
http://www.youkuaiyun.com/article/2014-10-24/2822269-c++
2014-10-24 11:37:10
312
转载 xcode 编译配置环境变量
http://www.cnblogs.com/xiaodao/archive/2012/03/28/2422091.htmlhttp://www.cnblogs.com/xiaodao/archive/2012/03/28/2422091.html---
2014-03-05 18:58:26
792
原创 c++ 获取一个网页下所有子链接
获取网址下子链接的地址:--------#include #include #include #include #include using namespace std;int main() { fstream in("./a.html"); string url("http://www.opensource.apple.com/source/CF/CF-476.14
2014-02-12 11:59:32
2336
转载 lldb vs gdb 命令对比
http://lldb.llvm.org/lldb-gdb.html/////GDB to LLDB Command MapBelow is a table of GDB commands with the LLDB counterparts. The built in GDB-compatibility aliases in LLDB are also listed. T
2014-02-10 18:45:52
1279
原创 memory crash debug 内存问题调度
===============================内存分配和释放记录=======================================XCODE 提供了堆分配地址的分配和释放记录,可以方便记录某段内部是在哪个栈调用中被申请和释放的,这样就可以定位访问已释放内存地址引起的野指针崩溃总是。前提:XCODE 中运行选项中配置值:(或在scheme中加上)Mal
2014-01-23 13:46:06
1012
转载 get crash report binary image adress on ios
[ http://stackoverflow.com/questions/5567215/how-to-determine-binary-image-architecture-at-runtime ]获取二进制文件的偏移地址:#import #include #import #import #import void printImage(const struc
2014-01-10 18:10:00
2015
原创 opengl & 3d
blog:http://blog.youkuaiyun.com/kesalin/article/details/8223649
2014-01-07 22:13:55
510
转载 svn merge 用法
http://blog.163.com/lgh_2002/blog/static/4401752620106202710487/============Subversion的分支通常用于在主干程序之外,对程序进行修改。这样 可以在不扰乱主干程序进行的开发、测试、发布流程之外,尝试一下新功能的研究、修改。如果觉得新功能没问题,可以将分支合并到主干程序中。 合并前,需要将分支提交
2013-12-24 15:15:16
2060
转载 求一个数组的最长递减子序列
网上的,忘记来自哪里了,欢迎认领。记下以后看。#include using namespace std;//3,2,4,1,10,0,9,8,7,6,5,-1,9//函数功能 : 打印最长递减子序列//函数参数 : pArray指向源数组,pB指向辅助数组,k表示最长子序列的末尾元素//返回值 : 无void Print(int *pArray, int *p
2013-12-06 22:44:21
961
原创 gerrit+git codereivew install
About gerrit:http://code.google.com/p/gerrit/Install Doc:https://gerrit-documentation.storage.googleapis.com/Documentation/2.7/install-quick.htmlSteps:1. download war from : http://g
2013-12-02 11:47:09
1254
原创 linux+python+django+reviewboard
system:linux: centos: 6.40. install :http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/1.yum install python-setuptools python-devel2. add epel source fi
2013-11-28 22:59:21
787
原创 std stl
// map::value_type::first 可以作为函数用 class i3; std::map msi; msi["your"] = 5; i3 a = msi["we"]; i3 b = msi["your"]; msi["me"] = 7; map::iterator mit = msi.lower_bound("we"); if (mit != msi.end(
2013-11-02 00:29:54
513
转载 ios crash report -- atos symbolicate
plcrashreporterhttp://stackoverflow.com/questions/10242766/atos-and-dwarfdump-wont-symbolicate-my-address
2013-07-24 17:38:52
1815
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人