LeKhoi

… leaps of faith as we are going about our daily life.

Author Archives

Ted 28 Jan 12

28 Jan 12 No comments

Brian Goldman: Doctors make mistakes. Can we talk about that?
Every doctor makes mistakes. But, says physician Brian Goldman, medicine’s culture of denial (and shame) keeps doctors from ever talking …

Alain de Botton: Atheism 2.0
What aspects of religion should atheists (respectfully) adopt? Alain de Botton suggests a “religion for atheists” — call it Atheism …

Ariel Garten: Know thyself, with a brain scanner
Imagine playing a video game controlled by your mind. Now imagine that game also teaches you about your own patterns …

Gayle Tzemach Lemmon: Women entrepreneurs, example not exception
Women aren’t micro–so why do they only get micro-loans? At TEDxWomen reporter Gayle Tzemach Lemmon argues that women running all …

Ted 14 Jan 12

20 Jan 12 No comments

Sheena Lyengar: How to make choosing easier
We all want customized experiences and products — but when faced with 700 options, consumers freeze up…

Clay Shirky: Why SOPA is a bad idea
What does a bill like PIPA/SOPA mean to our shareable world? At the TED offices, Clay Shirky delivers a proper…

Scott Rickard: The beautiful math behind the ugliest music
Scott Rickard set out to engineer the ugliest possible piece of music, devoid of any pattern, using a mathematical concept…

Mikko Hypponen: Three types of online attack
Cybercrime expert Mikko Hypponen talks us through three types of online attack on our privacy and data…

Sonaar Luthra: Meet the Water Canary
After a crisis, how can we tell if water is safe to drink?…

Open cakePHP template (ctp) with Dreamweaver on Mac

21 Sep 10 1 comment

Environment MAC OS X 10.6.4, running Dreamweaver CS5

Go here

/Applications/Adobe Dreamweaver CS5/Configuration/
Modify Extensions.txt with the following 2 lines

… INSTALL,THEME,CONFIG,MODULE,PROFILE,ENGINE,CTP:All Documents
…PHP,PHP3,PHP4,PHP5,TPL,PHP-DIST,PHTML,CTP:PHP Files

Then go here
/Applications/Adobe Dreamweaver CS5/Configuration/DocumentTypes/
Modify MMDocumentTypes.xml like so

<documenttype id=”PHP_MySQL” servermodel=”PHP MySQL”
internaltype=”Dynamic” winfileextension=”php,php3,php4,php5,phtml,ctp”
macfileextension=”php,php3,php4,php5,phtml,ctp” file=”Default.php”
writebyteordermark=”false” mimetype=”text/html”>

Vài con số vào thập niên 50

18 Sep 10 No comments

Trích từ báo Sàigòn Times Thứ Năm 1-10-2009, trang 40, phát hành tại Úc Châu
Tác giả Nguyễn Kỳ Phong, Người Mỹ & Chiến Tranh VN

Trừ một số người được may mắn qua Pháp học và được tiến thân không giới hạn,
học sinh ở Việt Nam gần như bị giới hạn vào bậc cử nhân (cho đến năm 1955
lần đầu tiên mới có luận án tiến sĩ trình ở Sàigòn). Trong niên khoá 1953-1954
chỉ có 190 người đậu tú tài I và 111 người đậu tú tài II. Bậc trung học thì
có 649 đâu bằng trung học đệ nhất cấp (trên tổng số 1,376 thí sinh).

Cùng niên khoá, có 38,024 thí sinh dự thi bằng tiểu học, nhưng chỉ có 25,662
người đậu. Ở cấp cao hơn, bậc đại học có 415 sinh vien đươc giảng dạy bởi
75 giáo sư. Ở trường chuyên nghiệp có 530 học viên với 36 giảng viên. Đây là
một tỉ lệ rất nhỏ so với một dân số 16 triệu người.

Mời bạn một ly nữa!

10 Sep 10 No comments

Minh Thiên thân mến,

Mong là bạn thích thú với ly vừa rổi. Hôm nay mời bạn thưởng thức thêm một ly nữa. Loại này gọi là “Fuck You”, vị nhẹ, ngọt ngào nhưng rất mạnh. Nhấp vào một ngụm bạn sẽ có cảm giác nóng bừng bừng lăn tăn chảy vào cổ họng, khá thích thú. Nhấp chuột vào đây để tài về

Jquery set radio value

10 Sep 10 No comments

The problem here is we have radio group with the same name for each option. We use jQuery to check the radio button that has the value passed to it. The HTML code:

Do you like like jQuery?
 Yes
 No

And here is how it is called:


Mời bạn một ly

04 Sep 10 No comments

Minh Thiên thân mến,

Cám ơn bạn nhiều về các món lai rai mà bạn đã cất công tìm tòi, khà khà, thật là cảm kích tuy là có hơi nặng ký một chút nhưng vẫn rất sảng khoái.

Thế mà cũng đã lâu lâu mới có dịp mời bạn một ly trước là cho mau tiêu mấy món nặng ký, sau là thưởng thức một chút rượu ngoại.

Continue reading →

 

powered by WordPress