Wednesday, January 21, 2009

Mẹ của anh - thơ Xuân Quỳnh

Hic!! trước kia những thơ thể loại này minh chả bao giờ đọc, giờ sao thấy hay thế, đúng là lấy vợ váo có khác; :)

Please take a look. Especially, Wives.

Phải đâu mẹ của riêng anh
Mẹ là mẹ của chúng mình đấy thôi
Mẹ tuy không đẻ không nuôi
Mà em ơn mẹ suốt đời chưa xong

Ngày xưa má mẹ cũng hồng
Bên anh mẹ thức lo từng cơn đau
Bây giờ tóc mẹ trắng phau
Để cho mái tóc trên đầu anh đen

Đâu con dốc nắng đường quen
Chợ xa gánh nặng mẹ lên mấy lần
Thương anh thương cả bước chân
Giống bàn chân mẹ tảo tần năm nao

Lời ru mẹ hát thuở nào
Chuyện xưa mẹ kể lẫn vào thơ anh
Nào là hoa bưởi hoa chanh
Nào câu quan họ mái đình cây đa

Xin đừng bắt chước câu ca
Đi về dối mẹ để mà yêu nhau
Mẹ không ghét bỏ em đâu
Yêu anh em đã là dâu trong nhà

Em xin hát tiếp lời ca
Ru anh sau nỗi lo âu nhọc nhằn
Hát tình yêu của chúng mình
Nhỏ nhoi giữa một trời xanh khôn cùng

Giữa ngàn hoa cỏ núi sông
Giữa lòng thương mẹ mênh mông không bờ
Chắc chiu từ những ngày xưa
Mẹ sinh anh để bây giờ cho em.

Tuesday, November 11, 2008

Làm việc kiểu MK









Đây là anh ĐinhKH với tư thế classic!

Saturday, September 20, 2008

Hướng dẫn cài đặt Liferay (Trong Linux)

Download Liferay & Sql Script

1.Download the liferay-portal-tomcat-x.x.x zip file & liferay-portal-sql-x.x.x zip file from following website.
www.liferay.com
Then click on Download & click on Bundled with Tomcat x.x
If you want to take sql the click on Additional Files
Click on Liferay Portal 5.0.1 SQL Scripts

Extraction of Liferay

2.Extract the liferay-portal-tomcat-x.x.x zip file.

3.Then put in any directory
eg : if i want to put in opt directory then i will do it by using below command (assume i am in home)
mv liferay-portal-tomcat-x.x.x /opt/
If you want to change the name you can change

Extraction of SQL Script

4.Extract the liferay-portal-sql-x.x.x zip file.
5.Then go to MYSQL Query Browser login as root then open Script tab
6.Click on Open file go to the Extracted liferay-portal-sql-x.x.x/create/
7.Select create-mysql.sql file & then click on OK.
8.If you want to change the database name (by default it will be lportal) you can change it.
9.Then click on Execute.
10.Now got to folder where you kept liferay-portal-tomcat-x.x.x (Or the name which you specified)

Configuration of Liferay

11.Go to following path liferay-portal-tomcat-x.x.x/conf/Catalina/localhost (Or specified name/conf/Catalina/localhost)

Liferay Database changing

12.Open ROOT.xml and change the following things.
Comment following thing


then add following thing in MSQL Area

13.Copy mysql.jar in liferay-portal-tomcat-x.x.x/common/lib (Or specified name/common/lib)
14.If you want to change the port the go to liferay-portal-tomcat-x.x.x/conf (Or specified name/conf)

Liferay Port changing

15.The open server.xml and change the following thing.
Assume i want to change port from 8080(by default) to 8181

to



Bash Profile Configuration

16.Then go to home directory.
17.By using command prompt open bash profile
vi .bash_profile

Then write this code

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin

PATH=/usr/java/jdk1.5.0_02/bin:$PATH:$HOME/bin:./
(Or give the path of jdk)

export PATH
export JAVA_HOME=/usr/java/jdk1.5.0_02/
(Or give the path of jdk)
export CLASSPATH=/usr/java/jdk1.5.0_02/lib/tools.jar:/usr/java/jdk1.5.0_02/jre/lib/rt.jar:./
(Or give the path of jdk)
export CATALINA_HOME=/opt/liferay-portal-tomcat-x.x.x (or Specified Name)

unset USERNAME

Then save it.

Starting the Liferay Server

18.Now logout & login.

19.By useing command prompt go to extracted liferay-portal-tomcat-x.x.x (Or the name which you specified).

20.Go to liferay-portal-tomcat-x.x.x /bin (Or name specified/bin) and give this command
sh startup.sh and enter

If you want to stop then

sh shutdown.sh and enter

21.If any error you want to see then o to liferay-portal-tomcat-x.x.x /logs (Or name specified/logs) and give this command
tail -f Catalina.out and enter

22.If any liferay is not started or gives error then give this command and then use above command
chmod -R 777 /opt/liferay-portal-tomcat-x.x.x (Or the name specified) (Assume i copied liferay-portal-tomcat-x.x.x into opt directory)

23.Now Open the Browser and type the below line
http://localhost:8080 (Or localhost:changed port number)
If it is in Server
http://server IP Address:8080 (Or Server IP Address:changed port number)

Thursday, September 18, 2008

Is it her?








Steps in writing the essay

  1. Choosing the topic
  2. Brainstorming
  3. Doing research
  4. Outline
  5. Introduction
  6. Thesis Statement
  7. Body
  8. Conclusion
  9. Editing and proofreading
Please go into the address http://www.bestessaytips.com in detail.

How to read ... in english

( _ ) underscore/understrike
( @ ) at
( - ) dash
( ! ) exclamation point
( $ ) dollar sign
( # ) number sign
( , ) comma
( ^ ) caret
( | ) vertical or pipe
( \ ) backslask
( / ) slash or solidus or stroke
( " ) quotation mark
( * ) asterick
( ' ) apostrophe
( ~ ) tilde
( ... ) ellipsis

How to Read Numbers in English

107 One/a hundred and seven
170 One/a hundred and seventy
1007 One/a thousand (and) seven
1070 One/a thousand (and) seventy
1700 One thousand seven hundred or seventeen hundred
1701 One thousand seven hundred and one or seventeen-one or seventeen oh one
17587 seventeen thousand five hundred and eighty-seven
1.275 one point two seven five

How to Read Years in English

Today one of my students asked how to pronounce 1906. Was it “nineteen six” or “nineteen oh
six”? He recognized the pattern that in English we tend to read four-digit years as a pair of 2-
digit numbers. “Nineteen six” didn’t sit right with him though. This is probably because when he
learned to tell time in English, he learned that 2:03 is “two oh three”, not “two three”. So he
asked about the years.

Of course, I answered that the latter was correct. You need to add the “o” sound when the tens’
digit is a zero. He followed up, “So 804 is eight oh four, right?”
“Well, you can say that, but ‘eight hundred and four’ is also correct.”
“Can you say ‘nineteen hundred and six’?”

As the conversation went on, I began to realize that the way we read years is a little complicated.
Being a native speaker of English, it comes natural to me so I’ve never thought about it. But for
foreign learners it can be confusing and ambiguous. After my conversation with him I thought
about it a little to see if I could find a pattern, and here is what I came up with:
Algorithm for Reading Years

1. If there, there are no thousands’ or hundreds’ digits, read the number as-is.
Examples:
o 54 - “fifty-four”
o 99 - “ninety-nine”
o 0 - “zero”
o 8 - “eight”
2. If there is a thousands’ digit but the hundreds’ digit is zero, you can read the
number as “n thousand and x”. If the last two digits are zero, you leave off
the “and x” part. Examples:
o 1054 - “one thousand and fifty-four”
o 2007 - “two thousand and seven”
o 1000 - “one thousand”
o 2000 - “two thousand”
3. If the hundreds’ digit is non-zero, you can read the number as “n hundred
and x”. If the last two digits are zero, you leave off the “and x” part.
Examples:
o 433 - “four hundred and thirty-three”
o 1492 - “Fourteen hundred and ninety-two” (who sailed the ocean
blue?)
o 1200 - “twelve hundred”
o 600 - “six hundred”
4. The above rule produces some formal and old-fashioned names. Where it
exists, it is acceptable to omit “hundred and”. If you do, and the tens’ digit is
zero, you must read that zero as “oh”. Examples:
o 432 - “four thirty-two”
o 1492 - “fourteen ninety-two”
o 1908 - “nineteen oh eight”
o 1106 - “eleven oh six”
5. Finally, though uncommon it is possible to read the years in rule #2 using the
systems for rules #3 and #4. Examples:
o 1054 - “ten hundred and fifty-four” (if this sounds wrong to you,
imagine you are watching a documentary on the history channel and
the stiff narrator begins: “In the year ten hundred and fifty-four, Pope
Leo IX died.”)
o 1054 - “ten fifty-four”
o 3026 - “thirty twenty-six”
o 2007 - “twenty oh seven” (if this sounds wrong to you, imagine you
live in 1972 and you are reading a science fiction story that starts: “In
the year twenty oh seven, the world was overrun by blood-thirsty
robots.”)

By writing it out I don’t think I made it any less-complicated, but for what it’s worth there it is.
Does this algorithm work for you? I think I covered all the bases, but let me know in the
comments if I missed something.