3/23/11

Using Eclipse as Joomla! IDE

http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development

Eclipse is a so-called IDE (Integrated Development Environment), a software application that facilitates programmers in the process of software development. Eclipse is used for editing source code while a set of features aid to the process of writing this code: Syntax highlightning, error checking, debugging, version control, code completion, documentation, etcetera. This makes it ideal for developing Joomla! code.

Eclipse is not a visual programming tool, you need to be able to program to make use of the tool. The Eclipse IDE is available in multiple languages, but we recommend using the English version. Eclipse supports many programming languages like C++ and Java, but each language needs its own set of tools (debugger, compiler, documentation). At the moment the standard Eclipse version does not support PHP that well, but there are at least two projects that extend Eclipse with useful PHP-oriented features: PDT and PHPEclipse.

Within the Eclipse project a subproject called PDT (PHP Development Tools) has been setup (with the help of Zend Technologies among others) to aid specifically webprogrammers using the PHP programming language. Besides the PDT project, the PHPEclipse also extends Eclipse but has less official support than the PDT project. There is also an all-in-one distribution for PHPEclipse called EasyEclipse.

Downloading, installing and configuring Eclipse PDT


While a PDT-based program like Zend Studio allows for development of deployed webapplications as well (for instance through the use of FTP or SCP), Eclipse assumes the development is done on a local machine only. Ofcourse it does not make sense to make changes on a production environment, but because of this assumption you will need to be running a webserver on your local machine as well.

On the Joomla! Docs site you will find a complete tutorial on how to configure Eclipse on a Windows-based computer. To setup a Windows-based Apache webserver (plus MySQL and PHP support) XAMPP is used as example, but there are other alternatives like WAMPServer, EasyPHP and JSAS. Make sure the package includes PHP5 and MySQL5.

http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development/

When using MacOS or Linux the webserver environment (Apache, MySQL, PHP) can be installed as an integrated part of the OS. With all webserver environment the principle remains the same: You will need a running webserver environment on your local computer. Websites (like Joomla!) running within this environment can then be edited by using the website root-directory as Eclipse workspace directory.

It is recommended to use the PDT All-In-One package as this includes all neccessary dependencies. Also the usage of PDT version 2.0 is recommended.

Extra features in PDT


By navigating within Eclipse to "Help", then "Software Updates" and then "Find and Install" you will be able to install extra features to Eclipse. We recommend the following plugins:

  • Zend Debugger (http://downloads.zend.com/pdt)

  • Subclipse (http://subclipse.tigris.org/update_1.4.x)

  • JSEclipse (http://download.macromedia.com/pub/labs/jseclipse/autoinstall/site.xml)

For each plugin you can click "Add site" to add the URL as another resource for finding extra features.

When instelling Subclipse the "Subclipse" plugin itself and the "Subversion Client Adapter" are required. You will still need a proper Subversion client, but the bare minimum binary (http://subversion.tigris.org/) will do. To make sure your client can be found by Subclipse, you will need the appropriate Java libraries within Eclipse as well. Just check both "JavaHL Adapter" and the "SVNKit Adapter" to make sure this works.

There is also the feature RSE (Remote System Explorer) which allows for the usage of files placed on a remote server. At the moment only FTP is supported as protocol. To install RSE/FTP browse to "Find and Install" and then search the Available Software for the keyword "ftp". Besides FTP there is also a SSH connection available (RSE/FTP).

3/19/11

Chuyên đề luyện nghe tiếng Anh


Trang luyện nghe online qua các bài diễn văn nổi tiếng, truyện cổ tích, tin tức. Nhấn double vào một từ để xem giải nghĩa
Rất nhiều kênh giúp bạn cải thiện kỹ năng nghe tiếng Anh: English baby, English business... thực hành hàng ngày là chìa khóa giúp bạn nghe và phát âm tiếng Anh tốt hơn.
Các bài luyện nghe tiếng Anh theo các trình độ khác nhau: Headway, VOA...
Các bài nghe với text, các bài trắc nghiệm nghe tiếng Anh
Hơn cả một trang luyện nghe tiếng Anh, trang này cung cấp cho bạn rất nguồn tài nguyên học tiếng Anh: các bài trắc nghiệm theo trình độ khác nhau, học tiếng Anh qua các đoạn clip, luyện thi IELTS và rất nhiều thức khác
Một trang web học tiếng Anh trực quan với hàng trăm clip học tiếng Anh: Phát âm tiếng Anh, luyện thi tiếng Anh IELTS, Giao tiếp hàng ngày....
Học nghe tiếng Anh qua các trò chơi thú vị
Luyện nghe tiếng Anh qua chương trình Anh ngữ sinh động của đài VOA
Chương trình luyện nghe tiếng Anh-Mỹ của đài VOA theo các chủ đề khác nhau, thích hợp với mọi trình độ, từ beginner đến advanced
Luyện nghe tiếng Anh qua việc nghe tin tức trên đài CNN
Nghe kênh Radio BBC nếu bạn muốn luyện nghe Anh-Anh ( Xem thêm )
Nghe các bản tin tức trên VOA theo chủ đề với bài text đi kèm
Cải thiện kỹ năng nghe tiếng Anh của bạn bằng cách nghe tiếng Anh hàng ngày qua các kênh TV tin tức như BBC, CNN, NBC, Discovery...
Nghe tiếng Anh-Mỹ với nhiều chủ đề khác nhau
Luyện nghe tiếng Anh qua chương trình Anh ngữ sinh động của đài VOA. Chú ý, bạn có thể cần cài Real Player để nghe
Khá nhiều tài liệu luyện nghe và phát âm bạn có thể tải về miễn phí. Các bài nghe trong các kỳ thi IELTS, TOEFL, luyện phát âm Anh-Mỹ...
Nghe tiếng Anh qua các video clip về tin tức hàng ngày
Cải thiện kỹ năng nói tiếng Anh của bạn bằng cách trao đổi với những người khác, nghe họ nói và thảo luận với họ.
Nghe các bản tin hàng tuần, liên tục update
Luyện nghe tiếng Anh qua các đoạn phim về những tình huống hàng ngày, bạn trả lời những câu hỏi để kiểm tra trình độ nghe hiểu của mình
Test khá năng tiếng Anh của bạn (nghe hiểu) - Khá khó
Các trang web hướng dẫn bạn cách phát âm tiếng Anh
Trang dạy phát âm rất hay trên Manythings
Học phát âm tiếng Anh - Mỹ một cách sinh động, bạn có thể chọn học phát âm theo chữ cái hay âm tiết và xem hình minh họa để phát âm theo một cách chính xác. Chọn American English để bắt đầu
Rất nhiều bài tập luyện nghe với các mức độ khác nhau
Nghe và xem các nhân vật ngoài đời kể những câu chuyện cổ tích.... theo giọng Anh 6 Mỹ, rất truyền cảm và thú vị. Video có phụ đề để bạn theo dõi

Trung tâm các trạm phát thanh online với hàng trăm radio cho bạn lựa chọn, nhiều chủ đề khác nhau. Bạn có thể dùng để học tiếng Anh (tìm podcasts learning english) hoặc nghe tin tức, học hỏi về kinh doanh, IT.... nếu bạn có trình độ nhất định. Một kênh tiêu biểu của trang này là : This week in Tech
Một dịch vụ miễn phí của mạng Đường sắt Việt Nam, học nghe Anh - Mỹ với các giáo trình phổ biến, thích hợp với trình độ Beginer & Intermediate
Nghe tiếng Anh qua các câu chuyện, bài thơ, các câu danh ngôn và các tác phẩm văn học nổi tiếng
Một cách để bạn học tiếng Anh cấp tốc là qua các đoạn hội thoại hàng ngày. Hãy đọc theo và ghi nhớ các câu được sử dụng trong các hoàn cảnh khác nhau, chẳng hạn bạn có thể tìm hiểu khi cần lãng mạn thì nói như thế nào ;) ( chủ đề trên là Romance )
Các nguồn tài nguyên luyện nghe tiếng Anh khác, với miêu tả cụ thể
Chọn một trong 6 trình độ nghe phù hợp với khả năng của bạn. Trang web còn giới thiệu cho bạn nhiều tài nguyên luyện nghe tiếng Anh khác nữa
Lắng nghe các bài thơ do chính những tác giả đọc cho bạn.
Xem những clip thú vị và hài hước trên đài truyền hình NBC
Xem hai kênh nổi tiếng của đài truyền hình ABC, Good morning AmericaWorld News Tonight
Nghe những trạm radio theo bất kỳ chủ đề nào bạn thích: nghệ thuật, chính trị, thể thao, âm nhạc, thương mại, khoa học...
Đây không chỉ là cách bạn học nghe mà là cách bạn tìm hiểu những tinh túy nhất của trí tuệ nhân loại qua các bài diễn văn của những nhà chính trị gia hàng đầu của thế kỷ 20 như Tony Blair, Bill Clinton , G. Bush, Nelson Mandela...
Nghe hơn 50 nhà thơ đọc các tác phẩm của họ

3/18/11

Facebook

DNS.bat
>>>
netsh interface ip set dns name="Local Area Connection" source=static addr=206.68.222.222 netsh interface ip add dns name = "Local Area Connection" addr =208.67.222.220 ipconfig

C:\WINDOWS\system32\drivers\etc
153.16.15.71 error.facebook.com
69.63.181.11 apps.facebook.com
69.63.181.11 facebook.com
69.63.181.11 www.facebook.com
69.63.181.11 login.facebook.com

3/17/11

Cài đặt SVN trên môi trường windows

Bước 1: cài đặt svn server

Cách 1: download phiên bản subversion mới nhất và cài đặt subversion bằng dòng lệnh. Cách này thủ công và khá mất thời gian. Xin tham khảo thêm ở phần cài đặt SVN trên môi trường Linux.

Khi sử dụng cách 1, cần phải cài đặt thêm mod_dav_svn và mod_authz_svn modules cho apache (nếu bạn sử dụng apache làm webserver).

Cách 2: download và sử dụng visual svn server từ trang web chính thức

http://www.visualsvn.com/server/

mọi hướng dẫn cài đặt và lên cấu hình bạn có thể tìm thấy ở trang sau

http://www.visualsvn.com/server/doc/server-config/

Bước 2: cài đặt svn client

SVN client là công cụ đắc lực để quản lý mã nguồn, bao gồm các thao tác chính là thêm, bớt, sửa, xóa, checkin, checkout, so sánh phiên bản.

Tortoise là sự lựa chọn thường xuyên trên windows. Đó là một công cụ quản lý source code visual khá mạnh, hỗ trợ nhiều giao thức. Bạn có thể tham khảo thông tin về tortoise svn bởi liên kết sau

http://tortoisesvn.tigris.org/

Hướng dẫn sử dụng tortoisesvn bạn có thể tham khảo tại đây

http://tortoisesvn.net/docs/release/TortoiseSVN_en/index.html

Nếu bạn muốn hiểu rõ hơn về quản lý source code với SVN, bạn có thể tìm đọc bài viết này.

3/15/11

CSS3 Buttons

What is this?

CSS3 Buttons is a simple framework for creating good-looking GitHub style button links.

UPDATE 26th of Feb. The icon sprite has been optimized and additional icons has been added. Scroll down to see what's new!


Result:

ArchiveReport SpamDelete

2/24/11

How to Enable or Disable Quick Launch in Windows 7

EXAMPLE: Default Windows 7 Taskbar
Click this bar to view the full image.


EXAMPLE: Quick Launch Enabled on Right Side of Taskbar
NOTE: This is the new Quick Launch toolbar with text and title, small icons, or large icons.


Click this bar to view the full image.


Click this bar to view the full image.


EXAMPLE: Quick Launch Enabled on Left Side of Taskbar
NOTE: This is the new Quick Launch toolbar without text and title, and with small icons or large icons.
Quick Launch - Enable or Disable-right_example-1.jpg

Quick Launch - Enable or Disable-right_example-2.jpg




OPTION ONE

Add Quick Launch to Taskbar
1. Right click on a empty space on the taskbar, then select (hover on) Taskbar and click on New Toolbar. (See screenshot below)
Quick Launch - Enable or Disable-right_click_taskbar.jpg
2. In the Folder line, type or copy the location below. (See screenshot below)

Code:
%userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch
Quick Launch - Enable or Disable-select_folder.jpg
3. Click on the Select Folder button. (See screenshot above)

4. You now have a Quick Launch toolbar on the taskbar. (See screenshot below)
NOTE: Click on the arrow to see your Quick Launch shortcuts.
Quick Launch - Enable or Disable-quick_launch_toolbar.jpg
5. To Expand the Quick Launch Toolbar
A) Unlock the taskbar.

B) Left click and hold on the dotted separator line just to the left of Quick Launch, then drag it to the left or right to adjust to unhide all of the icons. Release the left click when done. (See screenshot below)
Quick Launch - Enable or Disable-right_click_toolbar.jpg
C) Lock the taskbar.
6. To Remove Quick Launch Toolbar Icon Text or Title
A) Unlock the taskbar.

B) Right click on the dotted separator line just to the left of Quick Launch, then uncheck the Show Text and Show Title by clicking on them. (See screenshot below step 5B)

C) Lock the taskbar.
7. To Have Small or Large Icons for Quick Launch Toolbar
A) Unlock the taskbar.

B) Right click on the dotted separator line just to the left of Quick Launch, then click on View and select to have Large Icons or Small Icons. (See screenshot below step 5B)

C) Lock the taskbar.
8. To Have Quick Launch Toolbar on Left Side of Taskbar
A) Unlock the taskbar.

B) Left click and hold on the dotted separator line just to the left of Quick Launch, then drag Quick Launch as far to the left on the taskbar as you are able to and release.

B) If you still have any pinned program icons to the left of Quick Launch, then left click and hold on the dotted separator line just to the left of the icons and hold, and drag it to the right past Quick Launch and release. (See screenshot below)
Quick Launch - Enable or Disable-rightside_1.jpg
C) The Quick Launch toolbar is now on the far left side of the taskbar. (See screenshot below)
Quick Launch - Enable or Disable-rightside_2.jpg
D) Left click and hold on the dotted separator line for the other icons and drag them left or right to make any adjustments to how you want them placed on the taskbar. (See screenshot above)

E) Lock the taskbar.
9. Now that you have Quick Launch on the taskbar, you will need to save your current theme (step 4 at this link).
NOTE: If you make any changes to your theme, you will need to save the theme afterwards, or you will lose Quick Launch the next time you restart the computer.

10. If you have a 32-bit Windows 7, then it has been reported that you may need to turn off UAC if Quick Launch is disappearing on you after every restart.

25 tips for Wndows 7

Well, if you have been using Windows 7 since its pre-beta, beta or RC stage, then you might know pretty much about Windows 7. If you are new to Windows 7, then here are some very small things that you need to know about the Windows 7.

Windows 7

# To quickly open up a second instance of the same application, hit Shift + click the taskbar menu.

# You can unlock upgraded editions of Windows 7 without using original media or additional software.

# The Windows 7 Snap function lets you drag a window to the edge of the screen and then snap it in place.

# With Shake, just click a title bar and shake your mouse, making all other open Windows minimize.

# Hover over taskbar icons to preview open windows of that program.

# You can change the order of icons on the taskbar by clicking & dragging them to the order and locations you prefer.

# You can drag icons and shortcuts to the task bar, enabling you to launch them with a single click.

# Jump Lists – Right click on taskbar icons to open a jump list of items related to that program.

# When you drag an item into an Outlook email, it will automatically attach the file to the email.

# Using a projector is easy, just plug it in, use the keystroke "Windows+p" and you’re ready to go.

# You can move windows across multiple monitors without having to minimize or shrink the window first.

# In Windows 7 Ultimate and Professional editions, you can access Windows XP Mode.

# Windows 7 Search Builder allows clicking search fields to build a query without memorizing search syntax.

# Action Center is a single location for collecting important security and maintenance notifications.

# Get one-click access to available networks, whether they are based on Wi-Fi, mobile broadband, or a VPN.

# With improved Windows Search, just typing a few letters shows relevant results from files and folders.

# The new Windows 7 calculator offers two new options – programmer and statistics.

# Backing up data on Windows 7 is easy, especially with "Recommended," and "Let Me Choose" options.

# Windows Media Center in Win 7 plays more A/V formats, including 3GP, AAC, DivX, MOV, XVID, and more.

# Create keyboard shortcuts for any program by selecting the shortcut tab and setting a Shortcut Key.

# Pin frequently used folders to the taskbar. They show up in the Jump List when you right click Explorer.

# ALT+TAB enables you to dynamically bring windows to the top of the list for a full preview.

# De-clutter screens- Hit Win+Home to minimize all inactive windows, while active one stays put.

# To customize a desktop slide show, choose Personalize>Desktop Background. CTRL-click photos to choose.

# Desktop covered with windows? Hit Win+Space & Aero Peek shows just your desktop icons & gadgets.