Home

in

Thanks to my readers for their support and interest!

Latest Scoops

2

Good UI Design: Make It Easy, Show Me You Care

http://www.readwriteweb.com

This post explores new trends that seem to be in use these days about web usability.

Read more »
By administrator Created 5 weeks 3 days ago – Made popular 5 weeks 2 days ago
Category: Web   Tags: ()
2

How to ruin your website in 10 easy steps

http://dustinbrewer.com

A lot of people give suggestions on how to improve your website or blog. Whether it is via SEO or design suggestions. Not many tell you what is going to destroy your website. I may be a little extreme but there are several pet peeves (as do many in the web design world) have that can truly turn your site from great to lame. There may be a couple of these that are straight forward but when dealing with clients it can become very obvious that some of their ideas on how a website should function are modeled after MySpace and the ilk.

Read more »
By administrator Created 7 weeks 5 days ago – Made popular 5 weeks 2 days ago
Category: Design & Tuning   Tags: ()
2

SearchStatus: A Search Extension for Firefox and Mozilla

http://www.quirk.biz

For every site you visit using, SearchStatus lets you view its Google PageRank, Google Category, Alexa popularity ranking, Compete.com ranking, Alexa incoming links, Alexa related links and backward links from Google, Yahoo!

Read more »
By administrator Created 8 weeks 1 day ago – Made popular 5 weeks 2 days ago
Category: Misc   Tags: ()
2

Run Windows in Linux

http://lifehacker.com

Yes you heard it right , I meant windows on linux and not the opposite with sharing the filesystem. Found this interesting article on lifehacker.com. Give it a try

Read more »
By administrator Created 8 weeks 2 days ago – Made popular 5 weeks 2 days ago
Category: Software   Tags: ()
2

Grade Your Website

http://www.websitegrader.com

Website Grader is a free seo tool that measures the marketing effectiveness of a website. It provides a score that incorporates things like website traffic, SEO, social popularity and other technical factors. It also provides some basic advice on how the website can be improved from a marketing perspective.

Read more »
By administrator Created 8 weeks 3 days ago – Made popular 5 weeks 2 days ago
Category: OffBeat   Tags: ()

Latest Posts

How to get the Temp Directory Path in Java?

Java LogoThe path to the temp directory in Java can be retreived via the sytem property as mentioned below:

System.getProperty("java.io.tmpdir");

Find the Calling Class

Here is a simple snippet to find out the calling Java Class.

Class.forName(new Throwable().getStackTrace()[2].getClassName()));

Compute size of Mysql database with it's tables

Basically a database is a collection of tables.
So the size of the database is sum total of size of its individual tables.
Size of the table = Size of its Data + Size of its Indexes.
Size of database = Sum of {Individual Table Size}
The following snippet uses that above logic to compute the overall size of the database by computing the size of its individual tables.

How to list all the sequence in schema with size?

All the oracle sequences are stored in a table called "dba_sequences".

The following query selects the min, max ,current value along with the length current value and orders it by the length in desc.

select SEQUENCE_NAME,MIN_VALUE,MAX_value,LAST_NUMBER,length(LAST_NUMBER)

from dba_sequences

How to do view all the triggers in a schema?

Yes, you can view triggers using the INFORMATION_SCHEMA.TRIGGERS table. The following sql list all the triggers in a given schema.

select

SEQUENCE_NAME,MIN_VALUE,MAX_value,LAST_NUMBER,length(LAST_NUMBER)

from dba_sequences

where SEQUENCE_OWNER='schema owner'

order by length(LAST_NUMBER) desc

How to view all Stored Procedures in a schema?

The following sql list the name of all the routines in a given database.

SELECT ROUTINE_NAME

FROM INFORMATION_SCHEMA.ROUTINES

WHERE ROUTINE_TYPE="PROCEDURE" AND ROUTINE_SCHEMA="dbname";

How to convert ISAM table to MYISAM?

The table types have changed from ISAM to MYISAM from Mysql version 4.x to 5.x.

In order to convert a table from ISAM to MyISAM, simply issue a statement like

ALTER TABLE tblname ENGINE=MYISAM.

How do I import a MySQL dumpfile into my database?

Data can be dumped into the database using the following command. mysql -p -h DBSERVER dbname < dbname.sql

 

Back to top