<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6179623992830722440</id><updated>2012-02-16T17:55:13.707-08:00</updated><category term='ORACLE 32-bit 64-bit'/><category term='LF'/><category term='ORACLE- imp and exp'/><category term='cache'/><category term='bin'/><category term='WAMP services'/><category term='ram'/><category term='copy files'/><category term='oracle pl/sql date'/><category term='Drupal installation'/><category term='DRDA Oracle gateway OTG'/><category term='virtual memory'/><category term='base64'/><category term='listener.ora tnsnames.ora'/><category term='SMTP'/><category term='WAMP installation'/><category term='oracle SPOOL CSV'/><category term='8i'/><category term='Oracle High Water Mark'/><category term='SQL performance'/><category term='modules installation'/><category term='WAMP computer restart'/><category term='Android'/><category term='Android-DroidDraw'/><category term='static library'/><category term='object code'/><category term='dynamic library'/><category term='MIME'/><category term='Starting WAMP'/><category term='ORACLE PL/SQL developer path in preferences'/><category term='drupal theme'/><category term='table scan'/><category term='manik_glade_gtk_tutorials'/><category term='pathauto'/><category term='Oracle 11g'/><category term='modules'/><category term='WINSCP'/><category term='loading'/><category term='ORACLE Installation on LINUX'/><category term='PL/SQL wrap plb'/><category term='drupal dhtml menu'/><category term='CR'/><category term='Drupal themes'/><category term='oracle global temporary table'/><category term='ORACLE Tablespaces and datafiles'/><category term='Eclipse-Android'/><category term='ORACLE varchar2 char'/><category term='Android-widgets-code'/><category term='linking'/><category term='swap'/><category term='drupal'/><category term='index'/><category term='gtk_glade_manik_tutorials'/><category term='drupal pathauto'/><category term='pagefile'/><category term='binary mode'/><category term='execute immediate'/><title type='text'>Tutorials</title><subtitle type='html'>This blog has been made so that I can share whatever I know and whatever new I learn. Your suggestions and comments are always welcome @ manik019@yahoo.com ...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-5243983041741565804</id><published>2011-06-22T03:33:00.000-07:00</published><updated>2011-06-22T03:49:23.821-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='object code'/><category scheme='http://www.blogger.com/atom/ns#' term='loading'/><category scheme='http://www.blogger.com/atom/ns#' term='static library'/><category scheme='http://www.blogger.com/atom/ns#' term='linking'/><category scheme='http://www.blogger.com/atom/ns#' term='dynamic library'/><title type='text'>Static v/s Dynamic Library</title><content type='html'>&lt;span class="Apple-style-span" &gt;What is a static library?&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;First of all, a library is a set of functions complied into an object code that is used by applications. When we compile a program that uses a static library, the entire object code gets included in the executable code thus increasing the size of executable. Lets say, the library is altered. Now in this case, you need to recompile the library and recompile your application. The other disadvantage is that if there are several applications running that use the static library, then it leads to wastage of space as the library is included in all the executables. Static libraries are also called as archives(.a extension). Try exploring the makefile, it will have loads of .a libraries in the dependency list.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;Dynamic Library:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" &gt;It consists of routines or functions that are loaded at runtime if a reference exists. In this case, instead of including the entire object code, we include a reference to the library and define the rules on how to find this reference(basically tell the linker where to locate the library for eg, /usr/lib). You can keep it anywhere but just mention the path in the linker search path. They have the advantage that if your library gets changes, the application using the library need not be compiled, it just keeps running. If more than one application using this dynamic library is running, then only a single copy is loaded into the memory which is used by all the applications. These have ".so" extension.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-5243983041741565804?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/5243983041741565804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2011/06/static-vs-dynamic-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5243983041741565804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5243983041741565804'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2011/06/static-vs-dynamic-library.html' title='Static v/s Dynamic Library'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-2232425289180599950</id><published>2010-03-16T08:21:00.000-07:00</published><updated>2010-03-16T08:36:59.357-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ram'/><category scheme='http://www.blogger.com/atom/ns#' term='cache'/><category scheme='http://www.blogger.com/atom/ns#' term='swap'/><category scheme='http://www.blogger.com/atom/ns#' term='virtual memory'/><category scheme='http://www.blogger.com/atom/ns#' term='pagefile'/><title type='text'>Virtual Memory</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Hi again. In this post Im gonna discuss about virtual memory.Yes... youll find loads of material on virtual memory on the web.For all those preparing for interviews, its a sure shot question.  Its kinda interviewers favorite question... So lets hit it....&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Virtual Memory:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;When we open some applications on our computer like an internet browser,mp3 player,text editors etc all at the same time, the pages of these applications are brought into RAM by computer. Now lets say, there is only 64MB of RAM in your computer and lets forget the concept of virtual memory. If there was no thing called virtual memory then this would mean that when your applications occupied 64MB in your RAM, then your computer would stop obeying your orders of opening new applications. Wont that be unfair to you, u spent lotsa money on that box and it defies you....&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here comes the role of virtual memory.....&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This concept is based on the fact that when you run an application, not all the pages of the application are needed at once and also that about 10-20% of the pages are required to keep the application running...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Virtual memory lets you to bring the pages required at a particular instant into RAM and swap out those which are not being used.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;These swapped out pages are kept on the hard disk. In linux, we have the swap filesystem whereas in windows we have pagefile.sys for this purpose.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The user is unaware of this whole mechanism and gets an illusion that there is indefinite amount of RAM at his disposal for him to open several applicatoins.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Let me also discuss now how the various memories are organized.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CACHE-------RAM------VIRTUAL MEMORY | HARD DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;When a page is needed, the  CPU first checks the page in cache memory. If the page is not found in cache, then cpu looks up for it in RAM. If found in RAM, the CPU keeps a copy of the page in cache so that, it is available for next demand from the cache itself.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If the page is neither found in RAM nor in the Cache, then the page is loaded from the virtual memory, which resides on the hard disk, into the RAM&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-2232425289180599950?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/2232425289180599950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2010/03/virtual-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2232425289180599950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2232425289180599950'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2010/03/virtual-memory.html' title='Virtual Memory'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-7951280435970388780</id><published>2010-03-10T07:30:00.000-08:00</published><updated>2010-03-10T07:54:29.777-08:00</updated><title type='text'>Linux - .profile file</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Hey, ur all back...once again !!!&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ive been working on Linux for quite long, but with lot of discontinuities. But this time, while working I thought of learning about .profile and writing one for myself.. Better late than never suits me, isn't it... Ok, enuf talking...Lets get on, like always with BASICS!!!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;What is .profile ?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This file is the first file which gets executed when you login to a shell. It has some initializations, aliases, exports etc to make you go easy while working on command line. It is present in the user's home directory and its a hidden file as it begins with a dot(.). So use ls -a.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;What do we usually put in .profile ?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Lets say you have a directory /home/mydir/mydir1/ with a lot of files. Now every time you want to do some file manipulation, you obviously wouldn't want to enter the whole path again and again.So we can create an alias and put it in .profile.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;alias myd= cd /home/mydir/mydir1/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Functions: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;You can also create functions with arguments to simplify ur task. Lets write a function for displaying your file (using cat)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;show ()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;cat /home/mydir/mydir1/$1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now if you write "show abc" from any folder, the file content will be viewed.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;set -o vi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This is another command that I always put in my .profile. It enables us to use history.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;You can do this by pressing Esc key and then using "k" and "j" to move backward and forward in history. Its useful, believe me...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;set -o noclobber&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This is again a useful command. It helps us from accidently over writing an existing file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Lets say you have a file abc.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now if you write ls -l &gt; abc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;You will get an error saying that abc cannot be overwritten.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;export HISTSIZE=100&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:monospace;"&gt;&lt;span class="Apple-style-span" style="white-space: pre; -webkit-border-horizontal-spacing: 8px; -webkit-border-vertical-spacing: 8px; "&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This enables 100 commands to be kept in history.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;These are some of things that you can do.You can write if statements and write any kind of shell scripting that you wanna perform at login...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-7951280435970388780?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/7951280435970388780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2010/03/linux-profile-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7951280435970388780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7951280435970388780'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2010/03/linux-profile-file.html' title='Linux - .profile file'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8989872063235988386</id><published>2010-03-06T08:54:00.000-08:00</published><updated>2010-03-06T09:12:04.940-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='copy files'/><category scheme='http://www.blogger.com/atom/ns#' term='CR'/><category scheme='http://www.blogger.com/atom/ns#' term='WINSCP'/><category scheme='http://www.blogger.com/atom/ns#' term='bin'/><category scheme='http://www.blogger.com/atom/ns#' term='binary mode'/><category scheme='http://www.blogger.com/atom/ns#' term='LF'/><title type='text'>Copying files in binary mode</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Long time guys.... Yes, m really writing after a long time..i guess after 2 months...&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;There hasn't been learning on my side on the technical front, but a lot on the domain side..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Copying files :&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Many of us would be using tools like winscp, which uses SSH for transferring files between Linux and Windows..even I use it... SSH basically does encryption and decryption before sending and receiving data respectively.It does so for secure transmission.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now when you copy files between Windows and Linux, you should preferably use bin or binary mode.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now comes a big "WHY" ???&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I prefer it because in "text" mode, WINSCP does some conversion between end of line characters (Windows uses CR+LF(\r\n) as EOL whereas Linux uses LF(\n))&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CR and LF represents bytes used to denote EOL.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Enter key generates LF.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;CR is denoted by \r.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So to avoid this conversion, its better to use bin mode when you copy dumps or some other type of files which dont deal with just characters.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ill now come up wid details on these in my next post... Thanks...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8989872063235988386?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8989872063235988386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2010/03/copying-files-in-binary-mode.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8989872063235988386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8989872063235988386'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2010/03/copying-files-in-binary-mode.html' title='Copying files in binary mode'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-2960182669795302777</id><published>2010-01-09T09:16:00.001-08:00</published><updated>2010-01-09T09:36:38.307-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='base64'/><category scheme='http://www.blogger.com/atom/ns#' term='SMTP'/><category scheme='http://www.blogger.com/atom/ns#' term='MIME'/><title type='text'>SMTP and MIME</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Hi,&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Im writing after a long time.Y? Its just because i didn't learn anything new or found anything interesting to write. So , today while browsing I can across an interesting topic..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;People studying engineering would know what is SMTP. But, few people know about MIME.As a student, I only knew MIME had something related to email header. So here we go.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SMTP or Simple Mail Transfer Protocol is used to send emails.These emails contain plain text and nothing else( It is because when SMTP was formulated in 1982, it had support only for US-ASCII characters).Now, when we send an email, we know that MIME adds a header to email, divides email into parts and does other technical stuff. But what if your email contains a binary file attachment? How will SMTP send the email since it contains binary information????&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now this is resolved by MIME. MIME( Multipurpose Internet Mail Extension) uses an algorithm "Base64" which does this encoding. This algorithm encodes the information, whether image,media or whatever into a form which can be understood by decoding at the recipient's end.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-2960182669795302777?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/2960182669795302777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2010/01/smtp-and-mime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2960182669795302777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2960182669795302777'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2010/01/smtp-and-mime.html' title='SMTP and MIME'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4559537604281401714</id><published>2009-09-19T09:34:00.000-07:00</published><updated>2009-11-01T01:05:52.148-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><category scheme='http://www.blogger.com/atom/ns#' term='pathauto'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal pathauto'/><title type='text'>Drupal - Pathauto Module</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Hmm.. so u ppl are back... thank god u are :) , now I have some visits...&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Without wasting any time, lets start..This time, vll learn pathauto module..So as always, lets begin by asking "WHY"....&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Why are we learning this module?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;You might have noticed, when you create a page or a story, it is allocated a URL automatically which by default is node/1 or node/2 and so on.. When your website is live, u obvioulsy wouldn't want to have such un-meaningful URLs. It looks more meaningful, if the URLs contain the type of information that the page displays.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;So it time to add some meaning to our URLs..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Here we go now ...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 19px;font-family:Verdana,sans-serif;font-size:13px;"  &gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;1. So as described in my previous posts, u need to download this DHTML module( just goto drupal.org, click on modules do a search with DHTML menu), unzip it and save it in C:\wamp\www\drupal\sites\all\modules.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;2. Make sure that you download the correct version.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;3. Once you have downloaded it, start the WAMP server and go to http://localhost/drupal .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;4. Now login into your account.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;5. Goto Administer- Site Building - Module.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;6. Click on URL aliases under Path heading.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;7. Click on Add Alias.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;8. On Existing Alias path, give the automatically generated path( node/1 ..)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;9. On Path Alias, give a meaningful name to be associated with a particular page.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;10. Click on Create new Alias and BINGO... there u go..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Thats it for now, keep giving some meaningful names to your pages or polls or wtever... I'll be back with some other important modules...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Happy naming :)....&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4559537604281401714?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4559537604281401714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-pathauto-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4559537604281401714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4559537604281401714'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-pathauto-module.html' title='Drupal - Pathauto Module'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-1155226981291245911</id><published>2009-09-16T23:37:00.000-07:00</published><updated>2009-09-16T23:53:25.119-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal dhtml menu'/><title type='text'>Drupal - DHTML Menu Module</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;This is the simplest module that ive come across during my course fo learning Drupal. &lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Why are we learning this module?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Thats the first question I believe you shud ask yourself...In case uve not asked yourselves :) , lemme answer it since I raised it at the first place.. :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Oh k.. If youve explored or played with drupal, you would have noticed that when you click on the parent menu, a new page opens.This increases the number of pages t be opened and makes the user wait. By using DHTML Menu, the sub menu opens up below the parent item and without opening or refreshing the current page.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here we go, as always :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1. So as described in my previous posts, u need to download this DHTML module( just goto drupal.org, click on modules do a search with DHTML menu), unzip it and save it in C:\wamp\www\drupal\sites\all\modules.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2. Make sure that you download the correct version.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3. Once you have downloaded it, start the WAMP server and go to http://localhost/drupal .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4. Now login into your account.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5. Goto Administer- Site Building - Module.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;6. Check DHTML Menu and click on save configuration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;7. Now again goto Administer- Site Configuration(Click on By Module on the top) - DHTML Menu.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;8. Now you can check animate sliding effect and decide which menu you want to have DHTML effect.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;9. Now keep playing with the options that you see and try to get the effect which suits your needs.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Ill come up with more modules in my next post...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-1155226981291245911?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/1155226981291245911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-dhtml-menu-module.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1155226981291245911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1155226981291245911'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-dhtml-menu-module.html' title='Drupal - DHTML Menu Module'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-1368745681510959466</id><published>2009-09-15T00:24:00.000-07:00</published><updated>2009-09-15T00:40:38.558-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal themes'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><title type='text'>Drupal Themes - Configuration</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Oh k.. So now we know hot to install and enable themes and modules..&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Lets start with the configuration of themes... Before I move ahead, let me tell you that drupal is more like a game.. By this I dont mean that its a child's play, its a kinda thing that the more you explore and play with it, the more you learn....&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Let me explain some of the things realted to theme settings.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So lets hit it...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1.Goto Administer-Site Building-Themes.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2.Click on the configure link on the theme that is checked.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ill discuss now some common things that everybody wants on their page.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Page Elements:These are the elements like logo, site names, slogon... basically self explanatory.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If you dont want to use the default logo, you can upload any other image from your computer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Breadcrumbs: You would have often seen in websites the hierarchy of the page ie you move from home to careers to contact us etc.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: 13px; "&gt;So you can enable breadcrumbs to display your traversal like Home-Careers-Contact Us.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Woah.. m already feeling sleepy... explaining this stuff is boring.. it doesn't deserves and explanation.. I don't know why I wrote this post :) .. You can certainly skip it...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;In my next post,Ill explain more about modules.. Yes the commonly used modules which you would be asked in interviews i guess... So pay attention.. No sleeping next time.... Good nite... :)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-1368745681510959466?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/1368745681510959466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-themes-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1368745681510959466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1368745681510959466'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/drupal-themes-configuration.html' title='Drupal Themes - Configuration'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-493751905946484998</id><published>2009-09-14T22:08:00.000-07:00</published><updated>2009-09-14T22:16:10.487-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal theme'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><title type='text'>Installing Themes in Drupal</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana; color: rgb(51, 51, 51); font-size: 13px; line-height: 19px; "&gt;When we install drupal, there are a lot of themes that come with it. But there are a lot of themes freely available on drupal website. Download any of them in case you sont like the themes that come bundled with drupal.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"    style="font-family:Verdana;font-size:100%;color:#333333;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;So, lets get started...&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"    style="font-family:Verdana;font-size:100%;color:#333333;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"    style="font-family:Verdana;font-size:100%;color:#333333;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 19px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;1.Goto drupal.org and download the theme of your choice which comes as a tar.gz file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;2. Unzip the file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;3. Create a folder called &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;themes &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;in C:\wamp\www\drupal\sites\all\&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;4. Thats it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;5. Now on your drupal menu, goto Administer- Site Buliding.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;6. Scroll down the page to see whether your theme name appears or not.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small; "&gt;7. Check the box to use the theme.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In my next pos, Ill discuss about the configuration of themes according to your style...&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-493751905946484998?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/493751905946484998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/installing-themes-in-drupal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/493751905946484998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/493751905946484998'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/installing-themes-in-drupal.html' title='Installing Themes in Drupal'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8252918269062460597</id><published>2009-09-14T10:01:00.000-07:00</published><updated>2009-09-14T10:10:19.823-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modules installation'/><category scheme='http://www.blogger.com/atom/ns#' term='modules'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><title type='text'>Installing Modules in Drupal</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;In my previous posts, Ive explained about the installation and configuration of Drupal and WAMP.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now, lets hit it...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;When we install drupal, there are a lot of modules that come with it. But to use the complete power of drupal, we must use the freely available modules on drupal.org.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Here we go...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1.Goto drupal.org and download the module of your choice which comes as a tar.gz file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2.Unzip the file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3. Create a folder called &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;modules &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;in C:\wamp\www\drupal\sites\all\&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4. Thats it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5. Now on your drupal menu, goto Administer- Site Buliding.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;6. Scroll down the page to see whether your module name appears or not.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;7. Check the box to enable the module.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;In my next post Ill write about the installation of themes.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8252918269062460597?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8252918269062460597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/installing-modules-in-drupal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8252918269062460597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8252918269062460597'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/installing-modules-in-drupal.html' title='Installing Modules in Drupal'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8125184268264949166</id><published>2009-09-07T19:25:00.000-07:00</published><updated>2009-09-07T19:38:09.268-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAMP computer restart'/><category scheme='http://www.blogger.com/atom/ns#' term='WAMP services'/><category scheme='http://www.blogger.com/atom/ns#' term='Starting WAMP'/><title type='text'>Starting WAMP</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;In this post, Im gonna discuss about the WAMP issue which I faced when I got my hands on it. In the previous posts, Ive described the WAMP and drupal installation, configuration etc.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;But after doing all this, when i restarted my computer and double clicked on WAMP, I wasn't able to open the http://localhost/drupal. I checked out services.msc, and I was amazed that inspite of double clicking on WAMP, there was no entry for wampmysqld and wampapache. WTF ...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So I re-installed everything and faced the same problem again on restarting my computer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I decided to google it and found that WAMP has come issues with Skype , but I had no skype on my computer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So, I disabled all the firewalls and anti virus on my system, started computer in safe mode with networking, checked ports and what not... Huff... I got tired of searching so I thot of trying it my way...And I did it finally......&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So here it goes:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;Starting WAMP&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1. Double click on wamp. You'll see and icon for WAMP where the time appears on Win XP.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2.Click on the WAMP icon.Goto APACHE- Services- Install Service. A command window opens up, hit enter and it'll be gone.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3.Click on the WAMP icon.Goto MySQL-Service-Install Service.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4. Now goto APACHE- Services-Start/Resume Service.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5. Now goto MySQL- Services-Start/Resume Service.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;BINGO !!! Its done now.. Now everythings gonna work. You can check services.msc and ull see wampmysqld and wampapache...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The steps look damn easy but they blow the mind of someone jus starting wid it...&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8125184268264949166?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8125184268264949166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/starting-wamp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8125184268264949166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8125184268264949166'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/starting-wamp.html' title='Starting WAMP'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-2908006029237318775</id><published>2009-09-07T06:14:00.000-07:00</published><updated>2009-09-07T06:25:54.281-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal installation'/><category scheme='http://www.blogger.com/atom/ns#' term='WAMP installation'/><title type='text'>WAMP and Drupal - Installation</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Now lets start with the WAMP installation.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Installing WAMP is a child's play. Just do a couple of nexts in the installation wizard and ure on.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;Setting up drupal&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1. After you download drupal form drupal.org, unzip the file and rename the folder as drupal. After this, paste this folder in C:\wamp\www. ( Assuming your WAMP resides in C:\)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;2.Now go to C:\wamp\www\drupal\sites\default and rename the file default.settings.php as settings.php.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;3. Now start your wamp by double clicking. The WAMP icon appears at the place where you see the time on Windows XP.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;4. Click on WAMP and click on phpMyAdmin. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;5. Now on http://localhost/phpmyadmin/ page in your browser, give a database name and click on create.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;6. Now type http://localhost/ on the address bar of your browser and just so a couple of next. After performing all the steps, you have drupal installed on your computer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Ill write more about using drupal in my next post.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-2908006029237318775?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/2908006029237318775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/wamp-and-drupal-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2908006029237318775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2908006029237318775'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/wamp-and-drupal-installation.html' title='WAMP and Drupal - Installation'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-7355780380223289260</id><published>2009-09-07T05:59:00.000-07:00</published><updated>2009-09-07T06:11:09.102-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><title type='text'>Introduction to Drupal</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ok guyz... Its been long since Ive written ( or shud I say its been long since Ive learnt somthing) on my blog. So, as they say, Im back with a bang and this time...Its DRUPAL...I recently got a chance to learn it (thanks to my friends) so thot i shud share it...&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;What is Drupal ?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Well, drupal is an open source CMS ( Content Management System). This means that using Drupal, we can build and manage websites in no time. Just download Drupal and use the freely available modules available on drupal.org. No need to learn HTML,DHTML and to scratch your head on css.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;b&gt;How to start?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Ok, to start with, we need to download WAMP (Windows, Apache, MySQL and PHP).All these four things come bundled in WAMP. So visit &lt;/span&gt;&lt;a href="http://www.brothersoft.com/wampserver-70590.html"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;http://www.brothersoft.com/wampserver-70590.html&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; and download WAMP 2.0 h.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Next, you need to download Drupal ver 6.x from http://www.drupal.org .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;In my next post, Ill teach u how to install these. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-7355780380223289260?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/7355780380223289260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/09/introduction-to-drupal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7355780380223289260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7355780380223289260'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/09/introduction-to-drupal.html' title='Introduction to Drupal'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-3864436201818707384</id><published>2009-07-04T01:41:00.000-07:00</published><updated>2009-07-04T01:50:29.949-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='table scan'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL performance'/><category scheme='http://www.blogger.com/atom/ns#' term='index'/><title type='text'>SELECT COUNT(*) v/s SELECT COUNT(1) - FASTER??</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;I was writing a PL/SQL code one day using select count(*) from Table_name when somebody told me that select count(1) is better and faster. Although, he couldn't tell me the reason but he gave me a fact. So i jumped upon to search the reason.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Select count(*) uses a TABLE SCAN ie all the rows are looked upon one by one based on your WHERE CLAUSE whereas select count(1) uses an INDEX SCAN which has better performance as the scan is based on indexes.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;TABLE scan is faster if the table is small.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-3864436201818707384?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/3864436201818707384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/07/select-count-vs-select-count1-faster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/3864436201818707384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/3864436201818707384'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/07/select-count-vs-select-count1-faster.html' title='SELECT COUNT(*) v/s SELECT COUNT(1) - FASTER??'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8611831528389908378</id><published>2009-06-27T01:05:00.000-07:00</published><updated>2009-06-27T01:06:20.717-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE PL/SQL developer path in preferences'/><title type='text'>PL/SQL Developer- Setting Path in Preferences</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;What is PL/SQL Developer?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Well, PL/SQL developer is like an IDE for ORACLE. You can connect PL/SQL Developer to ORACLE database and then create and compile procedures and function, create users, views,tables and much more that you do with ORACLE.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Setting the path&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;When you use it for the first time, you need to set the path in the Preferences. Set the following paths:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Oracle Home: This path contains the path of your database:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;For example - C:\oracle\product\10.2.0\db_1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;OCI Library: This contains the path of the file oci.dll in the BIN directory.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;C:\oracle\product\10.2.0\db_1\BIN\oci.dll&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Reopen PL/SQL developer so that the changes take place effectively.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Thats it, happy developing !!!&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8611831528389908378?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8611831528389908378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/06/plsql-developer-setting-path-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8611831528389908378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8611831528389908378'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/06/plsql-developer-setting-path-in.html' title='PL/SQL Developer- Setting Path in Preferences'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8422838067831318380</id><published>2009-06-26T09:41:00.000-07:00</published><updated>2009-06-26T11:10:49.611-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE Tablespaces and datafiles'/><title type='text'>ORACLE- Tablespaces and datafiles</title><content type='html'>&lt;b:include data='blog' name='all-head-content'/&gt;&lt;br /&gt;&lt;meta content='ORACLE- Tablespaces and datafiles explanation and small tutorial' name='description'/&gt;&lt;br /&gt;&lt;meta content='ORACLE- Tablespaces and datafiles' name='keywords'/&gt;&lt;br /&gt;&lt;meta content='Manik Sidana' name='author'/&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Tablespaces:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;It is a unit of storage where ur database is kept. There may be one or more tablespaces depending on the size of ur database.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Datafiles:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Each tablespace comprises of one or more datafiles.To increase tablespace, you need to add datafiles to the tablespace.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Types of tablespaces:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;---- &lt;b&gt;SYSTEM&lt;/b&gt; tablespace contains the data dictionary.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;----&lt;b&gt;USERS&lt;/b&gt; tablespace is used to store user data(table, indexes etc)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;----The &lt;b&gt;SYSAUX&lt;/b&gt; tablespace provides a single location for all non-essential database metadata. In the past the schema objects to support many database features were located in the SYSTEM tablespace. These have now been moved to the SYSAUX tablespace. As a result the SYSTEM tablespace is less cluttered and suffers less contention.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;----&lt;b&gt;TEMPORARY&lt;/b&gt; tablespaces are used to manage space for database sort operations and for storing global temporary tables. For example, if you join two large tables, and Oracle cannot do the sort in memory space will be allocated in a temporary tablespace for doing the sort operation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;----&lt;b&gt;UNDO&lt;/b&gt; tablespaces are special tablespaces used solely for storing undo information. You cannot create any other segment types (for example, tables or indexes) in undo tablespaces.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8422838067831318380?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8422838067831318380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-tablespaces-and-datafiles.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8422838067831318380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8422838067831318380'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-tablespaces-and-datafiles.html' title='ORACLE- Tablespaces and datafiles'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-3467906829126855717</id><published>2009-06-26T08:58:00.000-07:00</published><updated>2009-06-26T09:12:05.505-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE- imp and exp'/><title type='text'>ORACLE- Import and Export</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Lets say u have a huge database created in Machine A. Now you want a replica of the database in machine B at a different location.. What r u gonna do? Copy the SQL CREATE-INSERT statements, then execute these. What if u miss out on an insert statement??? &lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Well, to perform these tasks, ORACLE provides import and export commands.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;If you want to create a replica of ur database, create a dump(.dmp) using exp command&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;exp file=(location where dump is to be created)&lt;location&gt; Log=(location where log is to be created) owner=(user whose dump is being exported)&lt;/location&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Now to import this dump into a new user:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;imp file=(location where dump is kept) &lt;location&gt; fromuser=(user whose dump is being exported) touser=(user where dump is being imported)&lt;/location&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;There u go... The database gets created successfully.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-3467906829126855717?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/3467906829126855717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-import-and-export.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/3467906829126855717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/3467906829126855717'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-import-and-export.html' title='ORACLE- Import and Export'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8612404246937922776</id><published>2009-06-20T10:27:00.000-07:00</published><updated>2009-06-20T10:32:14.032-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE 32-bit 64-bit'/><title type='text'>Checking 32-bit/64-bit ORACLE</title><content type='html'>&lt;span class="Apple-style-span" style="font-size: small;"&gt;Have u ever installed 32-bit ORACLE on a 64-bit system by mistake nd u never realized it. Well, use this command to know whether 32 bit or 64 bit ORACLE is installed on ur system.&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SELECT DISTINCT ADDRESS FROM v$sql where rownum&lt;2;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;If the address is 16 characters long like 00000000345BA23E, uve got 64 bit oracle on ur system.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;But if the address is 8 characters long like 098765EA, then its 32 bit ORACLE.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8612404246937922776?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8612404246937922776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/06/checking-32-bit64-bit-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8612404246937922776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8612404246937922776'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/06/checking-32-bit64-bit-oracle.html' title='Checking 32-bit/64-bit ORACLE'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-951822693725029084</id><published>2009-06-16T08:37:00.000-07:00</published><updated>2009-06-16T08:59:00.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE Installation on LINUX'/><title type='text'>ORACLE Installation</title><content type='html'>&lt;span style="font-size:85%;"&gt;Have you ever tried to install ORACLE on Linux. Well, its a bit of struggle if you don't know the correct settings.Believe me, I had a hard time installing ORACLE for the first time on Linux. But I think, you guys shouldn't waste time. So, here we go:&lt;br /&gt;&lt;br /&gt;First of all you need to have the required packages and RPMs. You can find these easily from manual.&lt;br /&gt;After installing all the packages, begin with the following steps:&lt;br /&gt;&lt;br /&gt;Step 1: Add/Modify the following lines to /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;kernel.shmmni =4096&lt;br /&gt;kernel.sem=250 32000 100 128&lt;br /&gt;fs.file_max=65536&lt;br /&gt;net.ip_local_port_range= 1024 65000&lt;br /&gt;net.core.rmem_default=1048576&lt;br /&gt;net.core.rmem_max=1048576&lt;br /&gt;net.core.wmem_default=262144&lt;br /&gt;net.core.wmem_max=262144&lt;br /&gt;net.ipv4.tcp_wmem=262144 262144 262144&lt;br /&gt;net.ipv4.tcp_rmem=4194304 4194304 4194304&lt;br /&gt;&lt;br /&gt;Step 2: #sysctl -p&lt;br /&gt;So that changes take place effectively.&lt;br /&gt;&lt;br /&gt;Step 3: Create oracle user and groups&lt;br /&gt;#groupadd oinstall&lt;br /&gt;#groupadd dba&lt;br /&gt;#useradd -g oinstall -a dba &lt;span style="font-style: italic;"&gt;oracle&lt;/span&gt; -- This server as username.&lt;br /&gt;#passwd &lt;span style="font-style: italic;"&gt;&lt;password&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Step 4:&lt;span style="font-style: italic;"&gt; &lt;/span&gt;Create required directories&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;#mkdir -p /home/oracle&lt;span style="font-style: italic;"&gt;&lt;br /&gt;#&lt;/span&gt;chown -R oracle:oinstall /home/oracle&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;#chmod -R 755 /home/oracle&lt;br /&gt;&lt;br /&gt;Step 5: Add the following lines to /etc/security/limits.conf&lt;br /&gt;oracle soft nproc 2047&lt;br /&gt;oracle hard nproc 16348&lt;br /&gt;oracle soft nofile 1024&lt;br /&gt;oracle hard nofile 65536&lt;br /&gt;&lt;br /&gt;Step 6: Add the following lines to /etc/passwd/login&lt;br /&gt;session required pam_limits.so&lt;br /&gt;&lt;br /&gt;Step 7: Add following to /etc/profile&lt;br /&gt;if[$USER="oracle"]; then&lt;br /&gt;ulimit -u 16384&lt;br /&gt;ulimit -n 65536&lt;br /&gt;&lt;br /&gt;Step 8: Add/modify /home/oracle/.bash_profile&lt;br /&gt;umask 022&lt;br /&gt;export ORACLE_BASE=/home/oracle&lt;br /&gt;export ORACLE_SID=orcl&lt;br /&gt;export ORACLE_HOME= $ORACLE_HOME/oracle/product/10.2.0/db_1&lt;br /&gt;LD_LIBRARY_PATH=$ORACLE_HOME/bin:$PATH&lt;br /&gt;export PATH&lt;br /&gt;&lt;br /&gt;Step 9:&lt;br /&gt;xhost +&lt;br /&gt;xclock&lt;br /&gt;&lt;br /&gt;Step 10: Run the GUI Installer&lt;br /&gt;./runInstaller&lt;br /&gt;&lt;br /&gt;There you go, now just do a couple of nexts and ull have oracle installed...  CHEERS :)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-951822693725029084?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/951822693725029084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-installation.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/951822693725029084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/951822693725029084'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/06/oracle-installation.html' title='ORACLE Installation'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4999678153426355450</id><published>2009-05-27T07:58:00.000-07:00</published><updated>2009-05-27T08:14:23.098-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='listener.ora tnsnames.ora'/><title type='text'>ORACLE - Use of tnsnames.ora and listener.ora files</title><content type='html'>LISTENER.ORA&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This file contains configuration for the server side.It contains details like on which port, which protocol etc the server should listen for connection requests from clients. This file is found in ORACLE_HOME/network/admin directory.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;TNSNAMES.ORA&lt;br /&gt;&lt;span style="font-size:85%;"&gt;The  file contains configuration for  client side. It can be found in the ORACLE_HOME/network/admin . This file will also be present on the server if client is also on the same machine as server. This file needs to be configured for all clients with the IP address and port of the server so that clients can communicate with the server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I will come up with the configuration of these files shortly for using a gateway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4999678153426355450?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4999678153426355450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-use-of-tnsnamesora-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4999678153426355450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4999678153426355450'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-use-of-tnsnamesora-and.html' title='ORACLE - Use of tnsnames.ora and listener.ora files'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-5465639994108435203</id><published>2009-05-26T08:54:00.000-07:00</published><updated>2009-05-26T09:20:57.077-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DRDA Oracle gateway OTG'/><title type='text'>OTG - Oracle Transparent Gateway</title><content type='html'>&lt;span style="font-size:85%;"&gt;OTG or Oracle Transparent Gateway is a tool used to communicate with non-Oracle products (may be other databases like DB2) and technologies. Using OTG, we can access data in remote DB2 using Oracle's PL/SQL syntax. OTG has DRDA gateway which connects with DB2. If you want to connect to other databases like Sybase n all, you can use other gateways.&lt;br /&gt;&lt;br /&gt;To use a gateway, we need to first install it( quite obvious). After installation, we need to configure it which is a tedious task even if we try to do it by reading manuals.( I've been working on it for 3 days, still no progress).&lt;br /&gt;&lt;br /&gt;Well, thats all i know about it but I will surely write about the configuration in my next post. So wish me luck :).&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-5465639994108435203?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/5465639994108435203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/05/otg-oracle-transparent-gateway.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5465639994108435203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5465639994108435203'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/05/otg-oracle-transparent-gateway.html' title='OTG - Oracle Transparent Gateway'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-5345385242125963056</id><published>2009-05-22T09:12:00.000-07:00</published><updated>2009-05-22T09:24:29.466-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PL/SQL wrap plb'/><title type='text'>PL/SQL Wrapper</title><content type='html'>Have you ever tried to see the contents of the object file in C ?&lt;br /&gt;&lt;span style="font-family: arial;font-size:85%;" &gt;If not, then let me tell you that it contains all unreadable characters ie, given the object code, nobody can generate the C code from it.&lt;br /&gt;If you want a similar kind of protection in PL/SQL code, you need to use wrap command. In this way, you can protect your source code. You can now distribute your wrapped code without the fear of it being copied. The PL/SQL compiler recognizes and loads wrapped code automatically.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using PL/SQL Wrapper&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: georgia; font-style: italic;"&gt;wrap iname=plsqlsource.sql oname=plsqlwrapcode.plb &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where the extension plb means PL/SQL binary.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-5345385242125963056?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/5345385242125963056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/05/plsql-wrapper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5345385242125963056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5345385242125963056'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/05/plsql-wrapper.html' title='PL/SQL Wrapper'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-1427378869658252030</id><published>2009-05-16T08:17:00.000-07:00</published><updated>2009-05-16T08:32:17.505-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='8i'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 11g'/><title type='text'>ORACLE 8i, 11g - What is "i" and "g"</title><content type='html'>Meaning of "i" and "g"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Well "g" in Oracle 10g and onwards indicates grid computing. Grid computing means clubbing of several computers, by means of a network, where they work on a single problem at the same time. It enables resource sharing for multiple applications thus giving advantages like flexibility,low cost, efficiency, performance, scalability etc.&lt;br /&gt;&lt;br /&gt;The "i" in Oracle 8i,9i indicates &lt;span id="intellitxt"&gt;support for the Internet with built-in Java Virtual Machine (JVM). &lt;/span&gt;&lt;span id="intellitxt"&gt;With a JVM (Java interpreter) built into the DBMS, triggers and stored procedures can be written and executed in Java . It thus enables Internet developers to write applications as well as procedures in Java.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-1427378869658252030?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/1427378869658252030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-8i-11g-what-is-i-and-g.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1427378869658252030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1427378869658252030'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-8i-11g-what-is-i-and-g.html' title='ORACLE 8i, 11g - What is &quot;i&quot; and &quot;g&quot;'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-1502838354465690370</id><published>2009-05-15T03:23:00.000-07:00</published><updated>2009-05-15T03:38:44.975-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE varchar2 char'/><title type='text'>ORACLE DATA TYPES</title><content type='html'>&lt;span style="font-size:85%;"&gt;Lets discuss three data types CHAR, VARCHAR and VARCHAR2 and understand the differences between them. This is also one of the frequently asked questions in interviews.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;CHAR&lt;br /&gt;&lt;span style="font-size:85%;"&gt;It is used for storing fixed length character strings. For example FLAGS in tables which contain Y  or N for YES or NO respectively.&lt;br /&gt;NAME CHAR(50);&lt;br /&gt;When we declare such a type for name which contains variable no of characters, it results in wastage of lot of space.&lt;br /&gt;NAME := 'MANIK' fills 5 places rest of the places will be padded with spaces.&lt;br /&gt;So, its not a good idea to use this type for variable length strings.&lt;br /&gt;NOTE: When we don't specify a size with CHAR, it defaults to one.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VARCHAR&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Its not used generally, I learnt from internet that it is kept for furture use, otherwise it behaves same as VARCHAR2 as discussed next&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VARCHAR2&lt;br /&gt;&lt;span style="font-size:85%;"&gt;It is used for storing variable length strings. In Oracle 10g, a VARCHAR2 column may be up to 4000 bytes in a table and it may be up to 32767 bytes in a PL/SQL program.  &lt;br /&gt;&lt;br /&gt;NAME VARCHAR2(50) := 'MANIK';&lt;br /&gt;This does not leads to wastage of space. Only 5 places are occupied.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-1502838354465690370?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/1502838354465690370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-data-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1502838354465690370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1502838354465690370'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/05/oracle-data-types.html' title='ORACLE DATA TYPES'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4552477636583847434</id><published>2009-04-18T04:38:00.000-07:00</published><updated>2009-04-18T04:55:55.095-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle High Water Mark'/><title type='text'>Oracle Storage and High water Mark</title><content type='html'>Lets understand how data is stored in Oracle ...&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Each table in oracle is made up of a number of extents and each extent is made up of a number of blocks. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;ie Table = x number of extents&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;  extent = y number of blocks&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; segment = set of extents&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;A word about high water mark&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;HWM: Its divides segments into used and unused &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Blocks below HWM contain data and those beyond HWM are free.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;DATA&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;_____________________________HWM__________________________&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;FREE BLOCKS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Resetting HWM:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Lets say that you fill your table with 4 million records. As a result, you fill in several extents. Now lets delete half of these records. Now your table still has those extents allocated but lots of them are empty. When we run a query on this table with a WHERE clause, all the extents are scanned including the empty ones which is obviously a performance overhead.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;So to reset your HWM, use this statement ALTER TABLE MYTABLE MOVE TABLESPACE USERS.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Note: When data is inserted , HWM is automatically adusted. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;           When data is deleted, HWM is not adjusted automatically.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DELETE * v/s TRUNCATE&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;TRUNCATE resets the HWM, DELETE doesn't.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4552477636583847434?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4552477636583847434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/04/oracle-storage-and-high-water-mark.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4552477636583847434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4552477636583847434'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/04/oracle-storage-and-high-water-mark.html' title='Oracle Storage and High water Mark'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-5091830829537404555</id><published>2009-04-14T08:34:00.000-07:00</published><updated>2009-04-14T08:43:21.005-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle global temporary table'/><title type='text'>Global Temporary Tables</title><content type='html'>&lt;span style="font-size:100%;"&gt;CREATE GLOBAL TEMPORARY TABLE was introduced in &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Oracle 8i.The CREATE GLOBAL TEMPORARY TABLE command creates a temporary table which can be transaction specific or session specific. For transaction-specific temporary tables, data exists for the duration of the transaction while for session-specific temporary tables, data exists for the duration of the session. Data in a temporary table is private to the session. Each session can only see and modify its own data.&lt;br /&gt;&lt;br /&gt;Transaction specific table:&lt;br /&gt;&lt;/span&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;CREATE GLOBAL TEMPORARY TABLE T_TEMP (&lt;br /&gt; column1  NUMBER,&lt;br /&gt; column2  NUMBER&lt;br /&gt;) ON COMMIT DELETE ROWS;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Session Specific table&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;CREATE GLOBAL TEMPORARY TABLE T_TEMP&lt;br /&gt;(&lt;br /&gt; column1  NUMBER,&lt;br /&gt; column2  NUMBER&lt;br /&gt;) ON COMMIT PRESERVE ROWS;&lt;/span&gt;&lt;/pre&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;Features:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Data in temporary tables is automatically deleted at the end of the database session,, no matter what happens.&lt;br /&gt;If the TRUNCATE statement is  carried out on a temporary table, only the session specific data is truncated. Other sessions are not affectd.&lt;br /&gt;We can perform DDL commands like ALTER TABLE, DROP TABLE etc only when no session is currently bound to it. A session gets bound to a temporary table when an INSERT is performed on it. The session gets unbound by a TRUNCATE, at session termination, or by doing a COMMIT or ABORT for a transaction-specific temporary table.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-5091830829537404555?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/5091830829537404555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/04/global-temporary-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5091830829537404555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/5091830829537404555'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/04/global-temporary-tables.html' title='Global Temporary Tables'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-1032198805597368873</id><published>2009-04-10T08:48:00.000-07:00</published><updated>2009-04-10T08:58:54.976-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle SPOOL CSV'/><title type='text'>ORACLE - SPOOL COMMAND</title><content type='html'>What is SPOOL ?&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Spool Command in ORACLE is used to transfer data from oracle tables into other files.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;How to SPOOL from ORACLE in CSV format ??&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Set echo off;&lt;br /&gt;Set define Off;&lt;br /&gt;Set feedback Off;&lt;br /&gt;Set serveroutput On;&lt;br /&gt;SET PAGESIZE 0&lt;br /&gt;SET LINESIZE 1000&lt;br /&gt;Spool c:\file.csv&lt;br /&gt;&lt;br /&gt;SELECT EMPNAME&lt;span class="MsgBodyText"&gt;||','||EMPID||','||EMPSAL FROM EMPLOYEE&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;Spool Off;&lt;br /&gt;Set define On;&lt;br /&gt;Set feedback On;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-1032198805597368873?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/1032198805597368873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/04/oracle-spool-command.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1032198805597368873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/1032198805597368873'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/04/oracle-spool-command.html' title='ORACLE - SPOOL COMMAND'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4987799385269902225</id><published>2009-04-09T08:46:00.000-07:00</published><updated>2009-04-09T08:53:57.619-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle pl/sql date'/><title type='text'>Fiddling with DATES</title><content type='html'>1. Selecting current date&lt;br /&gt;SELECT SYSDATE FROM DUAL;&lt;br /&gt;&lt;br /&gt;2. Adds one day to current date&lt;br /&gt;SELECT SYSDATE+1 FROM DUAL;&lt;br /&gt;&lt;br /&gt;3.  Adding months&lt;br /&gt;SELECT ADD_MONTHS(SYSDATE,2) FROM DUAL;&lt;br /&gt;&lt;br /&gt;4.  TRUNC&lt;br /&gt;It truncates the time part from the date TRUNC(SYSDATE).&lt;br /&gt;&lt;br /&gt;5.  MONTHS_BETWEEN( date1, date2 )&lt;br /&gt;Gives the number of months between two dates.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4987799385269902225?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4987799385269902225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/04/fiddling-with-dates.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4987799385269902225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4987799385269902225'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/04/fiddling-with-dates.html' title='Fiddling with DATES'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8444603610504736862</id><published>2009-04-08T08:54:00.000-07:00</published><updated>2009-04-08T09:11:39.577-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='execute immediate'/><title type='text'>EXECUTE IMMEDIATE</title><content type='html'>&lt;span style="font-size:100%;"&gt;EXECUTE IMMEDIATE VS DBMS_SQL&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-size:85%;"&gt;EXECUTE IMMEDIATE provides better performance than DBMS_SQL.&lt;br /&gt;  EXECUTE IMMEDIATE" was added in Oracle 9i. DBMS_SQL package was used to execute&lt;br /&gt;  dynamic sql queries in earlier versions.&lt;br /&gt;&lt;br /&gt;Using EXECUTE IMMEDIATE&lt;br /&gt;&lt;br /&gt;1.&lt;br /&gt;begin&lt;br /&gt;  execute immediate 'SQL Statement';&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;2.To retrieve value from a dynamic statement&lt;br /&gt;declare&lt;br /&gt;var    varchar2(20);&lt;br /&gt;begin&lt;br /&gt;execute immediate 'select count(*) from employee'&lt;br /&gt; into var;&lt;br /&gt;dbms_output.put_line(&lt;/span&gt;&lt;span style="font-size:85%;"&gt;var&lt;/span&gt;&lt;span style="font-size:85%;"&gt;);&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;In case of static sql statement we use select count(*) into var from employee;&lt;br /&gt;&lt;br /&gt;3.EXECUTE IMMEDIATE  doesn't commits a DML transaction.An explicit commit should be done.&lt;br /&gt;&lt;br /&gt;4.Using variables with EXECUTE IMMEDIATE&lt;br /&gt;&lt;br /&gt;x number := 10000;&lt;br /&gt;execute immediate 'select count(*) from employee where salary &gt; '||x into var;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8444603610504736862?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8444603610504736862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/04/execute-immediate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8444603610504736862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8444603610504736862'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/04/execute-immediate.html' title='EXECUTE IMMEDIATE'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-6306146283943022804</id><published>2009-03-27T08:43:00.000-07:00</published><updated>2009-03-27T08:55:14.276-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gtk_glade_manik_tutorials'/><title type='text'>Display text using file in GTK View</title><content type='html'>Here's a simple code to extract data from a text file and display it in a View.&lt;br /&gt;&lt;br /&gt;FILE *fp;                // FILE pointer&lt;br /&gt;char buff[100];          // To hold text extracted from FILE&lt;br /&gt;&lt;br /&gt;GtkWidget *det ;         &lt;br /&gt;GtkWidget *view1=NULL ;  // View used to display text (initialized to NULL)&lt;br /&gt;&lt;br /&gt;view1=lookup_widget(GTK_WIDGET(widget),"view_tm");&lt;br /&gt;&lt;br /&gt;/* "view_tm" is the view name given using GLADE&lt;br /&gt;widget (GtkWidget *) -&gt; This pointer is passed automatically when an event takes place */&lt;br /&gt;&lt;br /&gt;fp=fopen("file_to_display.txt","r");&lt;br /&gt;&lt;br /&gt;while(!feof(fp))&lt;br /&gt;    {&lt;br /&gt;            fgets(buff,60,fp);&lt;br /&gt;&lt;br /&gt;            det=gtk_list_item_new_with_label (buff); &lt;br /&gt;&lt;br /&gt;            gtk_container_add (GTK_CONTAINER (view1), det);&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;/*  gtk_list_item_new_with_label ()&lt;br /&gt; Creates a new GtkListItem with a child label containing the given string.&lt;br /&gt;label :&lt;br /&gt; the string to use for the child label.&lt;br /&gt;Returns :&lt;br /&gt; a new GtkListItem with a child GtkLabel with the text set to label. &lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;gtk_widget_show(det);&lt;br /&gt;fclose(fp);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-6306146283943022804?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/6306146283943022804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/03/display-text-using-file-in-gtk-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/6306146283943022804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/6306146283943022804'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/03/display-text-using-file-in-gtk-view.html' title='Display text using file in GTK View'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4837746974614977376</id><published>2009-02-06T07:46:00.000-08:00</published><updated>2009-02-06T08:03:40.342-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='manik_glade_gtk_tutorials'/><title type='text'></title><content type='html'>&lt;span style=";font-family:times new roman;font-size:180%;"  &gt;Glade Interface&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:180%;"&gt; and GTK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;A word about Glade Interface Designer?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;Well !! If you want to create Visual C++ like graphical application , you can use Glade.  It comes as default installation with Fedora 6,7 ( i dun know abt other versions n distros). All you need to do is select and drag a couple of widgets (see previous post to know about widgets) and choose a layout.&lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 10"&gt;&lt;meta name="Originator" content="Microsoft Word 10"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CMANIKS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} &lt;/style&gt; &lt;![endif]--&gt;&lt;span style=";font-family:&amp;quot;;font-size:100%;"  &gt;&lt;span style=""&gt; &lt;/span&gt;It can be used with any desktop environment in Linux, as long as the gtk+ and/or gnome libraries are installed. Glade can be downloaded from glade.gnome.org.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 10"&gt;&lt;meta name="Originator" content="Microsoft Word 10"&gt;&lt;link style="font-family: times new roman;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CMANIKS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:300573557; 	mso-list-template-ids:-1161819380;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p style="margin-left: 0.5in; text-align: justify; line-height: 150%; font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;Other facts :&lt;/span&gt;&lt;/p&gt;  &lt;ul style="font-family: times new roman;" type="disc"&gt;&lt;li class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;span style="font-size:100%;"&gt;Glade develops the GUI and associated code &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;span style="font-size:100%;"&gt;It creates empty callbacks and signal handlers to link the      frontend GUI with the backend of the application &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify; line-height: 150%;"&gt;&lt;span style="font-size:100%;"&gt;Glade doesn't develop the 'backend' of your application &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:times new roman;font-size:100%;"  &gt;Glade is not a complete IDE, in other words it does not include a compiler, editor or debugger. It is used in conjunction with these, for example with gvim as the editor, gcc as the compiler and gdb as the debugger. There are several IDEs for Linux that work with, or attempt to work with Glade. Anjuta is one. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;GTK + :&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;After creating the interface, we need to program it for responses received from users, this part is done by GTK- GNU ToolKit. &lt;/span&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 10"&gt;&lt;meta name="Originator" content="Microsoft Word 10"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CMANIKS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} &lt;/style&gt; &lt;![endif]--&gt;&lt;span style=";font-family:&amp;quot;;font-size:100%;"  &gt;&lt;span style=""&gt; &lt;/span&gt;The GTK+ library is responsible for drawing the windows, dialogue boxes and buttons in the GIMP, Pidgin and hundreds of other programs. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4837746974614977376?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4837746974614977376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/02/glade-interface-and-gtk-word-about.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4837746974614977376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4837746974614977376'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/02/glade-interface-and-gtk-word-about.html' title=''/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-4543470509658193507</id><published>2009-01-30T08:57:00.000-08:00</published><updated>2009-01-30T09:15:50.827-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android-widgets-code'/><title type='text'>Fiddling with widgets</title><content type='html'>&lt;span style="font-size:180%;"&gt;How to create a simple android application using widgets?&lt;/span&gt;&lt;br /&gt;In this post, I'll give you the code for creating a simple Welcome Application using widgets. After you create a project ( File - New -Project-Android Project), lets say Welcome, you'll get a file called Welcome.java. Replace the following code with the existing code:&lt;br /&gt;&lt;br /&gt;package com.android.hello;&lt;br /&gt;&lt;br /&gt;import android.app.Activity;&lt;br /&gt;import android.os.Bundle;&lt;br /&gt;import android.widget.*;&lt;br /&gt;import android.view.View;&lt;br /&gt;import android.content.Intent;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class Hello extends Activity {&lt;br /&gt;&lt;br /&gt;    /** Called when the activity is first created. */&lt;br /&gt;    TextView a,b,c;&lt;br /&gt;    Button d;&lt;br /&gt;    EditText e;&lt;br /&gt;    String sname;&lt;br /&gt;       @Override&lt;br /&gt;    public void onCreate(Bundle savedInstanceState) {&lt;br /&gt;        a=(TextView)findViewById(R.id.Name);&lt;br /&gt;        b=(TextView)findViewById(R.id.wel);&lt;br /&gt;        c=(TextView)findViewById(R.id.msg);&lt;br /&gt;        d=(Button)findViewById(R.id.sub);&lt;br /&gt;        e=(EditText)findViewById(R.id.nm);&lt;br /&gt;        e.setText(" ");&lt;br /&gt;        d.setOnClickListener(new View.OnClickListener() {&lt;br /&gt;            public void onClick(View v) {&lt;br /&gt;                sname=e.getText().toString();&lt;br /&gt;                c.setText(sname);&lt;br /&gt;               &lt;br /&gt;            }&lt;br /&gt;        });&lt;br /&gt;&lt;br /&gt;           super.onCreate(savedInstanceState);&lt;br /&gt;        setContentView(R.layout.main);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Main.xml&lt;br /&gt;&lt;br /&gt;&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;br /&gt;&lt;AbsoluteLayout&lt;br /&gt;android:id="@+id/widget0"&lt;br /&gt;android:layout_width="fill_parent"&lt;br /&gt;android:layout_height="fill_parent"&lt;br /&gt;xmlns:android="http://schemas.android.com/apk/res/android"&lt;br /&gt;&gt;&lt;br /&gt;&lt;Button&lt;br /&gt;android:id="@+id/sub"&lt;br /&gt;android:layout_width="127px"&lt;br /&gt;android:layout_height="wrap_content"&lt;br /&gt;android:text="Submit"&lt;br /&gt;android:layout_x="91px"&lt;br /&gt;android:layout_y="116px"&lt;br /&gt;&gt;&lt;br /&gt;&lt;/button&gt;&lt;br /&gt;&lt;TextView&lt;br /&gt;android:id="@+id/Name"&lt;br /&gt;android:layout_width="121px"&lt;br /&gt;android:layout_height="21px"&lt;br /&gt;android:text="Enter your name"&lt;br /&gt;android:layout_x="23px"&lt;br /&gt;android:layout_y="46px"&lt;br /&gt;&gt;&lt;br /&gt;&lt;/textview&gt;&lt;br /&gt;&lt;TextView&lt;br /&gt;android:id="@+id/wel"&lt;br /&gt;android:layout_width="86px"&lt;br /&gt;android:layout_height="28px"&lt;br /&gt;android:text="Welcome"&lt;br /&gt;android:layout_x="37px"&lt;br /&gt;android:layout_y="223px"&lt;br /&gt;&gt;&lt;br /&gt;&lt;/textview&gt;&lt;br /&gt;&lt;EditText&lt;br /&gt;android:id="@+id/nm"&lt;br /&gt;android:layout_width="148px"&lt;br /&gt;android:layout_height="31px"&lt;br /&gt;android:textSize="18sp"&lt;br /&gt;android:layout_x="144px"&lt;br /&gt;android:layout_y="42px"&lt;br /&gt;&gt;&lt;br /&gt;&lt;/edittext&gt;&lt;br /&gt;&lt;TextView&lt;br /&gt;android:id="@+id/msg"&lt;br /&gt;android:layout_width="133px"&lt;br /&gt;android:layout_height="22px"&lt;br /&gt;android:layout_x="114px"&lt;br /&gt;android:layout_y="224px"&lt;br /&gt;&gt;&lt;br /&gt;&lt;/textview&gt;&lt;br /&gt;&lt;/absolutelayout&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;Welcome Application:&lt;/span&gt;&lt;br /&gt;Well, this is a simple application. All it does is that it inputs your name and when you hit the submit button, it displays Welcome &lt;your_entered_name&gt; on the same screen. This is just a small example to demonstrate the working of widgets.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;Code Explanation&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;In the xml code for a widget, for eg android:id="@+id/something" , the text after slash("/") gives the name of your widget. We will use this reference in Welcome.java.&lt;br /&gt;&lt;br /&gt;Welcome.java&lt;br /&gt;&lt;br /&gt;The first step is to create an object for each widget.&lt;br /&gt;&lt;br /&gt;We now need to initialize each of these objects with the widget name given in main.xml. This is done by findViewById(R.id.something).  You must be wondering where this R came from. Well, check out the file R.java, you will see the class name as R. This file is auto generated with some kind of values like 0x7f020000 (hexa values), do not make changes in this file.&lt;br /&gt;&lt;br /&gt;We now need to set a listener whcih will respond when the submit button is clicked. This is done by onClickListener(),  I have taken the text from the text field and set it on the textview. Thats it, quite simple, isn't it!!!&lt;br /&gt;&lt;br /&gt;Now jus run it as Android application in Run Menu.. Wait for a couple of minutes since the emulator takes a lot of time when it runs for the first time.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-4543470509658193507?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/4543470509658193507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/01/fiddling-with-widgets.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4543470509658193507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/4543470509658193507'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/01/fiddling-with-widgets.html' title='Fiddling with widgets'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-8397038349111102900</id><published>2009-01-25T02:58:00.000-08:00</published><updated>2009-01-25T03:35:27.356-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android-DroidDraw'/><title type='text'>Android-DroidDraw</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_OFai9aq8xuI/SXxOUb9X2WI/AAAAAAAAABY/FNTASHS1f5w/s1600-h/droid.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5295193374890383714" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px" alt="" src="http://3.bp.blogspot.com/_OFai9aq8xuI/SXxOUb9X2WI/AAAAAAAAABY/FNTASHS1f5w/s320/droid.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;A word about widgets:&lt;br /&gt;Well, all your text boxes, radio buttons, check boxes etc are called widgets. Believe me, you don't need to know anything else :) ...&lt;br /&gt;&lt;br /&gt;Designing a Layout: DroidDraw&lt;br /&gt;Some of you may think that you need to know xml to design a layout of your application. Theres a good news for you, tools like DroidDraw let you design layouts without any knowledge about xml.&lt;br /&gt;Heres how:&lt;br /&gt;1. Go to http://www.droiddraw.org/ and download DroidDraw for free.&lt;br /&gt;2. Now open it, and choose the layout(I prefer absolte layout).&lt;br /&gt;3. Click on the Widgets tab on the right side and drag the widget to be inserted.&lt;br /&gt;4. Click on the properties tab and type a meaningful name for the widget.&lt;br /&gt;5. In the Id field, type another name.This is the name that you will choose for reference in your program.&lt;br /&gt;6. Click on Generate, this generates the xml code for the layout.&lt;br /&gt;&lt;br /&gt;Where do I use the xml code generated?&lt;br /&gt;You need to replace this generated code with your main.xml (in Projectname/res/layout). &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-8397038349111102900?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/8397038349111102900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/01/android-droiddraw.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8397038349111102900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/8397038349111102900'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/01/android-droiddraw.html' title='Android-DroidDraw'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OFai9aq8xuI/SXxOUb9X2WI/AAAAAAAAABY/FNTASHS1f5w/s72-c/droid.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-2766723390652482448</id><published>2009-01-23T07:49:00.000-08:00</published><updated>2009-01-23T10:09:23.626-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse-Android'/><title type='text'>Configuring Eclipse for Android Project</title><content type='html'>&lt;span style="font-family: georgia;font-family:'times new roman';" class="Apple-style-span" &gt;Configuring Eclipse for Andorid Project&lt;/span&gt;&lt;div style="font-family: georgia;"&gt;&lt;span class="Apple-style-span"&gt;After updating the eclipse with the steps in the previous post, you need to configure eclipse with android sdk path. Here are the steps:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li style="font-family: georgia;"&gt;&lt;span class="Apple-style-span"&gt;Go to the android Windows &gt; Preferences menu. Eclipse Preference window will be opened.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: georgia;"&gt;&lt;span class="Apple-style-span"&gt;Select Android from the left hand size menu.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: georgia;"&gt;&lt;span class="Apple-style-span"&gt;Click on the Browse button and select the location of the SDK.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:'times new roman';"&gt;&lt;span style="font-family: georgia;"&gt;Click Apply and then Ok&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-2766723390652482448?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/2766723390652482448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/01/configuring-eclipse-for-android-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2766723390652482448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/2766723390652482448'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/01/configuring-eclipse-for-android-project.html' title='Configuring Eclipse for Android Project'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6179623992830722440.post-7042004969609490786</id><published>2009-01-10T02:48:00.000-08:00</published><updated>2009-01-10T08:56:42.889-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android Installation</title><content type='html'>&lt;span style="font-weight: bold;"&gt;What is Android ?&lt;/span&gt;&lt;br /&gt;Android is a software stack for mobile devices that includes an operating system, middleware and key applications.Using Android, you can create applications,like you can do using J2ME.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installing Android on Windows XP&lt;/span&gt;&lt;br /&gt;Its very easy to install android after you read this tutorial.Just follow the steps:&lt;br /&gt;1.  Go to http://code.google.com/android/ and download the Android SDK.This contains Android emulator, documentation and sample codes.&lt;br /&gt;2. Go to http://www.eclipse.org/downloads/ and download Eclipse IDE using which you will write your applications.&lt;br /&gt;3. You now need to download ADT, which is a plugin.It needs to be configured with Eclipse so that you can create applications.&lt;br /&gt;4. Open your Eclipse IDE, Click on Help-Software Updates-Available Sofwares (tab)-Add Site.&lt;br /&gt;5. On the location box write, https://dl-ssl.google.com/android/eclipse/ and click OK.&lt;br /&gt;6. You will now get a check box, expand it and check all the items.Click on the Install button.&lt;br /&gt;7. After this, click on a couple of next and finish and wait until it gets downloaded form internet.&lt;br /&gt;8. Right click on My Computer-Properties-Advanced(tab)-Environment Variables-Edit the variable Path and give the location of the tools folder in the unzipped Android SDK folder.&lt;br /&gt;9. Restart your computer.&lt;br /&gt;10. Open Eclipse, Click on File-New-Android Project..&lt;br /&gt;&lt;br /&gt;Congratulations, you have now successfully installed Android..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6179623992830722440-7042004969609490786?l=maniksidana.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://maniksidana.blogspot.com/feeds/7042004969609490786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maniksidana.blogspot.com/2009/01/android-installation.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7042004969609490786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6179623992830722440/posts/default/7042004969609490786'/><link rel='alternate' type='text/html' href='http://maniksidana.blogspot.com/2009/01/android-installation.html' title='Android Installation'/><author><name>Manik Sidana</name><uri>http://www.blogger.com/profile/11515859013023134538</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://3.bp.blogspot.com/_OFai9aq8xuI/SdzNe7zt6oI/AAAAAAAAABo/CDqqQfH6348/S220/computer8.gif'/></author><thr:total>3</thr:total></entry></feed>
