LINUKS BLOG

Make progress is the topic for ever...

My Photo
Name:
Location: China

It's a fans of computer/ Computer is my favorite/ Making progress is the topic for ever...

Sunday, December 31, 2006

Today is the first day of the new year 2007

Today is the first day of the new year 2007.But, there's no happy in my heart. 
2006 has gone,and the age of minehas increased one year.I begin to worry the death,though,I'm still young.Experice and knowlauge increased less than the age.It's sorrowful for a person who wants to get improve.
One hour has 60 minutes.Don't use it for an hour.
Have a plan for the new year,and wish that the next new year coming and I will not write the words above.Use each hour for 60 minutes or 3600 second and the time will turn back.

Saturday, December 30, 2006

Eclipse quick Keys

Ctrl+1

快速修复(最经典的快捷键,就不用多说了)

Ctrl+D

删除当前行

Ctrl+Alt+↓

复制当前行到下一行(复制增加)

Ctrl+Alt+↑

复制当前行到上一行(复制增加)

Alt+↓

当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)

Alt+↑

当前行和上面一行交互位置(同上)

Alt+←

前一个编辑的页面

Alt+→

下一个编辑的页面(当然是针对上面那条来说了)

Alt+Enter

显示当前选择资源(工程,or 文件 or文件)的属性

Shift+Enter

在当前行的下一行插入空行(这时鼠标可以在当前行的任一位置,不一定是最后)
Shift+Ctrl+Enter

在当前行插入空行(原理同上条)

Ctrl+Q

定位到最后编辑的地方

Ctrl+L

定位在某行 (对于程序超过100的人就有福音了)

Ctrl+M

最大化当前的Edit或View (再按则反之)

Ctrl+/

注释当前行,再按则取消注释

Ctrl+O

快速显示 OutLine

Ctrl+T

快速显示当前类的继承结构

Ctrl+W

关闭当前Editer

Ctrl+K

参照选中的Word快速定位到下一个

Ctrl+E

快速显示当前Editer的下拉列表(如果当前页面没有显示的用黑体表示)

Ctrl+/

(小键盘) 折叠当前类中的所有代码

Ctrl+×

(小键盘) 展开当前类中的所有代码

Ctrl+Space

代码助手完成一些代码的插入(但一般和输入法有冲突,可以修改输入法的热键,也可以暂用Alt+/来代替)

Ctrl+Shift+E

显示管理当前打开的所有的View的管理器(可以选择关闭,激活等操作)

Ctrl+J

正向增量查找(按下Ctrl+J后,你所输入的每个字母编辑器都提供快速匹配定位到某个单词,如果没有,则在stutes line中显示没有找到了,查一个单词时,特别实用,这个功能Idea两年前就有了)

Ctrl+Shift+J

反向增量查找(和上条相同,只不过是从后往前查)

Ctrl+Shift+F4

关闭所有打开的Editer

Ctrl+Shift+X

把当前选中的文本全部变味小写

Ctrl+Shift+Y

把当前选中的文本全部变为小写

Ctrl+Shift+F

格式化当前代码

Ctrl+Shift+P

定位到对于的匹配符(譬如{}) (从前面定位后面时,光标要在匹配符里面,后面到前面,则反之)

下面的快捷键是重构里面常用的 (注:一般重构的快捷键都是Alt+Shift开头的了)

Alt+Shift+R

重命名 (是我自己最爱用的一个了,尤其是变量和类的Rename,比手工方法能节省很多劳动力)

Alt+Shift+M

抽取方法 (这是重构里面最常用的方法之一了,尤其是对一大堆泥团代码有用)

Alt+Shift+C

修改函数结构(比较实用,有N个函数调用了这个方法,修改一次搞定)

Alt+Shift+L

抽取本地变量( 可以直接把一些魔法数字和字符串抽取成一个变量,尤其是多处调用的时候)

Alt+Shift+F

把Class中的local变量变为field变量 (比较实用的功能)

Alt+Shift+I

合并变量(可能这样说有点不妥Inline)

Alt+Shift+V

移动函数和变量(不怎么常用)

Alt+Shift+Z

重构的后悔药(Undo)
 

Thursday, December 28, 2006

Help you by youself

It's the new year right now,but the money for the new year has spent already.
Some days ago,we was the youngers who has a huge goal in the heart.But now there is no wish for everyone ,more,they want to do is that have a meal can insist for tomorrow morning.Although,I will not like this,but I do less for it.
Some times,the classmates say to me: “You are the most injustice person who has the worse job.”I can say what,no one will think for somebody else more than himself.

Tuesday, December 26, 2006

TV Set

Maybe too senseless,I want to watch TV in the bedroom.As it,I borrow the TV equipment on the computer,with the help of the roommate,we built the TV Set with a receiver and a sound speaker.
Days ago,I play poke with some officemates,sometime,till to the middlenight .But,in fact,I don't like to play that games.I want to program game code on the computer.Maybe it is because the bad environment,But more because the weak in my mind and the decision isn't too strong.

Monday, December 25, 2006

When you are lonely,you will remenber who


In the long time,I was lonely.
Some times,I was not understand by my parents.So I try to bear everything.
But more times,there's no real friend who is value for me to  communicate by heart.The more things,
I have to deal with it by myself.
So,I would feel more happy when I was busy with something and feel helpless when I alone.
I begin to want to find a girl friend,with whom I can communicate by heart.Really,some times I want it more.


Sunday, December 24, 2006

Today is Cristmas


Today is Cristmas,I was happy for the western holiday,though I'm a chinese. 

Friday, December 22, 2006

The new power to the hospital's website

Use the MFX_SlideMenu to add slidemenus.
First of all,download the software from

http://www.fareast.edu.sh.cn/bbs/disk01/xuexicailiao/ruanjianku/slidermenu.mxp. After that,Open your

DreamWeaver,Help->Extention Manager->install Extention,after that you can see the MFX_SlideMenu wos

installed on your DW.
Then you can see the icon was in your DW.Creat a new page,Click the MFX_SlideMenu icon in your DW and

finish the option as you like .Your new Page will added some codes. Pre explore the page your

created.you will receive a new page with the slidemenu you wanted.
Maybe the content isn't you want,you can change the texts or links in the design or code mode.
Sure you can improve the code as you like and want.But there is a bug that you can not use

MFX_SlideMenu twice in the one page,though you can change the code to get you goal.
The code of the page changed like this:

Wednesday, December 20, 2006

New Feather added to the Blogger

1.Customize your template

Create the blog you’ve always wanted with new page elements and font and color options.
Drag and drop page elements to customize your blog’s design in a snap.
2.Create a private blog

Want to share your thoughts with just family and friends, not the whole world? The new Permissions tab in Settings makes it easy to control who can view and contribute to your blog.
Add authors so multiple people can post to your blog.
Choose who can view your blog just by adding their email address.
3.More feed options

We’ve added some additional feed options for our more advanced users. Now you can have a feed for all the comments on your blog, and even individual feeds for all the comments on each separate post. We’ve also added support for the RSS 2.0 and Atom 1.0 standards.
4.Updated Dashboard

The new Dashboard makes it easier to check your blog’s activity and gives you one-click access to the most common blog management tasks.
5.Instant publishing

Say goodbye to the dreaded “Publishing…” spinner. Now, when you make a new post or change any of your settings, your blog is updated and changes go live immediately; you don’t have to remember to republish.

Maybe this is why I use the Blogger of the big company.Update quickly is the mainly reason.
And more is there has less advertise on the page and better services for users.



 

Monday, December 18, 2006

the Nationalist Party's palace



 This is a palace of JiangJieshi's.Although we didn't visit inside of  the yard,we can imagine the period of the Nationalist Party.

Sunday, December 17, 2006

J2me,Eclipse,S65(resume)

Resume the pre passage
When you install the j2me,Eclipse.then,you should download the 'stmk' and the S65 Emulator from the"西客站".
Install the software as the introduce.Then you should open the eclipse,windows->preferences->J2ME->Devices management->Import->Browse,location the software's bins you installed.
After that,click the refresh,you can get the bins of S65.
Then you can make the S65 bins as the first run's program,and you can debug the project with the S65 Emulator.
*Finashed*

Saturday, December 16, 2006

J2me,Eclipse,S65

It's a happay day today.
Long ago,I want to program on the mobile phone.But as the variety condition,I can't meet my wish.
But today,it's sucess.Can't helping the joy from my heart.Although I will not show the happy mood on my face,I find a truth that as long as you insist you path as the planed,you will receive more happiness out of your expected.
J2ME,Eclipse,and siemens STMK and the Emulator of S6C.Combine all of these,you would be cheerful for the picture of the running.But how can combine these softwares:
OS: WindowsXP home edition //Sure,you can use any Platform as you like.

JDK 1.6(下载的版本是1.6的,反正无所谓.主要是针对eclipse3.2来的)
Download the JDK1.6 on the internet,(www.java.sun.com)
Eclipse 3.2
Download the Eclipse 3.2 from the www.eclipse.org

EclipseMe 1.5.5
Download the EclipseMe,search from the internet.
WTK 2.5bata
Download WTK2.5Bata,If you like using the wireless tools kit.
上面工具如果不能下载请自行搜索.

安装JDK
这个双击安装就行了, 知道的设置安装位置 , 不知道的用默认位置C:\Program Files\Java\jdk1.5xxxx

安装Eclise 3.2
用Winrar解压缩将eclipse文件夹放到你想要的地方比如 E:\MyWorkTools\ , 解压出来的eclipse位置为 E:\MyWorkTools\eclipse

安装汉化包和EclipseMe
最直接的方法是解压缩后会有2种情况的文件夹
1.??? eclipse?目录?? 直接放到 E:\MyWorkTools\ 下
2.??? plugins?和 features 目录?直接放到 E:\MyWorkTools\eclipse\ 下
推荐一种比较好的插件安装方式
比如安装ecliseme
1. 新建文件夹?(名称,位置可以自定)?eclipse-plugins?????位置 E:\MyWorkTools\eclipse-plugins
2. 新建插件文件夹 (名称,位置可以自定)??eclipseme??? 位置 E:\MyWorkTools\eclipse-plugins\eclipseme
3. 对于解压缩出来的文件目录情况 对2来说应该建立一个名字为 eclipse (名字不能改)的文件夹,然后放入?plugins?和 features??在里面.
??? 最后位置是 E:\MyWorkTools\eclipse-plugins\eclipseme\eclipse\plugins 和E:\MyWorkTools\eclipse-plugins\eclipseme\eclipse\features?
4. 在 E:\MyWorkTools\eclipse\ 下 建立 links (名字不能改)文件夹
5. 在 E:\MyWorkTools\eclipse\links\? 下,? 建立一个eclipseme.txt文件 里面输入 path=E:\\MyWorkTools\\eclipse-plugins\\eclipseme
文件名和格式可以自定 , 一般叫 eclipseme.link , 只要内容是 path=xxx 就行了.
删除某个插件就删除 eclipseme.link 就行了

如果出现插件不能加载的情况,可以这么处理
1. E:\MyWorkTools\eclipse\configuration\ 下config.ini 文件复制 到别的地方
2. 删除 E:\MyWorkTools\eclipse\下 configuration 文件夹.
3. 重新运行eclipse, 如果不能启动, 就把刚才复制的 config.ini 放回E:\MyWorkTools\eclipse\configuration\ 下.再运行eclipse就可以了.

这么做可以让eclipse一直保持原始状态.
?如果你有更好的安装方式一定要告诉我啊...

安装WTK2.5
1. 运行安装程序 安装到任意位置? 比如 E:\MyWorkTools\WTK2.5
2. 它会先提示jdk的安装位置, 一般会自动得到, 如果你想换成1.4的 可以自己手动配置, 然后是安装目录,默认是 C:\WTK

设置EclipseME
1. 运行eclipse, 打开菜单??? 窗口-> 首选项 ,? 在弹出的对话框里找到J2ME 展开,? 如下图
?
未完待续...

Wednesday, December 13, 2006

A grave of one royal family member

Tuesday, December 12, 2006

Don't write the mood on your face


Recently, other people can read my mood from my face.

Once, I thought that I was a rational person.But by the myself thinking recently,I was not.

Although,there is much fairs can't meet my mind,I can bear it deeper.

Write the mood on the face,will make me crazy,soon and later.

In fact,I can read some joke story to balance my heart or take part in some play games.Maybe I will say to myself that there is no chance to release the accumulated mood.Human effort is the decisive factor or Man proposes,God disposes.As long as I do it try my best,I won't regret.


Can't access this website

Some times,you can't access this website.By the proxy or the proxy website such as blow,I can access it except little slowly.
http://anonymouse.org/cgi-bin/anon-www.cgi/http://bloglinuks.blogspot.comhttp://feeds.feedburner.com/linuksBloghttp://anonymouse.org/anonwww.html1.在域名之后增加nyud.net:8090, 例如 http://cavenli2008.blogspot.com.nyud.net:8090/ 现在 nyud.net:8080 也可以了
2.使用傻瓜代理站点,如: http://www.hidemyass.com/ (速度较快) http://www.goproxing.com/ (速度尚可,有广告) 3.通过 Feedburner 作为 Blogspot 的代理 到 http://www.feedburner.com/ 注册并添入 Blogspot 账号即可,使用 FeedBurner RSS 种子访问 另外也可以使用插件 http://www.coralcdn.org/bin/mozilla/coralize.xpi (Mozilla, Firefox, and Netscape 6)    在浏览器页面中使用: "Coralize this page" or "Coralize this link" by right-clicking a page/link. Anonymous web surfing http://www.the-cloak.com/login.html http://www.anonymization.net/ http://anonymouse.org/anonwww.html 详细介绍见http://www.searchlores.org/anonyweb.htm

And the frequent way I take is the TorTools.
I write Some bat files,by which I can access the website regularly.
The contents like this:
@echo off@echo Welcome to using the privoxy and vidalia,it will help you to access any website you want!cd C:\Progra~1\Tor\Privoxy\c:start /min privoxy.exeregedit /s Yes_Proxy.regstart /min C:\Progra~1\Tor\Vidalia\vidalia.exestart C:\Progra~1\Intern~1\IEXPLORE.EXEexit
Sure,the classpath is my computer's path.And the above is something of the execute bat file.
Blow is the stop and the clear:
@echo offntsd -c q -pn privoxy.exentsd -c q -pn tor.exentsd -c q -pn vidalia.exeregedit /s C:\Progra~1\Tor\Privoxy\No_Proxy.regexit

Please give me more value opinon if you saw it.

Sunday, December 10, 2006

See the map to imagine.


A map of the qingxiaoling.
The check of the visit is 70 yuan one person.I can't bear it.

Thursday, December 07, 2006

Impatient

Impatient
We are impatient.Not only me ,more people like me .
The computer and the network drive people impatient.If you are patient,you will be recognized a person who knows nothing.
Maybe you are a rising man,but the society will drive you crazy.
Maybe it is the real life you don't like and must accept.

Wednesday, December 06, 2006

Don't too weak

Some times,if you are too weak,there will be more people to bully you!
The stronger you are,the more you live like a real person.

Tuesday, December 05, 2006

More picture

Monday, December 04, 2006

Name of the park


A big stone out of the park in the deep hills.