08 2014 档案

Mac 可设置环境变量的位置、查看和添加PATH环境变量
摘要:转:http://elf8848.iteye.com/blog/1582137Mac 启动加载文件位置(可设置环境变量)-------------------------------------------------------(1)首先要知道你使用的Mac OS X是什么样的Shell,使用命令... 阅读全文

posted @ 2014-08-29 19:56 屁屁侠 阅读(24620) 评论(0) 推荐(0) 编辑

Eclipse设置:背景与字体大小和xml文件中字体大小调整
摘要:Eclipse中代码编辑背景颜色修改:代码编辑界面默认颜色为白色。对于长期使用电脑编程的人来说,白色很刺激我们的眼睛,所以改变workspace的背景色,可以使眼睛舒服一些。设置方法如下:1、打开window / Preference,弹出Preference面板 2、展开General标签,选中E... 阅读全文

posted @ 2014-08-29 19:30 屁屁侠 阅读(2507) 评论(0) 推荐(0) 编辑

ListView数据更新后,自动滚动到底部(聊天时常用)| Listview Scroll to the end of the list after updating the list
摘要:转:http://www.cnblogs.com/bjshsqlt/p/3311830.htmlIf you would like to after you have updated by listAdapter, you want to make sure that the list is scr... 阅读全文

posted @ 2014-08-28 19:52 屁屁侠 阅读(18093) 评论(0) 推荐(0) 编辑

Mac安装Brew
摘要:安装命令如下:curl-LsSfhttp://github.com/mxcl/homebrew/tarball/master|sudotarxvz-C/usr/local--strip1当brew安装成功后,就可以随意安装自己想要的软件了,例如wget,命令如下:sudobrewinstallwge... 阅读全文

posted @ 2014-08-27 00:19 屁屁侠 阅读(112006) 评论(3) 推荐(4) 编辑

Upgrade Bash to 4+ on OS X
摘要:http://buddylindsey.com/upgrade-bash-to-4-on-os-x/Unfortunately, Apple has decided to ship an old version of bash shell. When I go back and forth betw... 阅读全文

posted @ 2014-08-27 00:16 屁屁侠 阅读(399) 评论(0) 推荐(0) 编辑

使用brew安装软件
摘要:brew 的官方网站: http://brew.sh/ 安装方法: 在Mac中打开Termal: 输入命令:ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"安装:brew install git,brew install ... 阅读全文

posted @ 2014-08-27 00:08 屁屁侠 阅读(1793) 评论(0) 推荐(0) 编辑

GreenDAO - primary key on multiple columns
摘要:转:http://stackoverflow.com/questions/15250609/greendao-primary-key-on-multiple-columnsDoes GreenDAO support primary key on multiple columns?I'm usingP... 阅读全文

posted @ 2014-08-25 21:44 屁屁侠 阅读(1218) 评论(0) 推荐(0) 编辑

Unique constraint on single String column with GreenDao2
摘要:转:http://software.techassistbox.com/unique-constraint-on-single-string-column-with-greendao_384521.htmlI want to make unique constraint on String valu... 阅读全文

posted @ 2014-08-25 21:43 屁屁侠 阅读(486) 评论(0) 推荐(0) 编辑

Unique constraint on single String column with GreenDao
摘要:转:http://stackoverflow.com/questions/22070281/greendao-support-for-unique-constraint-on-multiple-columnsDoes GreenDao supports unique constraint on mu... 阅读全文

posted @ 2014-08-25 21:39 屁屁侠 阅读(533) 评论(0) 推荐(0) 编辑

openfire 注册用户加密方法解析
摘要:转:http://blog.csdn.net/sundenskyqq/article/details/8721661Openfire是通过org.jivesoftware.util.Blowfish.java实现的加密。使用Blowfish的encryptString(String password... 阅读全文

posted @ 2014-08-25 21:31 屁屁侠 阅读(617) 评论(0) 推荐(0) 编辑

将String转换成InputStream
摘要:String str = "";//add your string contentInputStream inputStream = new ByteArrayInputStream(str.getBytes()); 阅读全文

posted @ 2014-08-20 09:52 屁屁侠 阅读(542) 评论(0) 推荐(0) 编辑

mac下配置openfire
摘要:http://blog.csdn.net/jeepxiaozi/article/details/16357337 阅读全文

posted @ 2014-08-16 19:20 屁屁侠 阅读(169) 评论(0) 推荐(0) 编辑

Android getWindow().setFlags方法
摘要://设置窗体全屏getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);//设置窗体始终点亮getWindow().setFlags(Wi... 阅读全文

posted @ 2014-08-16 18:40 屁屁侠 阅读(3265) 评论(0) 推荐(0) 编辑

xml属性定义
摘要:1. reference:参考某一资源ID。 1)属性定义: 2)属性使用: 2. color:颜色值。 (1)属性定义: (2)属性使用: 3. boolean:布尔值。 (1)属性定义: (2)属性使用: 4. dimension... 阅读全文

posted @ 2014-08-16 18:38 屁屁侠 阅读(1121) 评论(0) 推荐(0) 编辑

Android中隐藏标题栏和状态栏
摘要:http://www.cnblogs.com/zhuguangwei/archive/2011/01/18/1938276.html一、隐藏标题栏 //隐藏标题栏 this.requestWindowFeature(Window.FEATURE_NO_TITLE);二、隐藏状态栏 //隐藏状态栏... 阅读全文

posted @ 2014-08-16 18:31 屁屁侠 阅读(511) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示