2008年04月23日

注册了自己的域名,本站已经迁移到:www.ralix.cn
但侧栏的FEED地址还是同样有效,而且永远都不会变:http://feed.feedsky.com/ralix
这就是FEED的优势。

2006年04月21日


本文修改自chinaunix的原文。

我用的是phpmyadmin 2.6.0。每打开一个库的时候,会看到这么一句:

错误 使用链接表的额外特性尚未激活。要查出原因,请单击此处。

单击了所谓的此处后,会跳到一个页面显示:
PMA Database … 不好[ 文档 ]
一般关系特性 已禁用

解决方法:

先建立一个名为phpmyadmin的数据库
然后把phpmyadmin目录下scripts/create_tables.sql导入到这个库
打开 config.inc.php 配置文件.

找到:
$cfg['Servers'][$i]['pmadb'] = ”; // ‘phpmyadmin’ – see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = ”; // ‘pma_bookmark’
$cfg['Servers'][$i]['relation'] = ”; // ‘pma_relation’
$cfg['Servers'][$i]['table_info'] = ”; // ‘pma_table_info’
$cfg['Servers'][$i]['table_coords'] = ”; // ‘pma_table_coords’
$cfg['Servers'][$i]['pdf_pages'] = ”; // ‘pma_pdf_pages’
$cfg['Servers'][$i]['column_info'] = ”; // ‘pma_column_info’
$cfg['Servers'][$i]['history'] = ”; // ‘pma_history’

修改为:
$cfg['Servers'][$i]['pmadb'] = ‘phpmyadmin’; // ‘phpmyadmin’ – see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable'] = ‘pma_bookmark’; // ‘pma_bookmark’
$cfg['Servers'][$i]['relation'] = ‘pma_relation’; // ‘pma_relation’
$cfg['Servers'][$i]['table_info'] = ‘pma_table_info’; // ‘pma_table_info’
$cfg['Servers'][$i]['table_coords'] = ‘pma_table_coords’; // ‘pma_table_coords’
$cfg['Servers'][$i]['pdf_pages'] = ‘pma_pdf_pages’; // ‘pma_pdf_pages’
$cfg['Servers'][$i]['column_info'] = ‘pma_column_info’; // ‘pma_column_info’
$cfg['Servers'][$i]['history'] = ‘pma_history’; // ‘pma_history’

要注意的是,要改的部分有好几处,都要一一改过。

这样保存后刷新页面就好了。

2006年04月19日
Hug
–동방신기 (東方神起)
//没找到中文译词,但很好听。
1.
하루만 니 방의   침대가 되고 싶어
一日だけ君の部屋のベッドになりたい
더 따스히 포근히   내 품에 감싸안고   재우고 싶어
もっと暖かく優しく 僕の胸に包み込んで 眠らせたい
아주 작은 뒤척임도   너의 조그만 속삭임에
ほんの小さな身動きも 君の小さなささやきに
난 꿈속에 괴물도   이겨내버릴텐데
僕は夢の中の怪物も 退治してしまうだろうに
*
내가 없는 너의 하룬   어떻게 흘러가는건지
僕のいない君の一日は どうやって流れて行くのか
나를 얼마나 사랑하는지   난 너무나 궁금한데
僕をどれだけ愛しているか 僕はすごく気になるんだ
너의 작은 서랍속의   일기장이 되고 싶어
君の小さな引き出しの中の 日記帳になりたい
알수 없는 너의 그 비밀도   내 맘속에 담아둘래   너 몰래
知ることのできない君の秘密も 僕の心の中にしまっておくよ 君に内緒で
2.
하루만 너의 고양이가   되고 싶어
一日だけ君の猫になりたい
니가 주는 맛있는   우유와 부드러운   니 품안에서
君がくれるおいしい牛乳と 暖かい君の胸の中で
움직이는 장난에도   너의 귀여운 입맞춤에
動き回るいたずらにも 君のかわいいキスに
나도 몰래 질투를   느끼고 있었나봐
僕も思わず嫉妬を感じていたんだね
*
내 마음이 이런거야   너밖엔 볼수 없는거지
僕の気持ちはこの通りさ 君しか見えないのさ
누구를 봐도 어디 있어도   난 너만 바라보잖아
誰に逢ってもどこにいても 僕は君ばかりを見つめているんだよ
단 하루만 아주 친한   너의 애인이 되고 싶어
たった一日だけとても仲の良い 君の恋人になりたい
너의 자랑도 때론 투정도   다 들을수 있을텐데   널 위해
君の自慢話も時には愚痴も 全部聞いてあげられるのに 君のために
#
In my heart In my soul   나에게 사랑이란 아직 어색하지만
In my heart In my soul 僕にとって愛だなんてまだおかしいけれど
이세상 모든걸   너에게 주고 싶어   꿈에서라도
この世の全てを君にあげたい 夢の中だとしても
*
내 마음이 이런거야   지켜볼수만 있어도
僕の気持ちはこの通りさ 見守っていられさえすれば
너무 감사해 많이 행복해   나 조금은 부족해도
とても有り難い すごく幸せさ 僕が少しは不足でも
언제까지 너의 곁에   연인으로 있고 싶어
いつまでも君のもとで 恋人としていたい
너를 내 품에 가득 안은채   (니가 내 품에 안긴채)   굳어버렸으면 싶어 영원히
君を僕の胸一杯に抱いたまま(君が僕の胸に抱かれたまま) 固まってしまえばいい 永遠に


Co-written by Paul Anka & Frank Sinatra
As performed by Frank Sinatra
Hit # 27 on the Top 40 charts in 1969

And now, the end is near, and so I face, the final curtain.
My friend, I’ll say it clear,
I’ll state my case, of which I’m certain.
I’ve lived, a life that’s full, I’ve traveled each and every highway.
And more, much more than this,
I did it my way.

Regrets, I’ve had a few, but then again, too few to mention.
I did, what I had to do, and saw it through, without exemption.
I planned, each charted course, each careful step, along the byway,
and more, much more than this,
I did it my way.

Yes, there were times, I’m sure you knew,
When I bit off, more than I could chew.
But through it all, when there was doubt,
I ate it up, and spit it out.
I faced it all, and I stood tall,
and did it my way.

I’ve loved, I’ve laughed and cried,
I’ve had my fill; my share of losing.
And now, as tears subside, I find it all so amusing.
To think, I did all that, and may I say — not in a shy way,
"Oh no, oh no not me,
I did it my way".

For what is a man, what has he got?
If not himself, then he has naught.
To say the things, he truly feels,
And not the words, of one who kneels.
The record shows, I took the blows —
And did it my way!

I did it my way.

//烟火(Firworki) OST

Hold me like a friend
Kiss me like a friend
Say we’ll never end
Searching for the colors of the rainbow
Melody never say good-bye
I will believe you…

Hold me like a friend
Kiss me like a friend
Say we’ll never end
Searching for the colors of the rainbow
Melody never say good-bye
I will be near you…

Some people handle love and never try
I can almost fly with your wings
To set me higher
Some day we’ll see the world
And through the grey have faith in our hands..

Hold me like a friend
Kiss me like a friend
Say we’ll never end
Searching for the colors of the rainbow
Melody never say good-bye
We’ll always be forever friends

Hold me like a friend
Kiss me like a friend
Say we’ll never end
Searching for the colors of the rainbow
Melody never say good-bye
I will believe you…

When the river flows
Off to part us both
Only HEAVEN knows
I will be a boat to sail around you
Melody never say good-bye
I will be near you…

Some people handle love and never try
I can almost fly with your wings
To set me higher
One day we’ll see the world
And through the grey have faith in our hands..

til the river ends

2006年04月18日

http://www.meebo.com/

此网站相当有创意。做的是在线即时通讯软件,它已经把AJXA用到极至了。

你可以在网页上使用MSN, Gtalk, Yahoo messager, ICQ等即时通讯软件。

这意味着,您将来就不用安装MSN之类的东西了!

世界就是在奇迹中变化发展的。

让我们期待google的在线office吧。

八月照像馆,96年的韩国老片了。韩文名:팔월의 크리스마스,直接翻译应该叫八月圣诞节。

讲的是一段很平凡却无法延续的爱情。没有动人的言语,没有感人的血泪。

爱情有时候就是这么简单。

2006年04月13日

Tomcat能正确运行JSP文件之后。按自己目录情况执行下面几步:

修改server.xml在<Host></Host>里最后加入下行,指定虚拟目录:
<Context path="/test" docBase="c:/test" debug="0" reloadable="true" />

在c盘依次建立目录c:\test\WEB-INF\classes\

在c:\test\WEB-INF\下建立web.xml,打开并输入:

<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<servlet>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>
</web-app>

很多文章有类似这么一句:
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
" " target="_blank">http://java.sun.com/dtd/web-app_2_3.dtd">
其实没什么用,还容易出错,所以不用加上。

在c:\test\WEB-INF\classes\下写一个HelloWorld.java 并编译,生成.class文件在同一目录,代码如下:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorld extends HttpServlet {

public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException
{
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Hello World!</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Hello World!</h1>");
out.println("</body>");
out.println("</html>");
}
}

最后,重启tomcat,输入http://localhost:8080/test/HelloWorld 即可运行。

2006年04月07日

2006.4.2 青岛奥运大厅

摄于2006.4.2,青岛电视塔