Archive for June, 2008
How to edit /etc/fstab when at Fedora “Repair filesystem” prompt?
I faced this situation yesterday when I was working on Fedora Core 6 distribution and was setting up a DRBD cluster for Mysql replication. I created a separate partition while installing the operating system and mounted it on ‘/data’. Fedora installation does not let you go without specifying the mount point while creating partitions as [...]
Check caps lock – javascript
Code below checks if Caps lock key is on and gives an alert while typing in some text or password field. see example below: function checkCapsLock( e ) { var keyCode=0; var shiftKey=false; var msg=’Gotcha!! Caps Lock is On.\nTo prevent entering your password incorrectly,\nyou should press Caps Lock to turn it off.’; // Internet [...]
Open Office Training – Google engEDU Tech Talk Channel
As quoted by www.openoffice.org : OpenOffice.org 2 is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. It is available in many languages and works on all common computers. It stores all your data in an international open standard format and can also read and write files from other [...]
Oracle – Removing Partitioning from Tables Without Deleting Data
For one of my projects, we wanted to perform some tests and had to remove list partitiong (without deleting data) from the existing tables. From what I could gather, although there are commands to Drop partitions, they drop all the data in the partition as well. There is no direct command or approach to remove [...]
Disable fields and buttons on submit
A useful tip but mostly ignored and can create problems while using Ajax based websites mainly. This can cause more problem in Ajax based web applications because generally page does not refresh and request/response is done using background XMLHTTPRequest. During the request/response time fields and buttons on the form should not be accessible by user [...]
