- 博客(25)
- 资源 (1)
- 收藏
- 关注
原创 Eclipse alt+/设置
1、启动MyEclipse 选择菜单栏 Windows ->Preperences ->General ->keys2、把word completion的快捷键设置alt+/删掉!//如果这里不删除的话,你就算设置了也没用的.3、把Content Assist 的快捷键 改成alt+/ ...
2011-05-28 21:41:15
428
原创 关闭nouveau安装nvidia显卡
1、安装guild-essential linux-header-${uname -r}2、下载nvidia linux显卡驱动,如果关闭gdm直接sh安装的会叫你现关闭nouveau,不知道怎么关闭,google了一下,nouveau启动很早,所以直接修改grub启动项,如下:menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recov...
2011-05-20 00:24:16
1421
原创 fedora字体发虚
http://hi.baidu.com/xuehuo_0411/blog/item/737502df54374754cdbf1a24.html在fedora 14中,在Openoffice或者浏览器里面的字体有的时候看起来感觉可别扭,非常难看,有种变形的感觉,这是因为Openoffice打开的文档默认是用宋体,但是fedora 12里面貌似没有安装宋体,所以有好多字不能正确地显示出来。解决...
2010-11-04 14:58:03
178
原创 launch browser by intent
[code="java"]Intent intent = new Intent(Intent.ACTION_VIEW);intent.addCategory(Intent.CATEGORY_BROWSABLE);intent.setData(android.net.Uri.parse("http://www.google.com"));[/code]
2010-10-27 16:30:09
166
原创 ExpandableListView 对groupIndicator的解释,但state list中没提到
public void setGroupIndicator (Drawable groupIndicator)Since: API Level 1Sets the indicator to be drawn next to a group.ParametersgroupIndicator The drawable to be used as an indicator. If ...
2010-10-26 22:54:04
340
原创 Unicode汉字编码表
转自:http://blog.chinaunix.net/u2/85848/showart_2340273.htmlUnicode汉字编码表1 Unicode编码表 Unicode只有一个字符集,中、日、韩的三种文字占用了Unicode中0x3000到0x9FFF的部分 Unicode目前普遍采用的是UCS-2,它用两个字节来编码一个字符, 比如汉字"经"的编码是0x7EC...
2010-10-26 16:26:36
1080
原创 virtualBox
今天在ubuntu中安装了virtualBox,xp中“网络映射”看不到vbox的共享目录,后来才看到,起到xp后,在vbox的菜单device中有个Install Gust Addition,这样XP就会安装一些Vbox的东西了,再看就能看到了。...
2010-10-19 15:20:07
117
原创 linux下awt程序在开启桌面特效时是白板
[code="bash"]#java awt program is blank resolution比如android nine patch这个应用export AWT_TOOLKIT=MToolkit[/code]
2010-10-13 15:30:09
220
原创 Linux设置fcitx
Linux设置fcitxIbus有时用起来也很不爽,特别是在openoffice中打出了非法字符还卡死了,害得没保存的得重写,有些应用嘛光标不跟着走,跑到不知那个角落上去了。于是又想起了以前用的fcitx,还是这个专注中文的好用。在.basrc中加以下:[code="java"]export GTK_IM_MODULE=fcitxexport XMODIFIERS=@im=fcit...
2010-10-13 15:24:49
251
原创 modifiers: transient and volatile
Original link:http://www.java-samples.com/showtutorial.php?tutorialid=331Java defines two interesting type modifiers: transient and volatile. These modifiers are used to handle somewhat specialize...
2010-09-18 14:22:14
141
原创 修改VISTA启动项grub4dos
光驱不好用了,只能硬盘安装linux,下面是vista下添加grub4dos启动项的命令:[color=brown] bcdedit /create /d "grub" /application BOOTSECTOR {40dbabf7-a088-11df-8d7a-d5a5b6540c2a} bcdedit /set {40dbabf7-a088-11df-8d7a-d5a5b65...
2010-08-22 11:02:15
171
原创 ubuntu连接android
[转][url]http://aphyr.com/journals/show/debugging-the-droid-on-ubuntu-karmic[/url][list][*]$ adb devices List of devices attached ???????????? no permissions[/list]A few things have changed...
2010-05-21 13:38:42
152
原创 LINUX JRE中文
ln -s $FONTS_PATH/FONT_DIR $JAVA_HOME/jre/lib/fonts/fallback你在打开你的java应用程序就会看到久违的中文了。
2010-05-15 08:56:56
124
原创 自定义linux PS1
PS1="\[\033[36;1m\]\u@\h\[\033[00m\]:\[\033[35;1m\]\w\[\033[00m\]\$"export PS1
2010-05-15 08:56:17
168
原创 批量修改文件名
注:转 出处不记得了 目的:批量重命名一些文件,这些文件有共同特征,比如具有相同的字母,或者没有共同特征,想统一重命名,修改它们相同位置上的字符等等。机器马大侠给了个新提示rename 就可以实现,一试用果然更爽,表示感谢。以下命令实现的结果是把cdb替换成abcrename cdb abc cdb* 1、我想把它们的名字的第一个1个字母变为"q",其它的不变 ...
2010-05-15 08:47:45
412
android
1. Generally, a mobile is first and foremost a phone, secondly an SMS and e-mail communicator, thirdly a camera, and fourthly an MP3 player. The applications you write will most likely be in a fi fth ...
2010-03-15 16:26:06
116
ajax ie缓存问题
[code="javascript"]xhr.setRequestHeader("If-Modified-Since","0"); xhr.send(null);[/code]加上这句就ok了
2010-02-28 21:19:01
108
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人