Lưu trữ

Author Archive

hướng dẫn sử dụng eclipse

Tháng Mười Một 28, 2009 vuau Phản hồi đã bị khóa

nguồn: http://hp-aptech.edu.vn/forums/t/3508.aspx

Mục đích của bài viết hướng dẫn bạn sử dụng một số chức năng cơ bản của eclipse như tạo, import project, build, run và debug ứng dụng. Ngoài ra bài viết cũng hướng dẫn bạn tạo file jar, generate javadoc cho source code. Read more…

Categories: lập trình Thẻ:

Phím tắt trong eclipse pdt

Tháng Mười Một 28, 2009 vuau Phản hồi đã bị khóa

Nguồn: http://donghoqualac.wordpress.com

Các phím tắt trong Eclipse pdt:  Windows -> Preferences -> General -> Keys

  1. Xem danh sách: Ctrl+Shift+L. Giống như mở Firebug khi nó chưa bị disable.
  2. Code completion: Gõ và Ctrl + Space. Tương tự như Zend Studio
  3. Xem cửa sổ Breakpoint: Alt+Shift+Q rồi B
  4. Run: Ctrl+F11 Read more…
Categories: lập trình, web

Lên mạng học tiếng Anh miễn phí

Tháng Mười Một 16, 2009 vuau Phản hồi đã bị khóa

From: http://nhipsongso.tuoitre.com.vn/Index.aspx?ArticleID=347794&ChannelID=16

TTO – Bạn có thể trau dồi ngoại ngữ nhanh chóng nhờ các trang web dạy tiếng Anh miễn phí bằng hình ảnh, video trực quan và cho phép trao đổi kinh nghiệm ngay trên diễn đàn.

learnenglishonline.yuku.com là website dù không hấp dẫn về hình thức nhưng chứa đựng rất nhiều bài học bổ ích. Tại đây, người học có thể đăng ký tham gia phòng chat trực tuyến (Let’s Chat), nói chuyện với bạn bè năm châu bằng tiếng Anh và nâng cao kỹ năng giao tiếp. Read more…

Categories: Tiếng Anh Thẻ:

How to write a FaceBook Application in 10 minutes

Tháng Mười Một 14, 2009 vuau Phản hồi đã bị khóa

From: http://gathadams.com/2007/06/18/how-to-write-a-facebook-application-in-10-minutes/

Writing F8 apps is where it’s at right now. Everybody knows it. The userbase is huge and now we have a (free) API to. Everything is good….but the documentation.

I spent a day writing my Sudoku Facebook application yesterday. I already had the sudoku javascript widget ready to go – the time was spent wading through pages of documentation and downloading toolkits that (as it turns out) I didn’t need. Read more…

Categories: web Thẻ:

dotProject error: query failed about username

Tháng Mười Một 12, 2009 vuau Phản hồi đã bị khóa

http://forums.dotproject.net/showthread.php?t=9290

 

EDIT: Fixed in stable_2 as of revision 5798.

When users try to reply to a forum post the system throws an SQL error.

It is happening because a user_id is not being delimited with quotes.

Here is the message we see…

Quote:
ERROR: /home/mysite/public_html/zzzproj/classes/query.class.php(623): query failed(SELECT contact_first_name, contact_last_name FROM ( `users` ) LEFT JOIN `contacts` AS con ON contact_id = user_contact WHERE user_username LIKE ‘tofjohn’ OR user_id = tofjohn) – error was: Unknown column ‘tofjohn’ in ‘where clause’

My Analysis: WHERE user_username LIKE ‘tofjohn’ OR user_id = tofjohn) – error was: Unknown column ‘tofjohn’ in ‘where clause’
should have parameter for user_id quoted as in… OR user_id = ‘tofjohn’)

Quote:
Backtrace:
0 /home/mysite/public_html/zzzproj/classes/query.class.php:623 dprint(‘/home/mysite/public_html/zzzproj/classes/query.class.php’,623,0,’query failed(SELECT contact_first_name, contact_last_name FROM ( `users` ) LEFT JOIN `contacts` AS con ON contact_id = user_contact WHERE user_username LIKE \’tofjohn\’ OR user_id = tofjohn) – error was: Unknown column \’tofjohn\’ in \’where clause\”)
1 /home/mysite/public_html/zzzproj/classes/query.class.php:645 exec(2)
2 /home/mysite/public_html/zzzproj/includes/main_functions.php:193 loadList()
3 /home/mysite/public_html/zzzproj/modules/forums/post_message.php:139 dPgetUsername(‘tofjohn’)
4 /home/mysite/public_html/zzzproj/modules/forums/viewer.php:83 include(‘/home/mysite/public_html/zzzproj/modules/forums/post_message.php’)
5 /home/mysite/public_html/zzzproj/index.php:299 require(‘/home/mysite/public_html/zzzproj/modules/forums/viewer.php’)
<\pre>

I tried to find a fix by looking at query.class.php and found the make_where_clause function, but looks like the problem comes somewhere before that. Will keep looking thru more source…

Current versions of system are in my sig.

 

fix:

/* $q->addWhere(“user_username LIKE ‘$user’ OR user_id = ” . $user); */
$q->addWhere(‘user_username LIKE \”.$user.”‘”);

Categories: Uncategorized Thẻ:

Ebook “Giáo trình nguyên lý Hệ Điều Hành – Operating Sytems”

Tháng Mười Một 9, 2009 vuau Phản hồi đã bị khóa

Giáo trình này gồm có 4 phần với 11 chương:

Phần 1: Tổng quan
Chương 1: Tổng quan về hệ điều hành

Code:
http://www.mediafire.com/?iskkkud2djc
Chương 2: Cấu trúc hệ điều hành Read more…

Categories: ebook Thẻ:

Các phím tắt mới trong Windows 7

Tháng Mười 31, 2009 vuau Phản hồi đã bị khóa

Windows 7 chứa một loạt phím shortcut mới để người sử dụng nhanh chóng chuyển đổi giữa các ứng dụng, di chuyển cửa sổ trong khuôn khổ màn hình, phóng to, thu nhỏ kích thước…

Phím tắt quản lý Windows

Win + Home Thu nhỏ tất cả cửa sổ, trừ cửa sổ đang sử dụng.
Win + Space Biến các cửa sổ trở nên trong suốt để có thể thấy desktop.
Win + Mũi tên lên Phóng to cửa sổ.
Shift + Win +
Mũi tên lên
Chỉnh tối đa kích thước cửa sổ theo chiều dọc.
Win + Mũi tên xuống Thu nhỏ cửa sổ.
Win + Mũi tên phải/trái Chuyển cửa sổ về nửa bên phải hoặc trái màn hình.
Shift + Win + Mũi tên phải/trái Chuyển sang màn hình phải/trái.
Kéo cửa sổ lên trên cùng Phóng to cửa sổ.
Kéo cửa sổ sang trái/phải Chỉnh cửa sổ có kích cỡ bằng nửa màn hình.
Lắc cửa sổ Thu nhỏ các cửa sổ trừ cửa sổ đang sử dụng.
Click đúp viền trên cửa sổ Phóng to cửa sổ theo chiều dọc.

Read more…

Categories: kinh nghiệm, mạng Thẻ:,

Triết lý Hồ Chí Minh về con người và giáo dục con người trong bài thơ “Nửa đêm”

Tháng Mười 24, 2009 vuau Phản hồi đã bị khóa

Với bốn câu thơ Đường luật “thất ngôn tứ tuyệt”, bài thơ “Nửa đêm” ( trích trong tập thơ “Nhật ký trong tù″ – Hồ Chí Minh) là một tác phẩm văn học có tính triết lý sâu sắc, bởi ở đó bộc lộ thật rõ nhãn quan biện chứng cùng những chiêm nghiệm, những đúc kết của Bác về con người và việc giáo dục con người .

Phiên âm chữ Hán:                            Dạ bán

Thụy thì đô tượng thuần lương hán,

Tỉnh hậu tài phân thiện, ác nhân;

Thiện, ác nguyên lai vô định tính,

Đa do giáo dục đích nguyên nhân.

Read more…

Categories: sưu tầm Thẻ:

The Mystery Of The CSS Float Property

Tháng Mười 20, 2009 vuau Phản hồi đã bị khóa

From: http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/

Years ago, when developers first started to make the transition to HTML layouts without tables, one CSS property that suddenly took on a very important role was the float property. The reason that the float property became so common was that, by default, block-level elements will not line up beside one another in a column-based format. Since columns are necessary in virtually every CSS layout, this property started to get used — and even overused — prolifically.

The CSS float property allows a developer to incorporate table-like columns in an HTML layout without the use of tables. If it were not for the CSS float property, CSS layouts would not be possible except using absolute and relative positioning — which would be messy and would make the layout unmaintainable. Read more…

Categories: lập trình, web

Học tiếng anh qua Video với podEnglish on Youtube

Tháng Mười 16, 2009 vuau Phản hồi đã bị khóa

http://www.youtube.com/user/podEnglish

Categories: Uncategorized Thẻ: