Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Comments

My Fisrt Post

Finally I decided to use wordpress as my Blog software!
I installed several software including phpblog, serendipity, nucleus, wiki, and wordpress. They all are very easy to install and config, and have friendly interface, I almost made my mind to use serendipity, but finally wordpress with the theme “almost spring” catched me. Its light and simple appearance is just my taste.

Comments (1)

My Research

I am analyzing the data of [tex]\gamma + n \rightarrow p + \pi^{-}[/tex] from JLab.

Comments

[tex]d|\phi|^2/d\phi = \phi^* or 2\phi^*[/tex]?

[tex]\frac{d|\phi|^2}{d\phi} = \phi^* or 2\phi^*[/tex]?
[tex]\phi = \alpha + \beta i [/tex]
[tex]\frac{d|\phi|^2}{d\phi} = \frac{d(\alpha^2+\beta^2)}{d\phi} = \frac{d(\alpha^2+\beta^2)}{d\alpha} \frac{d\alpha}{d\phi} + \frac{d(\alpha^2+\beta^2)}{d\beta} \frac{d\beta}{d\phi} = 2 \phi^* [/tex]
However, in most QFT text,[tex]\frac{d|\phi|^2}{d\phi}= \phi^*[/tex].

Comments (2)

wordpress updated to v2.0

It’s been only 5 days, since I installed wordpress V1.5, and today I noticed that v2.0 released yesterday.

Comments

back to real life again!

Lixing and I and some friends spent two days in Disneyland in Orlando FL. We went to two theme parks, Magic Kingdom and MGM Studios.

Here’s my favorite attractions.

  • Magic Kingdom
  1. Space Mountain®
  2. Splash Mountain®
  3. Big Thunder Mountain Railroad
  • MGM Studios
  1. Rock ‘n’ Roller Coaster® Starring Aerosmith
  2. The Twilight Zone Tower of Terror™
  3. Indiana Jones ™ Epic Stunt Spectacular!
  4. Lights, Motors, Action!™ Extreme Stunt Show

Read the rest of this entry »

Comments

Photo gallery

A easy demonstration of zenPhoto plugin

source: http://blog.dukechina.org/zen.phps

[ezg]photography/dukespring[/ezg]

A zenPhoto with sub-catigories support http://blog.dukechina.org/zp.tgz

Demo gallery: http://blog.dukechina.org/gallery

Comments (38)

Spring is coming!

It was a very nice Sunday. We came to the Duke garden for a walk and saw all the ducks, especially my favorite mandarin ducks. (We bought some Nanjing salted duck in Asia market today, it’s delicious.)

[ezg]photography/ducks/IMG_1275.jpg Dukes[/ezg]

Spring is definely coming. Daffodils is blooming everywhere now, and all the tulips are growing well and will blossom in a couple of months.

[ezg]photography/ducks/IMG_1315.jpg Daffodils[/ezg]

Click the following strip to see all the photos.

[ezg]photography/ducks 5[/ezg]

Comments

Gallery XP

Gallery XP
Version: 0.5Beta

Live Demo: GXP
Requirement: PHP5+ with GD and MySQL.

Features:

  1. Easy installation. Upload it to your site, and visit youweb/gxp/setup.php, follow the instruction.
  2. Easy file management. Just upload images to folder `albums`, and GXP will do everything else.
  3. Support of Sub-Catigories. Create sub-folders in `albums`, it will appear as sub-albums.
  4. Themeable! Make your own themes. Integrate it to your Blog.
  5. SlideShow Support. Javascript based slideshow.
  6. Comment, Edit-in-Place of the discription of each album and image, Drag&Drop Sorting of albums.. All through AJAX.
  7. Light-Weighted. Very small and full featured php gallery script. If you don’t like Coppermine or Gallery2, GXP is right for you.

TODO:

  1. Flash8 based multi-image upload. Upload lots of files with one click.

Download:

  1. 0.5Beta tgz file 108KB
  2. 0.5Beta zip file 136KB

Comments (14)

Some Linux Tips.

  1. To remove the ^M characters at the end of all lines in vi, use:
    :%s/^v^M//g

    The ^v is a CONTROL-V character and ^m is a CONTROL-M. When you type this, it will look like this:

    :%s/^M//g
  2. Public key authentication in ssh
    cd ~/.ssh
    ssh-keygen -t rsa
    append id_rsa.pub to file server:~/.ssh/authorized_key
    make sure chmod .ssh to 700, and authorized_key to 600, or it will not work.
  3. SELinux
    When I was trying to use Virtual Host or UserDir in apache, if the directory does not begin with /var/www/, then I got an access denial in the log. Finally I found it is because of SELinux. Edit file /etc/selinux/config to turn it off.

Comments

« Previous entries ·