Dec 2007

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.

Recursively Convert Gif Images To Jpg

Converting images from gif to jpg for web or other reason can be done easily using the ImageIO package. The following snippet convert all the gif images in directory rootDir to jpg images.Compile this class and execute using java command line. This utility class is also available as part of the Livrona Tools Project.The following is the code for the Image Converter.

 

What is a Web Application?

This video gives a very basic introduction as how Web Application works. It provides a simple overview of the various components involved in a MVC(Model View Controller) architecture. Finally it shows how this concept applies to application development via Ruby on Rails.

Eclipse Java Project for Beginners

A very simple tutorial that walks through the process of creating a Java Project using the Eclipse IDE. It also gives overview about writing a java class along with simple and helpful tip for beginners.

How to debug Java programs using the Debugger in Eclispe?

This is very simple tutorial about how to use built in Eclipse Debugger for Java Programs.

SSL made easier for Testing By Dummy SSL

Introduction
JDK 1.4.2 and above JSSE allows to plugin the implementation of the ssl security provider.
Sometimes its difficult to get the ssl/jsse working correctly due to a number of reasons.
Specially in testing applications, where the url's are accessible via ssl , parts or all of the the ssl implementation/provider can be swapped sith a custom
if the server certificate is a self signed cert, not valid or not a trusted cert.

Clash of the Technology Titans - A Recap

Introduction

Interestingly enough this power clash has been going on for more than a year now. Even though nothing concrete has come up from it. Even with the latest news about Yahoo and Ebay working together in Japan does not change a thing. EBay withdrew from Japan in 2002 after only two years of operation.Could not compete with well established site Yahoo Japan and Rakuten.

Ruby Cheat Sheet Part 1 v1.0

Ruby Cheat Sheet Part 1.

Version 1.0

 

Ruby Mini Guide v1.0

Mini Guide v1.0 for Ruby Language. It based on ruby 1.8.4.

Clean up Rail Sessions

By default rails does not clear out stale sessions from the session store. Depending on the configuration session can be stored in the local file system or the database.

Syndicate content

Back to top