Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • “情人眼里出西施”英文版?

    Posted on March 29th, 2010 Sean Add comments

         和Jahan聊天一直是件很有趣的事情:他虽然是伊朗人,但由于在美国生活得太久,以至于经常以西方人的思维考虑问题。不过,他的血统又使他能认同中国的文化。
         中午吃完饭闲聊,山木同志和他讲解“中国四大美女”,Jahan突然冒出一句:“beauty is in the eye of the beholder…”突然发现这句话似乎很贴切地形容了这个地球上的中国人都知道的典故的内在含义,不觉感叹起这位国际友人的顿悟能力。
         聊完专门查了一下,原来这句话出自公元前三世纪的古希腊。

  • 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 1.00 out of 5)
    Loading...Loading...
    495 views
  • Embed own video player to website

    Posted on March 18th, 2010 Sean Add comments

         Sometimes I hate to embed Youtube to my website, cause somehow it seems like my friends in china can’t watch them. What I need just embed our own video player into the website:

    1. first, need a free player. There are many streaming player such jwplayer, flowplayer, etc. I prefer flowplayer, cause it’s simple. (download from here)
    2. Unzip, put all files into web server and choose an easily remembered place as you will place a path to these files later in your web pages.
      • To include file flowplayer-3.1.4.min.js in the web page you place the following tag in the HEAD section of your web page:
      • To place the link to your video file in the web page, the simplest way is to use the following A tag on your web page. The video will automatically play there:
      • Finally, to load the player on the A tag just described, you place the following script in your page, following the A tag:
      • Also, I really hate autoplay the video when loading pages. So we can modify the configuration:
    3. So a complete functional web page that plays videos with Flowplayer is:
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    388 views
  • 大病初愈

    Posted on March 15th, 2010 Sean Add comments

         好汉架不住三泡稀,何况我还不能算是好汉。总算是彻底好了,拉肚子没什么,就是低烧挺让人无奈。既不缺胳膊,也不断腿,就是躺在床上哪儿也去不了。
         还是在办公室喝着茶的感觉好……

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    305 views
  • 猴子和新办公室

    Posted on March 6th, 2010 Sean Add comments

         最近刚换办公室,总觉得空空荡荡少点什么。和三木同志在整个office转了一圈,最终还是把会议室的两只猴子给偷了过来。摆几个造型,发现还是满搭的:

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    394 views
  • WordPress with internal server error on 1and1 hosting

    Posted on March 3rd, 2010 Sean Add comments

         For some reason, wordpress will always display “Error 500 – internal server error” for some PHP pages. My webhosting is on 1and1, so somehow the setting of PHP server is not correct.
    Finally, got a solution and it works:

    Modify the file .htaccess on the root directory:

    1. Add the code following at top of .htaccess:
      AddType x-mapp-php5 .php
    2. Changing:
      RewriteEngine on
      to:
      RewriteEngine ON

         Save the file, upload to the server. Here you go.

  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    516 views