摘要: 刷入recovery的方法其实挺简单的:1,手机开机状态连接电脑;2,用adb命令重启到bootloader:adb reboot bootloader3,刷入新的recovery:fastboot flash recovery new_recovery.img4,重新启动fastboot reboot 阅读全文
posted @ 2013-01-24 00:41 brep 阅读(470) 评论(0) 推荐(0) 编辑
摘要: How to root Android 4.2ByMihaita BamburicToday Google launchesAndroid 4.2alongsidethe new Nexus lineup. Galaxy Nexus as well as Nexus 7 owners that have the ability to run apps with elevated privileges are faced with a dilemma on whetherto upgradeor not. Fear not, you can still root your Nexususing 阅读全文
posted @ 2013-01-23 00:44 brep 阅读(313) 评论(0) 推荐(0) 编辑
摘要: Home location:http://su.chainfire.eu/Source codes:https://github.com/Chainfire/libsuperuserDiscussion:http://forum.xda-developers.com/showthread.php?t=1962550 阅读全文
posted @ 2013-01-23 00:04 brep 阅读(232) 评论(0) 推荐(0) 编辑
摘要: AndroidSU.com 阅读全文
posted @ 2013-01-22 23:59 brep 阅读(197) 评论(0) 推荐(0) 编辑
摘要: cd /System/Library/Frameworks/CoreServices.framework/cd Frameworks/LaunchServices.framework/Support./lsregister -kill -r -domain local -domain system -domain user 阅读全文
posted @ 2012-12-18 18:03 brep 阅读(199) 评论(0) 推荐(0) 编辑
摘要: [System Preferences ...] -> [Sharing] -> [Remote Login] 阅读全文
posted @ 2012-12-16 15:22 brep 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1, [System Preferences ...] -> [Users & Groups] -> [Login Options] -> Display login window as Name and password2, 在登陆界面中输入用户名 “>console” 密码为空,即可进入字符界面3, Ctrl-D退出另外,“>reboot” 为重启,“>sleep” 为休眠 阅读全文
posted @ 2012-12-16 14:25 brep 阅读(228) 评论(0) 推荐(0) 编辑
摘要: OpenCASCADE支持windows GDI和X11,但不支持cocoa,如果要添加cocoa支持,需要仿照WNT_GraphiceDevice重写OSX_GraphicDevice,仿照WNT_Window重写OSX_Window。google了一下,以前有个叫Emmanuel的写过,但他的代码现在已经搜不到了。 阅读全文
posted @ 2012-11-29 15:56 brep 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1,下载oceoce stands for *o*pencascade *c*ommunity *e*dition.git clone git://github.com/tpaviot/oce.git --depth=12,安装cmake和ftglftgl 使用 Freetype 在 OpenGL应用程序中渲染字体。sudo port install cmakesudo port install ftgl3,编译cd ocemkdir buildcd buildcmake ..makesudo make install/strip 阅读全文
posted @ 2012-11-29 10:11 brep 阅读(294) 评论(0) 推荐(0) 编辑
摘要: TopoDS_Shape solidShape;GProp_GProps props;BRepGProp::VolumeProperties(solidShape, props);Standard_Real volume = props.Mass(); 阅读全文
posted @ 2012-11-27 17:52 brep 阅读(352) 评论(0) 推荐(0) 编辑