By: mendesdomnic

October 18, 2010 11:00 am

2,631 views

Multiple Jquery versions in your Web Application

As any software Jquery has evolved and has various releases available. You may have used Jquery plugins available for a feature required in your web application. There can be a scenario where you need to use plugins which are supported by different jquery versions. This tip explains how to go about using multiple versions of […]

Read More



By: mendesdomnic

February 16, 2010 10:00 am

34,145 views

Clone or Backup your Hard Disk

Sometimes you may want to clone your entire hard disk quickly. You may need an exact replica of your hard disk. This can be done using the following command as root user: dd if=/dev/sda of=/dev/sdb Note: if=/dev/sda is the source hard disk of=/dev/sdb is the destination hard disk Wasn't that quick enough :). Do be […]

Read More



By: mendesdomnic

September 16, 2009 3:50 pm

36,957 views

Enable Designer in PHPMyAdmin

Here's how you can enable Designer in PHPMyAdmin and save the DB design in PDF format. Checkout the tool and its ability to create relation between tables using a click and drag environment Assuming that phpmyadmin is installed on your System. Configuration Change Open the file libraries/config.default.php. Change the following lines: $cfg['Servers'][$i]['pmadb'] = […]

Read More



By: mendesdomnic

September 3, 2009 3:58 pm

11,766 views

How to check if Javascript is enabled on the client side using php

You might be using validations for your form on client side using Javascript. It may arise that client side Javascript is disabled, given this scenario your validations will go for a toss. You can check in your php if Javascript is enabled on client side using the following method. Add a hidden input in your […]

Read More



By: mendesdomnic

July 30, 2009 3:05 pm

23,943 views

Check MySQL Database Size Using SQL Query

Don't have access to the command prompt? Here's how you can find the database size in MySQL. Become a power MySQL user without access to the power of command line. Execute the following SQL Queries as per your need: Get Size of all database tables SELECT TABLE_SCHEMA AS 'Database', TABLE_NAME AS 'Table', CONCAT(ROUND(((DATA_LENGTH + INDEX_LENGTH […]

Read More



By: mendesdomnic

July 21, 2009 9:59 am

6,267 views

Vi Editor Tips

Vi Editor Tips To open multiple files on a window   Horizontal split   vi -o file-one file-two   Vertical split   vi -O file-one file-two Switch between the panes you are using. CTRL + W + Left key to activate left windows CTRL + W + Right key to activate […]

Read More



By: mendesdomnic

May 27, 2009 4:11 pm

12,746 views

Recovering deleted files using PhotoRec

PhotoRec is a free open source multi-platform application. It is file data recovery software designed to recover lost files from Media Disks. PhotoRec ignores the file system and goes after the underlying data, so it will still work even if your media's file system has been severely damaged or re-formatted. It supports nearly 180 file […]

Read More



By: mendesdomnic

April 29, 2009 3:23 am

1,502 views

MySQL Tips

Search fields containing string of given length Let's say you have a products table with following structure: Table Name: Product Field Type id int(11) product_code varchar(100) brand_id int(11) price decimal(10,4) tax_type_id int(11) quantity int(11) weight decimal(10,3) cube decimal(10,3) has_options tinyint(4) is_active tinyint(4) is_featured tinyint(4) is_deleted tinyint(4) created_at datetime updated_at datetime Now you […]

Read More



By: mendesdomnic

April 24, 2009 8:00 am

7,921 views

Access Linux Files from Windows

If you have Linux and Windows installed i.e you dual-boot on your pc you might have experienced that it is no problem to read Windows files and access Windows partitions in Linux, but that it is indeed a problem to access Linux files, hard drives and partitions in Windows. Below are a few tools […]

Read More



By: mendesdomnic

March 18, 2009 10:00 am

3,633 views

Package Management Quick Reference

Package management is probably the most distinctive feature of any Linux distribution. SUSE allows users to manage software using various methods. By default we have zypper, in addition we also have smart and pkcon. Below is list of common tasks and corresponding commands used to manage a package. Quick Command Reference Task zypper command smart […]

Read More