Friday, May 6, 2011

Tough three and a half days in the future.

Almost done this semester, almost.


Three and a half days left, only and also very important task need to be go through it.


Hope I could make a difference these days and survive!


Can't wait to conquer it and come back to tell the story!!!


LynneQ, trust yourself. You can do it!

Tuesday, May 3, 2011

File Repository on GAE






The presentation material for class demonstration.

439-Distributed System
Department of Computer Science,
Loyola University Chicago

Monday, April 25, 2011

Mercurial(hg) started with Bitbucket Repository

The article was first published in http://confluence.atlassian.com/display/BITBUCKET/Getting+Started+with+Bitbucket



Quick guide to getting your Bitbucket repository up and running

  1. Sign up at Bitbucket.org.
  2. If you want to add a new repository on Bitbucket, click 'Create new' on your Bitbucket home screen.
  3. Get Mercurial and Python.
    (Alternatively, if you are on Windows you can download and install TortoiseHg. This bundles Python and Mercurial.)
  4. Add or edit your Mercurial config file at C:\Documents and Settings\MY_NAME\mercurial.ini (Windows XP) orC:\Users\MY_NAME\mercurial.ini (Windows 7) or ~/.hgrc (UNIX). The file should contain:
    [ui]
    ; editor used to enter commit logs, etc.  Most text editors will work.
    editor = notepad
    username = MY_FIRST_NAME MY_LAST_NAME <MY_NAME@example.com>
    
  5. Go to a directory on your local drive and clone your Bitbucket repository:
    hg clone http://bitbucket.org/MY_USER/MY_REPO
    
  6. Update your local repository:
    • Add files then enter hg add.
    • Edit files.
    • Delete files then enter hg remove.
  7. Commit your changes to the local repository:
    hg commit -m "Initial commit of all files to the repository."
    
  8. Push your changes to Bitbucket:
    hg push http://bitbucket.org/MY_USER/MY_REPO
    
  9. Have a chocolate.



P.S.  About the remove, it seems like you need to remove the file individually, for my part, I used hg status to know the change, and then append the file name after hg remove. Don't forget commit and push.


New: If you want to remove a folder with files, you could go to the parent folder, for example, folder pro3/FileRepo is the one you want to remove,  you should under pro3, and then enter "hg remove FileRepo", see hg status to see if succeed, and then commit and push.


All the "remove" I used means remove the files in Bitbucket.org Repo.

Monday, March 21, 2011

To myself

“Age is strictly a case of mind over matter. If you don't mind, it doesn't matter.”

                                                                                                                   - Jack Benny


The first blog here which I want to make it inspiring for the rest, now the plan is by some wisdom words.

TIME past, and we miss it. 
It's true when we getting old we feel disappointment, maybe for the things we didn't done yet, maybe for the time we waste on something we feel unimportant now, even just for we didn't grow up as a better person than others or whom we expect to be.

The GOAL is too big to get.
When we are chasing the dream we got as a child, we may have missed a lot of things and people. Every phase in my life should have my respect and cherish it as a treasure. We are too careful to live a better life. The scene along the journey is also beautiful, maybe more beautiful than what we got at last. The goal will always be too big to get, so why not we just try our best and let things take its course?


To courage
"You mustn't be afraid to dream a little bigger, Darling"
                                                                                  - Inception

To 2011, and the rest of my life. 
Cherish life, cherish yourself. Make life worthy.
                                                                                  - Lina Qu