- 博客(13)
- 资源 (10)
- 收藏
- 关注
原创 gdb 调试android 程序
用gdb调试android应用phoneadb forward tcp:12345 tcp:12345adb shell gdbserver :12345 {/data/log/myapp}oradb shell gdbserver :12345 --attach {pid}PCgdb(gdb) set solib-search-path ./file ..
2016-09-20 11:17:17
530
转载 ubuntu install curl
解决:参考http://www.linuxidc.com/Linux/2014-05/102270.htmsudo add-apt-repository ppa:costamagnagianfranco/ettercap-stable-backportssudo apt-get updatesudo apt-get install curl
2015-07-19 16:35:05
1703
原创 mysql 行锁
在我们数据库里面,处理某些针对特定行的数据处理的时候, 例如书店里有2本书,有3个人来借。 有一个订单,多个人来抢。这个时候都需要用到行锁。举例:1. 创建数据库:CREATE TABLE `orders` ( `id` int(11) NOT NULL auto_increment, `num` int(11) default NULL, `name`
2015-07-13 00:55:48
746
原创 * failed to start daemon *
用eclipse调试android程序, 多次拔插手机后, 发现adb不能连上手机, 直接cmd下, C:\Users\wesley>adb shell* daemon not running. starting it now on port 5037 *ADB server didn't ACK* failed to start daemon *error: cannot
2015-06-03 13:52:21
1005
原创 批量安装apk到android手机上
利用adb install 来安装:del list.txt /f dir .\*.apk /b >list.txt for /f %%i in (list.txt) do ( adb install -r %%i )pause
2015-05-26 13:59:20
870
原创 iPhone “Ineligible Devices”
进行XCode连iphone调试的时候, 发现手机是灰的,提示 ”Ineligible Devices “。原因: 手机是 iphone5, 还是 iOS7, 但是工程target选择了 iOS8.2, 修改为iOS7即可。Ineligible Devices Ineligible Devices
2015-04-18 00:05:43
1575
原创 eclipse 单步调试JNI
1. 环境配置a) 下载eclipse, SDK, NDKb) 安装cdtc) 安装adtd) window --> Preferences --> Android 配置SDK路径d) window --> Preferences --> Android --> NDK 配置NDK路径2. 建立工程 a) 新建Android工程 b) 工程上右键 -
2015-04-15 13:07:08
6375
原创 cocos2d-x用shader来实现阴影
#### cocos2d-X在Sprite上使用shader```cppauto sprite = Sprite::create("test2.png");sprite->setPosition(origin.x + visibleSize.width/2, origin.y + visibleSize.height /2 );auto shader_program
2014-12-05 19:06:59
12925
原创 xcode archive 一直是灰色的
当配置是模拟器的时候, archive就是灰色的。 当把配置选择为device才能选 archive。
2014-11-28 01:25:48
12158
原创 [iOS]Unable to run app in Simulator
今天在试Admob的时候,发现在simulator上,程序突然不能运行了, 提示
2014-11-14 00:25:27
4942
原创 [django]ubuntu下django 开发 环境配置
在进行python开发的时候最好使用virtualenv来建立虚拟环境,来分离不同的配置。相比其windows,个人更喜欢在linux环境下进行python django web开发,在linux环境下各种工具更容易配置,而且linux下可以选择的免费工具也更多。1. 配置 virtualenv安装easy_install。sudo apt-get install pyth
2013-09-24 13:05:02
8021
1
转载 ubuntu中安装oracle sun java.
from: http://askubuntu.com/questions/55848/how-do-i-install-oracle-java-jdk-7sudo apt-get install python-software-propertiessudo add-apt-repository ppa:webupd8team/javasudo apt-get updat
2013-09-13 12:00:34
757
Vim用户手册,VIM入门好书。
2009-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人