Nov
21
Prototype Prevent Default
November 21, 2008 | Leave a Comment
If you use Prototype JavaScript Framework’s event handling and try to use return false; to prevent default, it won’t work. The reason is that under Prototype, the return false no longer works, to make prevent default work, you must use Prototype build-in method: Event.stop. For instance:
Event.observe(link, 'click', dosomething, false);
function popup(e) {
//do popup
Event.stop(e);
}
Nov
20
Create Read View Edit Excel File on Ubuntu
November 20, 2008 | Leave a Comment
If you are an experienced Windows user, and wondering whether it’s possible to create, read, use and edit Microsoft Office Excel file on Ubuntu. The answer is that it’s not only possible but also free on Ubuntu.
It you want to create a new Excel Spreadsheet, from the top of your desktop menu bar, go to Applications->Office->OpenOffice.org Spreadsheet
Once click on it, the application looks like the one in the screenshot below should appear:
There you go! It works almost the same way MS Excel works!
Nov
19
MySQL Default Schema
November 19, 2008 | Leave a Comment
If you use MySQL Query Browser, when you launch the application, there is one field asks for Default Schema, to those who are wondering what the heck Default Schema is, it is actually just the default database you want to select once connect to the server.
So you can enter any existing database name at your server as the Default Schema, and it’s not a big deal if you choose to leave it blank, you can always select the database at anytime after you connect to the server.
Hope this helps! :)
Nov
19
Check RAM Usage on Ubuntu
November 19, 2008 | Leave a Comment
If you are a Ubuntu user and want to check RAM Memory Usage on Ubuntu, it’s very easy to do so. First, from the top navigation bar menu of your desktop, go to System->System Monitor
A window will launch, click on the third tab - Resources. Now here you are:
You should be able to see the Memory Usage now!
























