会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
gabo
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2014年9月17日
AXMLPrinter2.jar反编译xml文件
摘要: apk里的AndroidManifest.xml 为二进制文件,可通过AXMLPrinter2.jar包反编译出来cmd命令行运行一下命令:java -jar AXMLPrinter2.jar AndroidManifest.xml > AndroidManifest2.xml
阅读全文
posted @ 2014-09-17 20:41 gabo
阅读(14838)
评论(0)
推荐(0)
2014年9月15日
boost 相关
摘要: 编译boost:1、打开Microsoft Visual Studio 2010 ->Visual Studio Tools -> Visual Studio Command Promot2、命令CD到boost目录下,运行bjam stage --toolset=msvc-10.0 --with-...
阅读全文
posted @ 2014-09-15 18:29 gabo
阅读(432)
评论(0)
推荐(0)
2014年8月10日
Git 常用命令
摘要: git init 创建repositorygit add readme.txt git add命令实际上就是把要提交的所有修改放到暂存区(Stage)add所有文件:git add .add并rm所有:git add -A提交modify和rm(新加的文件不会自动提交):gi...
阅读全文
posted @ 2014-08-10 12:17 gabo
阅读(24660)
评论(0)
推荐(0)
2014年7月16日
NGUI 笔记
摘要: 1、动态加载Atlas,并用NGUITools添加Sprite1 UIAtlas MyAtlas = Resources.Load("MyAtlas", typeof(UIAtlas)) as UIAtlas;2 GameObject bagBox = GameObject.Find("BagBox...
阅读全文
posted @ 2014-07-16 21:44 gabo
阅读(154)
评论(0)
推荐(0)
2014年6月21日
窗口失去焦点标题栏没有重绘现象
摘要: 1 case WM_ACTIVATE:2 // 绘制标题栏3 OnNCPaint();4 return FALSE;OnNCPaint() 为绘制非客户区代码
阅读全文
posted @ 2014-06-21 18:25 gabo
阅读(312)
评论(0)
推荐(0)
Win32 Plus Extra Height of Caption Bar
摘要: you set the size of the non-client area by handling theWM_NCCALCSIZEmessage. But don't do this unless you plan to do all of the non-client drawing as ...
阅读全文
posted @ 2014-06-21 18:21 gabo
阅读(280)
评论(0)
推荐(0)
2013年1月6日
记录运行时间
摘要: 记录一个在device上运行的函数的运行时间时需要用到 事件 (event):cudaEvent_t timeStartEvent, timeEndEvent; //声明两个cudaEvent_t变量cudaEventCreate( &timeStartEvent, 0 ); //第二个参数忘了干吗用的了**************cudaEventCreate( &timeEndEvent ); //第二个参数可以不用cudaEventRecord( cudaStartEvent, 0 ); //第二个参数具体查看这个网址http://developer.download.n
阅读全文
posted @ 2013-01-06 14:12 gabo
阅读(194)
评论(0)
推荐(0)
2012年8月18日
poj 3122 Pie 二分
摘要: poj 3122 Pie 二分 //poj 3122 Pie //二分 //题意: //给出pie和人的数量,要把这些pie平均分给每个人 //思路: //先用pie的半径r平方代替面积,到最后再乘上PI //求出所有r^2的和,除以人数当做二分的high,low=0 //接着相当于对每个人得到的体
阅读全文
posted @ 2012-08-18 13:43 gabo
阅读(201)
评论(0)
推荐(0)
2012年8月16日
poj 2112 Optimal Milking floyd + 二分 + 最大流
摘要: poj 2112 Optimal Milking floyd+二分+最大流//poj 2112 Optimal Milking// floyd + 二分 + 最大流//题意:第一行给出K,C,M。//分别表示挤奶机台数K,奶牛数C,没台挤奶机一天能处理的奶牛数//接下去是(K+C) * (K+C) ...
阅读全文
posted @ 2012-08-16 14:22 gabo
阅读(215)
评论(0)
推荐(0)
2012年8月14日
poj 2455 Secret Milking Machine 二分+dinic求最大流
摘要: poj 2455 Secret Milking Machine 二分 + dinic求最大流//poj 2455 Secret Milking Machine//二分 + 最大流//题意://输入第一行3个数为结点数,边数,路径数//接下来为每条边的信息//要求找出对应路径数中每条边都尽量小,输出这...
阅读全文
posted @ 2012-08-14 20:48 gabo
阅读(239)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告