02 2015 档案

摘要:http://blog.teamtreehouse.com/android-libraries-use-every-projectA good developer knows to never reinvent the wheel (“unless you planon learning more ... 阅读全文
posted @ 2015-02-22 10:12 微信公众号--共鸣圈 阅读(353) 评论(0) 推荐(0)
摘要:If your target build version is Honeycomb 3.2 (API Level 13) or higher you must put the screenSize flag too, as in:because even with the "orientation"... 阅读全文
posted @ 2015-02-19 20:32 微信公众号--共鸣圈 阅读(1239) 评论(0) 推荐(0)
摘要:仓库于裸仓库之间的转换: 阅读全文
posted @ 2015-02-18 08:21 微信公众号--共鸣圈 阅读(1703) 评论(0) 推荐(0)
摘要:http://www.jpct.net/wiki/index.php/MultiTouch_camera_controls MultiTouch camera controls This code will handle control from 1 or 2 fingers, it was mad... 阅读全文
posted @ 2015-02-17 12:09 微信公众号--共鸣圈 阅读(357) 评论(0) 推荐(0)
摘要:1.onTouch方法:onTouch方法是View的 OnTouchListener借口中定义的方法。当一个View绑定了OnTouchLister后,当有touch事件触发时,就会调用onTouch方法。(当把手放到View上后,onTouch方法被一遍一遍地被调用)2.onTouchEvent... 阅读全文
posted @ 2015-02-17 08:39 微信公众号--共鸣圈 阅读(384) 评论(0) 推荐(0)
摘要:我们在进行iOS开发时,经常会在类的声明部分看见类似于@synthesize window=_window;的语句,那么,这个window是什么,_window又是什么,两个东西分别怎么用,这是一个比较基本的问题,也关乎我们理解Objective-C中对类、类的属性、类的存取器、类的局部变量的统一理... 阅读全文
posted @ 2015-02-15 15:54 微信公众号--共鸣圈 阅读(300) 评论(0) 推荐(0)
摘要:If you want to make your first example fasterFileChannel inChannel = new FileInputStream(fileName).getChannel();ByteBuffer buffer = ByteBuffer.allocat... 阅读全文
posted @ 2015-02-14 22:19 微信公众号--共鸣圈 阅读(509) 评论(0) 推荐(0)
摘要:地址: http://www.kandroid.org/ndk/docs/STANDALONE-TOOLCHAIN.htmlIt is now possible to use the toolchain provided with the Android NDK as a standalone co... 阅读全文
posted @ 2015-02-14 20:33 微信公众号--共鸣圈 阅读(1159) 评论(0) 推荐(1)
摘要:对于模拟器,其在终端的log文件位于: ~/Library/Logs/CoreSimulator/C4B94BA6-EF08-4AD2-AE7D-1A3A2E2AC545/system.log对于真机:Here's another tip using the great libimobiledevi... 阅读全文
posted @ 2015-02-13 14:52 微信公众号--共鸣圈 阅读(539) 评论(0) 推荐(0)
摘要:http://www.raywenderlich.com/tutorialshttp://www.raywenderlich.com/ios-tutorialshttp://web.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2013-fal... 阅读全文
posted @ 2015-02-13 07:01 微信公众号--共鸣圈 阅读(148) 评论(0) 推荐(0)
摘要:gogs: 一个使用go语言开发的git服务器,非常轻量级。https://github.com/gogs/gogs There are several ways to do this Host internal repositories like Gitlab (free software) or 阅读全文
posted @ 2015-02-11 16:12 微信公众号--共鸣圈 阅读(495) 评论(0) 推荐(0)
摘要:Chisel是一个加强LLDB调试能力的小插件.主要特点在于辅助界面开发调试时在控制台以尽可能直观的方式查看界面的元素和情况.为我们梳理视图,控制器以及类关系层级.以及一些临时的界面调试变动进行快捷响应.它的作者来自于Facebook团队.得益于开源,让我们来观摩和了解一下这个东东到底有什么用处. ... 阅读全文
posted @ 2015-02-11 11:32 微信公众号--共鸣圈 阅读(325) 评论(0) 推荐(0)
摘要:CMD + SHIFT + { - Select Next TabCMD + SHIFT + } - Select Previous Tabtoggle between .h and .m files in xcode5 CTRL+CMD+up arrow在xcode的所有窗口循环切换: C... 阅读全文
posted @ 2015-02-11 10:13 微信公众号--共鸣圈 阅读(257) 评论(0) 推荐(0)
摘要:http://evadeflow.com/2010/06/sane-terminal-colors/Sane Terminal ColorsJune 26, 2010I recently created a new Ubuntu VM and once again found myself not ... 阅读全文
posted @ 2015-02-10 14:11 微信公众号--共鸣圈 阅读(874) 评论(0) 推荐(0)
摘要:类: Class (description/template for an object)实例: Instance (manifestation of a class)消息: Message (sent to object to make it act)方法: Method (code invoke... 阅读全文
posted @ 2015-02-10 07:17 微信公众号--共鸣圈 阅读(341) 评论(0) 推荐(0)
摘要:http://ubuntu.buct.edu.cn/android/repository/ 阅读全文
posted @ 2015-02-09 22:35 微信公众号--共鸣圈 阅读(186) 评论(0) 推荐(0)
摘要:Using keyboard shortcutsTo use a keyboard shortcut, press a modifier key at the same time as a character key. For example, pressing the Command key (i... 阅读全文
posted @ 2015-02-09 14:45 微信公众号--共鸣圈 阅读(633) 评论(0) 推荐(0)
摘要:imac使用的是login shell,所有开启一个terminal的时候,不会运行.bashrc文件,而是运行.bash_profile文件,因此只需要中home目录新建一个.bash_profile文件,然后在.bash_profile里source.bashrc即可。imac的terminal... 阅读全文
posted @ 2015-02-09 14:33 微信公众号--共鸣圈 阅读(329) 评论(0) 推荐(0)
摘要:截至到今天,似乎在64位机器下安装android sdk存在不能运行的问题,可以用以下方法解决:Android SDK requires:Fedora 17 64bit with 32bit Android SDK:sudo yum install glibc.i686 zlib.i686 libs... 阅读全文
posted @ 2015-02-08 09:30 微信公众号--共鸣圈 阅读(197) 评论(0) 推荐(0)
摘要:yum search **yum whatprovides libQtGui.so.4 阅读全文
posted @ 2015-02-07 16:45 微信公众号--共鸣圈 阅读(562) 评论(0) 推荐(0)
摘要:from: http://blog.csdn.net/tuiroger/article/details/3947896今天张老师讲了一些比较重要的strust标签,,。formbean的原理及作用,还有formbean表单校验以及表单校验后如何处理,并进行了举例验证说明,把例子代码敲了一遍,颇有收获... 阅读全文
posted @ 2015-02-06 17:33 微信公众号--共鸣圈 阅读(4428) 评论(0) 推荐(0)
摘要:转: http://www.cnblogs.com/zhuowei/archive/2009/04/13/1435190.htmlsudo是linux下常用的允许普通用户使用超级用户权限的工具,允许系统管理员让普通用户执行一些或者全部的root命令,如 halt,reboot,su等等。这样不仅减少... 阅读全文
posted @ 2015-02-06 16:50 微信公众号--共鸣圈 阅读(564) 评论(0) 推荐(0)
摘要:下面要注意一个问题,“只要浏览器关闭,session就消失”,那么这个论断是否正确呢?对于session除非程序通知服务器删除一个 session,否则服务器会一直保留,程序一般都是在用户做log off的时候发个指令去删除session。然而浏览器从来不会主动在关闭之前通知服务器它将要关闭,因此服... 阅读全文
posted @ 2015-02-05 17:07 微信公众号--共鸣圈 阅读(257) 评论(0) 推荐(0)
摘要:I would not suggest Richies answer, because you are screwing up the data inside the database. You would not fix your problem but try to "hide" it and ... 阅读全文
posted @ 2015-02-04 16:58 微信公众号--共鸣圈 阅读(2206) 评论(0) 推荐(0)
摘要:转: http://www.vpsee.com/2014/09/linux-performance-tools/Linux 平台上的性能工具有很多,眼花缭乱,长期的摸索和经验发现最好用的还是那些久经考验的、简单的小工具。系统性能专家 Brendan D. Gregg 在最近的 LinuxCon NA... 阅读全文
posted @ 2015-02-04 15:41 微信公众号--共鸣圈 阅读(258) 评论(0) 推荐(0)
摘要:mysqld --verbose --help: 可以显示 mysql 的编译配置选项,即功能配置描述。 mysql 显示所有支持的字符集: SHOW CHARACTER SET; mysql 创建数据库或表的时候设置是否大小写敏感: 当然你也可以在创建结束后使用alter来改变: 但是,记住,my 阅读全文
posted @ 2015-02-04 14:42 微信公众号--共鸣圈 阅读(436) 评论(0) 推荐(0)
摘要:附带读取某文件的某几行或中间几行: 一、 从第3000行开始,显示1000行。即显示3000~3999行 tail -n +3000 filename | head -n 1000 二、显示1000行到3000行 head -n 3000 filename | tail -n +1000 *注意两种 阅读全文
posted @ 2015-02-03 15:48 微信公众号--共鸣圈 阅读(423) 评论(0) 推荐(0)
摘要:我是一个刚接触 Linux 和 Unix 的新手。我该如何改变一个命令的根目录?我要怎样改变一个进程的根目录呢,比如用 chroot 命令将web服务与文件系统隔离?我要如何使用 chroot 恢复密码或修复基于 Linux/Unix的受损坏的环境? 在 Linux和类 Unix 系统下每一个进程/ 阅读全文
posted @ 2015-02-03 10:18 微信公众号--共鸣圈 阅读(1293) 评论(0) 推荐(0)
摘要:I bought my first SSD more than 5 years ago (late 2007), for my whiteMacBook Core2Duo 2.0 Ghz. It may be needless to say that my MacBook ran faster th... 阅读全文
posted @ 2015-02-03 07:37 微信公众号--共鸣圈 阅读(377) 评论(0) 推荐(0)
摘要:原文地址: http://www.dedoimedo.com/computers/fedora-pimp.htmlMy original review of CentOS 7 was less enthusiastic than I hoped for. That is because CentOS... 阅读全文
posted @ 2015-02-03 07:24 微信公众号--共鸣圈 阅读(401) 评论(0) 推荐(0)
摘要:5万以下:新奥拓、乐驰、北斗星、五菱。 三厢车别考虑了,自动挡也别考虑。这个价位就要省油、质量相对稳定,车子结构不复杂,自己动手能解决一点小毛病。新奥拓、乐驰、北斗星在质量稳定和省油方面都是有口碑的,马力差一点、声音响一点、空调差一点都不要紧,关键是省油耐用。偶尔有小问题捣鼓几下又能继续跑,不费事... 阅读全文
posted @ 2015-02-02 16:23 微信公众号--共鸣圈 阅读(302) 评论(0) 推荐(0)