<?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-4556458082301796194</id><updated>2012-02-27T20:20:49.498-08:00</updated><category term='Wiki'/><category term='JavaScript'/><category term='Other'/><category term='Database'/><category term='Media'/><title type='text'>W3Expert.com</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.w3expert.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default?start-index=26&amp;max-results=25'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-4945530789054320752</id><published>2011-12-04T03:06:00.001-08:00</published><updated>2011-12-04T03:37:21.563-08:00</updated><title type='text'>Installing MySQL WorkBench on Ubuntu</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Download MySQL WorkBench from here&lt;br /&gt;&lt;a href="http://dev.mysql.com/downloads/workbench" target="_blank"&gt;http://dev.mysql.com/downloads/workbench&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the list at the bottom of the page, select Ubuntu Linux&lt;br /&gt;&lt;br /&gt;Next install using following command&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sudo gdebi mysql-workbench-gpl-5.2.36-1ubu1004-amd64.deb&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Also if the you get error as "gdebi" not installed or found, need to install this using following command first,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sudo apt-get install gdebi&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;"gdebi" searchs for all dependent files and installs them first (if not installed) before installing the requested file.  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-4945530789054320752?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/4945530789054320752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2011/12/installing-mysql-workbench-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4945530789054320752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4945530789054320752'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2011/12/installing-mysql-workbench-on-ubuntu.html' title='Installing MySQL WorkBench on Ubuntu'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-3088482387031343965</id><published>2011-09-30T07:43:00.001-07:00</published><updated>2011-09-30T07:43:49.778-07:00</updated><title type='text'>The Beauty of India: 50 Amazing Photos</title><content type='html'>Good Photos&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.smashingmagazine.com/2010/03/20/the-beauty-of-india-50-amazing-photos/"&gt;http://www.smashingmagazine.com/2010/03/20/the-beauty-of-india-50-amazing-photos/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-3088482387031343965?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/3088482387031343965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2011/09/beauty-of-india-50-amazing-photos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3088482387031343965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3088482387031343965'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2011/09/beauty-of-india-50-amazing-photos.html' title='The Beauty of India: 50 Amazing Photos'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-3947768795496670594</id><published>2011-06-13T19:08:00.001-07:00</published><updated>2011-08-14T16:06:09.029-07:00</updated><title type='text'>More ImageMagick Commands</title><content type='html'>Crop the images into multiple parts&lt;br /&gt;convert -crop 10x2000  photo1.png photo11.png &lt;br /&gt;&lt;br /&gt;Reduce the density of the image (reduces the file size of the photo for faster viewing)&lt;br /&gt;convert -quality 70 photo1.png photo11.png&lt;br /&gt;&lt;br /&gt;Flip the image 180 degrees (upside down)&lt;br /&gt;convert -flip photo1.png photo2.png&lt;br /&gt;&lt;br /&gt;Batch Covert Images from one format to another&lt;br /&gt;mogrify -resize 200x150 -format jpg *.png&lt;br /&gt;This will covert all PNG images to JPG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-3947768795496670594?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/3947768795496670594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2011/06/more-imagemagick-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3947768795496670594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3947768795496670594'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2011/06/more-imagemagick-commands.html' title='More ImageMagick Commands'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-7882898207730604532</id><published>2011-05-29T22:00:00.001-07:00</published><updated>2011-05-30T07:24:29.193-07:00</updated><title type='text'>Enable UserDir in Apache in UBuntu</title><content type='html'>1. Change to the User Home Directory, and create folder "public_html"&lt;br /&gt;&lt;br /&gt;2. Next Execute following commands,&lt;br /&gt;&lt;br /&gt;cd /etc/apache2/mods-enabled&lt;br /&gt;sudo ln -s ../mods-available/userdir.conf userdir.conf&lt;br /&gt;sudo ln -s ../mods-available/userdir.load userdir.load&lt;br /&gt;&lt;br /&gt;3. Restart Apache Server using this,&lt;br /&gt;sudo /etc/init.d/apache2 restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-7882898207730604532?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/7882898207730604532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2011/05/enable-userdir-in-appache-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7882898207730604532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7882898207730604532'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2011/05/enable-userdir-in-appache-in-ubuntu.html' title='Enable UserDir in Apache in UBuntu'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-9012752062446766900</id><published>2011-01-02T10:40:00.000-08:00</published><updated>2011-03-14T00:22:46.901-07:00</updated><title type='text'>Create Image with Custom Text using Background Image</title><content type='html'>Can be done easily using &lt;a href="http://www.imagemagick.org/script/binary-releases.php"&gt;ImageMagick&lt;/a&gt; using following command,&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: php;"&gt;convert -background none -size 320x60 -fill white -gravity Center \&lt;br /&gt;-pointsize 36 -font /home/user1/myfonts/UrsaSerifEngraved.TTF label:'My Image Text'  png:- |\&lt;br /&gt;composite -tile /home/user1/bkg_imgs/bkg_img.gif  -   -compose Dst_Over   final_image_name.gif&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-9012752062446766900?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/9012752062446766900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2011/01/create-image-with-custom-text-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/9012752062446766900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/9012752062446766900'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2011/01/create-image-with-custom-text-using.html' title='Create Image with Custom Text using Background Image'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-1763876500842796996</id><published>2010-10-08T14:41:00.000-07:00</published><updated>2010-12-20T15:53:34.444-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><title type='text'>MediaWiki Options</title><content type='html'>Following are some of the &lt;a href="http://www.mediawiki.org/" target="_blank"&gt;MediaWiki&lt;/a&gt; options, that might be useful when using Wiki on Local Machines,&lt;br /&gt;&lt;br /&gt;Add/Modify following entries to &lt;b&gt;LocalSettings.php&lt;/b&gt; file for enable each of the following options,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Enable Sub Pages Navigation&lt;/b&gt;, using [/SubPage]&lt;br /&gt;Add following: &lt;span class="Apple-style-span" style="color: #e69138;"&gt;$wgNamespacesWithSubpages = array_fill(0, 200, true);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disable anonymous editing&lt;/b&gt; &lt;br /&gt;Add following: &lt;span class="Apple-style-span" style="color: #e69138;"&gt;$wgGroupPermissions['*']['edit'] = false;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change default theme for all Non Logged in users&lt;/b&gt;,&lt;br /&gt;Update following: &lt;span class="Apple-style-span" style="color: #e69138;"&gt;$wgDefaultSkin = 'monobook';&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-1763876500842796996?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/1763876500842796996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/10/mediawiki-options.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/1763876500842796996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/1763876500842796996'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/10/mediawiki-options.html' title='MediaWiki Options'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-7004797045055909755</id><published>2010-09-26T10:09:00.001-07:00</published><updated>2010-12-20T15:54:21.840-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Adding Custom Text on Photos</title><content type='html'>&lt;span xmlns=''&gt;&lt;p&gt;Based on following post,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href='http://www.w3expert.com/2008/09/display-photo-taken-date-on-image-using.html'  target="_blank"&gt;http://www.w3expert.com/2008/09/display-photo-taken-date-on-image-using.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The Java program provided in above post is required only if you want to add the date on which the photo was taken to the image. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you ONLY want to add any text on the image (using custom Font), and also reduce the size of the image by removing additional image (which Camera adds) and reducing the image size, you can execute following commands.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='text-decoration:underline'&gt;&lt;strong&gt;Step 1: Install ImageMagick &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;First download and install ImageMagick from following site,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href='http://www.imagemagick.org/script/binary-releases.php'  target="_blank"&gt;http://www.imagemagick.org/script/binary-releases.php&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='text-decoration:underline'&gt;&lt;strong&gt;Step 2: Add Text on Image&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Custom Text can be added to the image by executing following command from command prompt,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#00b050'&gt;&lt;strong&gt;C:\apps\ImageMagick\mogrify -font C:\myfonts\BaroqueScript.ttf -pointsize 50 -fill red -gravity south -annotate +15+45 "Summer Photos" *.jpg     &lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Details:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;pointsize =50&lt;/strong&gt;&lt;/span&gt; : This is the Text Size on the image&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;fill =red :&lt;/strong&gt;&lt;/span&gt; This is Text Color&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;-gravity south -annotate +15+45 :&lt;/strong&gt;&lt;/span&gt;  Text Position, add to the bottom center of the image&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;"Summer Photos" :&lt;/strong&gt;&lt;/span&gt;  Replace this with Text to be added on the image&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;*.jpg :&lt;/strong&gt;&lt;/span&gt; execute command on all jpg files in current folder,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='text-decoration:underline'&gt;&lt;strong&gt;Step 3: Re-Size Images&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Images size can reduced by executing following command from command prompt,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#00b050'&gt;&lt;strong&gt;C:\apps\ImageMagick\mogrify -strip -resize 50% *.jpg&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Details,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;strip :&lt;/strong&gt;&lt;/span&gt; Remove all EXIF info (including Camera Details), added to the image (not visible on top of the image). This reduces image size considerably&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;50% :&lt;/strong&gt;&lt;/span&gt;  Reduce the file size by 50%. Adjust this based on the image size generated by Camera. The higher the Mega Pixel of the camera or selected option before taking the photo, the higher the image size&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='color:#1f497d'&gt;&lt;strong&gt;*.jpg :&lt;/strong&gt;&lt;/span&gt; execute command on all jpg files in current folder,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='text-decoration:underline'&gt;&lt;strong&gt;Other Options&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The full list of options supported by mogrify command is available here,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href='http://www.imagemagick.org/www/mogrify.html'  target="_blank"&gt;http://www.imagemagick.org/www/mogrify.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here's how the final image looks like after adding the Text on the image,&lt;br /&gt;&lt;/p&gt;&lt;a href="http://docs.w3expert.com/view1/apple_picking.JPG" target="_blank"&gt;&lt;br /&gt;&lt;img border="0" src="http://docs.w3expert.com/view1/apple_picking.JPG" width="482" height="362"/&gt;&lt;br /&gt;&lt;/a&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/4556458082301796194-7004797045055909755?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/7004797045055909755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/09/adding-custom-text-on-photos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7004797045055909755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7004797045055909755'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/09/adding-custom-text-on-photos.html' title='Adding Custom Text on Photos'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-3453726443596091425</id><published>2010-09-21T15:15:00.001-07:00</published><updated>2010-12-20T15:53:34.445-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><title type='text'>Google Sites Calendar</title><content type='html'>&lt;span xmlns=''&gt;&lt;p&gt;When using Google Sites templates, some of the Site templates include Calendars as part of the newly created site. Even though they looks like real calendars, and when you click on &lt;img border="0" src="http://docs.w3expert.com/home/docs_page1/google_calendar3.jpg" /&gt; button, the calendar gets added to your profile, these are not updatable calendars and you will not be able to add any events to these calendars. These calendars are provided as placeholders only. Following steps are required to setup new calendar for these sites,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-size:12pt; text-decoration:underline'&gt;&lt;strong&gt;Create new Calendar&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Login to calendar.google.com or your custom site (for google apps), and create new calendar.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Next select Settings option for the calendar from the drop down arrow next to the calendar name, in left navigation menu&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You will get the screen shown below. Select the "Share this calendar" Tab, and assign the names of people you want to share this calendar with&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Save and save the settings for the Calendar&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;img border="0" src="http://docs.w3expert.com/home/docs_page1/google_calendar1.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style='font-size:12pt; text-decoration:underline'&gt;&lt;strong&gt;Setup Calendar in Google Sites&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Next from Google Sites page which is currently showing the default non editable calendar, perform following steps,&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click on Edit Page &lt;img border="0" src="http://docs.w3expert.com/home/docs_page1/google_calendar4.jpg" /&gt; Button at the top of the page&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On the edit page, select the Calendar Properties (in the small popup menu that comes when you select the calendar image). You will get following dialog box (shown below)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click on link "Display another calendar" option&lt;br /&gt;&lt;/li&gt;&lt;li&gt;This will show dialog box with the list of your calendars. Select the calendar that was created in earlier step and click Select button.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Next select the small drop down button next to "Google calendar" and select the Remove Option&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click Save&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;img border="0" src="http://docs.w3expert.com/home/docs_page1/google_calendar2.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now the Google Sites page will display your calendar, and based on the security settings assigned to the calendar, your users can add new events to the calendar.&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-3453726443596091425?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/3453726443596091425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/09/google-sites-calendar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3453726443596091425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3453726443596091425'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/09/google-sites-calendar.html' title='Google Sites Calendar'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-4233949921704528226</id><published>2010-09-03T22:43:00.000-07:00</published><updated>2010-12-20T16:04:17.416-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>Interesting Post (UI created by Developers)</title><content type='html'>This Is What Happens When You Let Developers Create UI&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html"&gt;http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Got Reference from here,&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://repeatgeek.com/technical/10-resources-for-design-challenged-programmers/"&gt;http://repeatgeek.com/technical/10-resources-for-design-challenged-programmers/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-4233949921704528226?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/4233949921704528226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/09/interesting-post-ui-created-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4233949921704528226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4233949921704528226'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/09/interesting-post-ui-created-by.html' title='Interesting Post (UI created by Developers)'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-4763634660796959400</id><published>2010-08-17T19:44:00.000-07:00</published><updated>2010-12-20T15:53:34.445-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><title type='text'>Google Sites options</title><content type='html'>&lt;b&gt;Remove Sub Links on the Page&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When a new Sub Page is added to any of the pages, at the bottom of the parent page, links to all the sub-pages are displayed. These can be disabled by following these steps,&lt;br /&gt;&lt;br /&gt;1. Navigate to the page with the sub-pages listed on the bottom.&lt;br /&gt;2. Click "more actions" in the toolbar&lt;br /&gt;3. In the drop down menu, select "page settings"&lt;br /&gt;4. Next uncheck the option to "show links to sub-pages" and click Save button.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Disable Recent Activity&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When visitors view the pages, at the bottom of the page, following links are shown, "Recent Site Activity" and "Revision History" which display history of who edited the page, and revision history of all the changes to the page.&lt;br /&gt;&lt;br /&gt;These can be disabled by doing following steps,&lt;br /&gt;&lt;br /&gt;1. Click "more actions" in the toolbar (on any page)&lt;br /&gt;2. In the drop down menu, select "Manage Site"&lt;br /&gt;3. On the left side navigation, under "Site settings" select General tab&lt;br /&gt;4. On the right side at the bottom of the page, for "Access Settings", for &lt;br /&gt; "Users who can access site activity" -&gt; Select "Collaborators only"&lt;br /&gt; "Users who can access revision history" -&gt; Select "Collaborators only"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-4763634660796959400?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/4763634660796959400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/08/google-sites-options.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4763634660796959400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4763634660796959400'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/08/google-sites-options.html' title='Google Sites options'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-3537123753634769749</id><published>2010-07-18T12:10:00.000-07:00</published><updated>2010-12-20T16:04:17.417-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>Excel Document List</title><content type='html'>To define a list do the following,&lt;br /&gt;&lt;br /&gt;In a separate Tab, create list of items. Let's say the name of the tab is "Data List" and elements are in Column A (from Rows 2 to 5)&lt;br /&gt;&lt;br /&gt;Step 1:&lt;br /&gt;&lt;br /&gt;1) From the menu, click on Insert -&amp;gt; Name -&amp;gt; Define&lt;br /&gt;2) Give a unique name (for e.g. mylist1) and give reference as follows ='Data List'!$A$2:$A$5 and click on add. Here  "Data List" refers to the name of the new tab and $A$2:$A$5 refers rows 2 through 5 in column A.&lt;br /&gt;3) Click on Close button&lt;br /&gt;&lt;br /&gt;Step 2 :&lt;br /&gt;&lt;br /&gt;1) Select the cells which need to have drop down&lt;br /&gt;2) From the menu, select Data -&amp;gt; Validation&lt;br /&gt;3) In settings tab, for Allow, select "List" and for source give value as =mylist1 (change mylist1 to name given in above step)&lt;br /&gt;4) Click on OK&lt;br /&gt;&lt;br /&gt;For Example of this, please refer to following worksheet&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://docs.w3expert.com/view1/sample_list1.xls"&gt;http://docs.w3expert.com/view1/sample_list1.xls&lt;/a&gt; &lt;b&gt;(Hosted on Google Sites. Download Attachment on Next Page)&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-3537123753634769749?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/3537123753634769749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/07/excel-document-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3537123753634769749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/3537123753634769749'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/07/excel-document-list.html' title='Excel Document List'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-4021681371400922163</id><published>2010-04-09T12:56:00.001-07:00</published><updated>2010-12-20T15:59:56.892-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>Eclipse switch workspace from command line</title><content type='html'>Eclipse workspace location can be given from command prompt using parameter &amp;quot;-data&amp;quot;&lt;br&gt;&lt;br&gt;&lt;b&gt;Other options from within Eclipse &lt;/b&gt;&lt;br&gt;&lt;br&gt;Change workspace from within Eclipse -&amp;gt;  File/Switch workspace&lt;br&gt;&lt;br&gt; Ask  workspace each time Eclipse starts : Window/Preferences/General/Startup and Shutdown and select Prompt for workspace on startup.&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/4556458082301796194-4021681371400922163?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/4021681371400922163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/04/eclipse-switch-workspace-from-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4021681371400922163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4021681371400922163'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/04/eclipse-switch-workspace-from-command.html' title='Eclipse switch workspace from command line'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-8597541026539123383</id><published>2010-03-08T19:27:00.000-08:00</published><updated>2010-12-20T15:59:56.892-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>Interesting Patents</title><content type='html'>&lt;div&gt;Check these patents&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.google.com/patents?vid=USPAT7028023" target="_blank"&gt;http://www.google.com/patents?vid=USPAT7028023&lt;/a&gt; -- Implementing Linked List (Basics of Computer Science)&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.google.com/patents?vid=USPAT6105067" target="_blank"&gt;http://www.google.com/patents?vid=USPAT6105067&lt;/a&gt; -- Implementing Connection Pool (Basics of Server Side Implementation)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Curious, how do they approve these :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-8597541026539123383?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/8597541026539123383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/03/interesting-patents.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/8597541026539123383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/8597541026539123383'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/03/interesting-patents.html' title='Interesting Patents'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-6213440482749047583</id><published>2010-02-04T12:23:00.001-08:00</published><updated>2010-12-20T15:59:56.892-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>What's so special about this statue?</title><content type='html'>I am still wondering what's so special about this statue&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.nytimes.com/2010/02/04/arts/design/04giacometti.html" target="_blank"&gt;http://www.nytimes.com/2010/02/04/arts/design/04giacometti.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;that it fetched $104.1 million.&lt;br /&gt;&lt;br /&gt;I think i saw better statues in downtown's in major cities and also at museum entrances. Hopefully this was not another price speculation, same like Real Estate :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-6213440482749047583?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/6213440482749047583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2010/02/whats-so-special-about-this-statue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6213440482749047583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6213440482749047583'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2010/02/whats-so-special-about-this-statue.html' title='What&apos;s so special about this statue?'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-851538860647829284</id><published>2009-11-10T20:20:00.000-08:00</published><updated>2010-12-20T15:59:56.892-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>Comics Post</title><content type='html'>&lt;p&gt;Interesting comics,&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/08/25/bob-the-manager/" href="http://www.geekherocomic.com/2008/08/25/bob-the-manager/"&gt;http://www.geekherocomic.com/2008/08/25/bob-the-manager/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/09/10/irc-for-windows/" href="http://www.geekherocomic.com/2008/09/10/irc-for-windows/"&gt;http://www.geekherocomic.com/2008/09/10/irc-for-windows/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/09/12/managers-and-irc/" href="http://www.geekherocomic.com/2008/09/12/managers-and-irc/"&gt;http://www.geekherocomic.com/2008/09/12/managers-and-irc/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/11/12/real-programmers-dont-write-documentation/" href="http://www.geekherocomic.com/2008/11/12/real-programmers-dont-write-documentation/"&gt;http://www.geekherocomic.com/2008/11/12/real-programmers-dont-write-documentation/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/11/14/the-best-way-to-improve-code-performance/" href="http://www.geekherocomic.com/2008/11/14/the-best-way-to-improve-code-performance/"&gt;http://www.geekherocomic.com/2008/11/14/the-best-way-to-improve-code-performance/&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://www.geekherocomic.com/2008/11/28/programming-revised/" href="http://www.geekherocomic.com/2008/11/28/programming-revised/"&gt;http://www.geekherocomic.com/2008/11/28/programming-revised/&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-851538860647829284?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/851538860647829284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2009/11/comics-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/851538860647829284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/851538860647829284'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2009/11/comics-post.html' title='Comics Post'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-6831550920618582901</id><published>2009-08-27T19:26:00.000-07:00</published><updated>2010-12-20T15:54:21.840-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Good Video</title><content type='html'>&lt;p&gt;Check this one&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=bYcF_xX2DE8"&gt;http://www.youtube.com/watch?v=bYcF_xX2DE8&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Min Requirements : Wooden Hard surface Floor :)&lt;/p&gt;  &lt;p&gt;Another interesting product which will help Robot’s do the work is, Lego NXT. Check it out here,&lt;/p&gt;  &lt;p&gt;&lt;a title="http://mindstorms.lego.com/" href="http://mindstorms.lego.com/"&gt;http://mindstorms.lego.com/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Supports (code) instructions in both Java and C, (based on feedback from a friend of mine who recently bought one of these and is experimenting with Face Recognition).&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-6831550920618582901?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/6831550920618582901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2009/08/good-video.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6831550920618582901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6831550920618582901'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2009/08/good-video.html' title='Good Video'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-5417838887882863870</id><published>2009-06-19T14:06:00.000-07:00</published><updated>2010-12-20T15:55:01.897-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Hibernate Named Queries Mapping to multiple classes</title><content type='html'>Check following docs,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://docs.jboss.org/hibernate/stable/entitymanager/reference/en/html/query_native.html"&gt;Native Queries&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://docs.jboss.org/hibernate/stable/annotations/reference/en/html_single/"&gt;Annotations Reference&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Getting function return values&lt;/span&gt;&lt;br /&gt;&lt;pre class="brush: java;"&gt;&lt;br /&gt;@NamedNativeQuery(name = "average", query = "select avg(m.value) from Mark m", resultSetMapping = "columnmapping")&lt;br /&gt;@SqlResultSetMapping(&lt;br /&gt; name = "columnmapping",&lt;br /&gt; columns = @ColumnResult(name = "aver")&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;List result = s.getNamedQuery("average").list();&lt;br /&gt;assertEquals( 1, result.size() );&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Hibernate additional support for Caching Named Queries&lt;/span&gt;&lt;br /&gt;&lt;pre class="brush: java;"&gt;&lt;br /&gt;@NamedNativeQueries({&lt;br /&gt;@NamedNativeQuery(&lt;br /&gt; name = "night&amp;amp;area", query = "select night.id as nid, night.night_duration, night.night_date, area.id as aid, "&lt;br /&gt; + "night.area_id, area.name from Night night, tbl_area area where night.area_id = area.id",&lt;br /&gt; resultSetMapping = "joinMapping")&lt;br /&gt; })&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@org.hibernate.annotations.NamedNativeQueries({&lt;br /&gt;@org.hibernate.annotations.NamedNativeQuery(&lt;br /&gt; name = "night&amp;amp;areaCached",&lt;br /&gt; query = "select night.id as nid, night.night_duration, night.night_date, area.id as aid, "&lt;br /&gt;   + "night.area_id, area.name from Night night, tbl_area area where night.area_id = area.id",&lt;br /&gt; resultSetMapping = "joinMapping")&lt;br /&gt; })&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@SqlResultSetMappings(&lt;br /&gt; @SqlResultSetMapping(name = "joinMapping", entities = {&lt;br /&gt; @EntityResult(entityClass = org.hibernate.test.annotations.query.Night.class, fields = {&lt;br /&gt; @FieldResult(name = "id", column = "nid"),&lt;br /&gt; @FieldResult(name = "duration", column = "night_duration"),&lt;br /&gt; @FieldResult(name = "date", column = "night_date"),&lt;br /&gt; @FieldResult(name = "area", column = "area_id")&lt;br /&gt;   }),&lt;br /&gt; @EntityResult(entityClass = org.hibernate.test.annotations.query.Area.class, fields = {&lt;br /&gt; @FieldResult(name = "id", column = "aid"),&lt;br /&gt; @FieldResult(name = "name", column = "name")&lt;br /&gt;   })&lt;br /&gt;   }&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-5417838887882863870?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/5417838887882863870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2009/06/hibernate-named-queries-mapping-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/5417838887882863870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/5417838887882863870'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2009/06/hibernate-named-queries-mapping-to.html' title='Hibernate Named Queries Mapping to multiple classes'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-2913235831094473499</id><published>2008-09-06T22:46:00.000-07:00</published><updated>2010-12-20T15:54:21.841-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Display Photo Taken Date on Image using EXIF Data added by Camera</title><content type='html'>&lt;p&gt;Most of recent camera's have option to set Date Time in camera. When camera clicks photo, this date time is automatically added by camera when photo is taken as hidden EXIF info. The problem is when we copy these images from Camera to Computer, this image taken date does not appear on actual image, even though it's available as part of photo hidden EXIF data.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Quick intro to what is Exif data ?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's a picture that will explain it. After getting all the images from camera to Windows XP desktop, in the Explorer, you will see additional column called "Date Created". If not visible, then right click on fields list on top and select "Date Created".&lt;br /&gt;&lt;br /&gt;&lt;img src="http://docs.w3expert.com/view1/exim_view1.JPG" alt="exif" /&gt;&lt;br /&gt;&lt;br /&gt;This program will read "DateTime" attribute from Image EXIF Data and add this text onto image to all files specified in input folder in batch mode.&lt;br /&gt;&lt;br /&gt;Additional info about EXIF format is available here &lt;a href="http://en.wikipedia.org/wiki/Exchangeable_image_file_format" target="_blank"&gt;http://en.wikipedia.org/wiki/Exchangeable_image_file_format&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ImageMagick (&lt;a href="http://www.imagemagick.org/script/binary-releases.php" target="_blank"&gt;http://www.imagemagick.org/script/binary-releases.php&lt;/a&gt;) provides options to view to additional information added by camera.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Requirements to run this program: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1) ImageMagick needs to be installed on the machine where this program is running&lt;br /&gt;Download page is here, &lt;a href="http://www.imagemagick.org/script/binary-releases.php"&gt;http://www.imagemagick.org/script/binary-releases.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Most recent windows version is available for download here&lt;br /&gt;&lt;a href="http://www.imagemagick.org/download/binaries/ImageMagick-6.4.3-6-Q16-windows-dll.exe"&gt;http://www.imagemagick.org/download/binaries/ImageMagick-6.4.3-6-Q16-windows-dll.exe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) Update the variable IMAGE_MAGICK_INSTALL_LOCATION with location where ImageMagick is installed&lt;br /&gt;&lt;br /&gt;3) For some camera's the format in which date is copied/stored could be different.  Also not all camera's may support adding date information to photo's. On one of the original photo's which has been downloaded from camera execute following command,&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;IMAGE_MAGICK_INSTALL_LOCATION\identify -verbose "imagename.jpg"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Scroll down the list and check the "Properties:". One of the properties will be similar to &lt;span style="color: rgb(51, 102, 255);"&gt;"exif:DateTime: 2008:05:26 16:12:30"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If the Date format looks different, then update the variable &lt;span style="color: rgb(51, 102, 255);"&gt;CAMERA_IMAGE_DATE_FORMAT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;FYI, if the image was not created by Camera and was created by program like Paint, then this&lt;br /&gt;information is not available. This program is for executing on images which add additional exif information.&lt;br /&gt;&lt;br /&gt;Also not all camera's may support adding date information to photo's. Executing "identify" command on photo will list all the additional information camera is adding to image.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Running this program: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This program takes 2 command line options&lt;br /&gt;&lt;br /&gt;Run it as follows,&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;%JAVA_HOME%\bin\java com.w3expert.AddDateToImage "images_location" "additional_text_on_image"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For eg,&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;%JAVA_HOME%\bin\java com.w3expert.AddDateToImage "C:\sudhir\photos\set1" "Birthday Party "&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;For example, here's original image,&lt;br /&gt;&lt;img src="http://docs.w3expert.com/view1/baybridge1.jpg" alt="baybridge" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;And the updated image will be like this (with updated text),&lt;br /&gt;&lt;img src="http://docs.w3expert.com/view1/baybridge2.jpg" width="500" height="239" alt="baybridge" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;This program will add text on all images in specified folder as bulk operation. The date to add on image will be read from image exif data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The code below only shows usage. Added support for Linux OS also. Please &lt;a target="_blank" href="http://docs.w3expert.com/view1/AddDateToImage.java"&gt;download complete Java Code Here (AddDateToImage.java)&lt;/a&gt;&amp;nbsp;&amp;nbsp;(Hosted on Google Sites. Download Attachment on Next Page)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Previous version of Windows Only Code is available here &lt;a target="_blank" href="http://docs.w3expert.com/view1/AddDateToImage.java_previous"&gt;download complete Java Code Here (AddDateToImage.java)&lt;/a&gt;&amp;nbsp;&amp;nbsp;(Hosted on Google Sites. Download Attachment on Next Page)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;pre class="brush: java"&gt;package com.w3expert;&lt;br /&gt;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.text.*;&lt;br /&gt;import java.util.Date;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; *&lt;br /&gt; * @author Sudhir Ancha&lt;br /&gt; * @version 1.1 -- Updated to Support Linux OS also&lt;br /&gt; */&lt;br /&gt;public class AddDateToImage {&lt;br /&gt;&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;    // INITIALIZATION CONSTANTS&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;    &lt;br /&gt;    private static final String CUR_FILE_SEPERATOR = System.getProperty("file.separator");&lt;br /&gt;&lt;br /&gt;    private static final boolean IS_LINUX_OS = true;&lt;br /&gt;&lt;br /&gt;    private static final boolean DEBUG_ENABLED = true;&lt;br /&gt;&lt;br /&gt;   // For Linux (Ubuntu)&lt;br /&gt;    private static final String IMAGE_MAGICK_INSTALL_LOCATION = "/usr/bin/";&lt;br /&gt;&lt;br /&gt;    // For Windows&lt;br /&gt;    //private static final String IMAGE_MAGICK_INSTALL_LOCATION = "C:\\utils\\ImageMagick\\";&lt;br /&gt;&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;    // OUTPUT IMAGE CONSTANTS (configure according to personal choice)&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;&lt;br /&gt;    /** Adjust the fon't size as required based on image size. Currently using fontsize as 30 **/&lt;br /&gt;    private static final String IMAGE_TEXT_FONT_SIZE = "30";&lt;br /&gt;&lt;br /&gt;    /** Change this to required font name.  This can also map to custom font file name **/&lt;br /&gt;    //private static final String IMAGE_TEXT_FONT_NAME = "Arial";&lt;br /&gt;    //private static final String IMAGE_TEXT_FONT_NAME = "C:\\sudhir\\fonts\\BROADW.TTF";&lt;br /&gt;    private static final String IMAGE_TEXT_FONT_NAME = "/home/user19/myfonts1/BaroqueScript.ttf";&lt;br /&gt;&lt;br /&gt;    /** Text Location for annotate command. More description available here&lt;br /&gt;     * http://www.imagemagick.org/www/command-line-options.html#annotate **/&lt;br /&gt;    private static final String IMAGE_TEXT_LOCATION = "+15+45";&lt;br /&gt;&lt;br /&gt;    /** Change this to required text color.&lt;br /&gt;        http://www.imagemagick.org/www/command-line-options.html#fill **/&lt;br /&gt;    private static final String IMAGE_TEXT_COLOR = "red";&lt;br /&gt;&lt;br /&gt;     /** Please refer to topic 3 in requirements listed above. Update the date format as required **/&lt;br /&gt;    private static final String INPUT_IMAGE_FROM_CAMERA_DATE_FORMAT = "yyyy:MM:dd HH:mm:ss";&lt;br /&gt;&lt;br /&gt;    private static final String FINAL_PHOTO_FOR_PRINT_DATE_FORMAT = "MM/dd/yyyy";&lt;br /&gt;&lt;br /&gt;    /** Enable this if you have a high resolution camera and need to compress images&lt;br /&gt;     * before uploading them to site like Picasa or Flickr **/&lt;br /&gt;    private static final boolean COMPRESS_IMAGE = true;&lt;br /&gt;&lt;br /&gt;    /** Adjust following command according to resolution required. by default i am using 50%&lt;br /&gt;     *  Please refer here for additional options :  http://www.imagemagick.org/www/command-line-options.html#resize&lt;br /&gt;     */&lt;br /&gt;    private static final String OUTPUT_IMAGE_COMPRESS_VALUE = "50%";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;    // IMAGEMAGICK COMMANDS (usually don't have to change these)&lt;br /&gt;    // ****************************************************************************&lt;br /&gt;&lt;br /&gt;    /** Please refer to topic 3 in requirements listed above. Update the EXIF command if using different attribute **/&lt;br /&gt;    private static final String GET_DATE_COMMAND = IMAGE_MAGICK_INSTALL_LOCATION + "identify -format \"%[EXIF:DateTime]\" ";&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    private static final String ADD_TEXT_ON_IMAGE_COMMAND = IMAGE_MAGICK_INSTALL_LOCATION + "mogrify -font \""+&lt;br /&gt;                                    IMAGE_TEXT_FONT_NAME+ "\" -pointsize " + IMAGE_TEXT_FONT_SIZE +&lt;br /&gt;                                    " -fill "+IMAGE_TEXT_COLOR+" -gravity south -annotate " +&lt;br /&gt;                                    IMAGE_TEXT_LOCATION + "  \"    ";&lt;br /&gt;&lt;br /&gt;    /**&lt;br /&gt;     * Also checkout the full list of options here http://www.imagemagick.org/www/mogrify.html **/&lt;br /&gt;    private static final String COMPRESS_IMAGE_COMMAND = IMAGE_MAGICK_INSTALL_LOCATION + "mogrify -strip -resize "+OUTPUT_IMAGE_COMPRESS_VALUE+"  ";&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-2913235831094473499?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/2913235831094473499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/09/display-photo-taken-date-on-image-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/2913235831094473499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/2913235831094473499'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/09/display-photo-taken-date-on-image-using.html' title='Display Photo Taken Date on Image using EXIF Data added by Camera'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-4348443197161237676</id><published>2008-08-11T18:23:00.000-07:00</published><updated>2010-12-20T15:57:24.980-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>Some more good Ajax Resources</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.noupe.com/ajax/37-more-shocking-jquery-plugins.html" href="http://www.noupe.com/ajax/37-more-shocking-jquery-plugins.html"&gt;http://www.noupe.com/ajax/37-more-shocking-jquery-plugins.html&lt;/a&gt; (Good collection of JQuery Plugins)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.codeitred.com/2008/08/09/multilevel-drop-menu-jquery" href="http://www.codeitred.com/2008/08/09/multilevel-drop-menu-jquery"&gt;http://www.codeitred.com/2008/08/09/multilevel-drop-menu-jquery&lt;/a&gt; (JQuery Drop Down Menu)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.zkoss.org/demo/" href="http://www.zkoss.org/demo/"&gt;http://www.zkoss.org/demo/&lt;/a&gt; (Open Source Ajax Framework)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.bindows.net/demos/" href="http://www.bindows.net/demos/"&gt;http://www.bindows.net/demos/&lt;/a&gt; (Commercial Ajax Framework)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://vikjavev.no/highslide/" href="http://vikjavev.no/highslide/"&gt;http://vikjavev.no/highslide/&lt;/a&gt; (Javascript image popup)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.gmarwaha.com/blog/" href="http://www.gmarwaha.com/blog/"&gt;http://www.gmarwaha.com/blog/&lt;/a&gt; (JQuery Menu)&lt;/p&gt;  &lt;p&gt;&lt;a title="http://jqueryfordesigners.com/" href="http://jqueryfordesigners.com/"&gt;http://jqueryfordesigners.com/&lt;/a&gt; (JQuery Tutorials)&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-4348443197161237676?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/4348443197161237676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/08/some-more-good-ajax-resources.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4348443197161237676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/4348443197161237676'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/08/some-more-good-ajax-resources.html' title='Some more good Ajax Resources'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-1563698576379298152</id><published>2008-05-31T19:37:00.000-07:00</published><updated>2010-12-20T15:54:21.841-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Media'/><title type='text'>Some more good videos</title><content type='html'>&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=P_ON2O3jnwY" target="_blank"&gt;http://www.youtube.com/watch?v=P_ON2O3jnwY&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-1563698576379298152?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/1563698576379298152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/05/some-more-good-videos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/1563698576379298152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/1563698576379298152'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/05/some-more-good-videos.html' title='Some more good videos'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-434778194268668930</id><published>2008-04-03T18:15:00.000-07:00</published><updated>2010-12-20T16:04:46.666-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Wiki'/><title type='text'>Remove the word "Private" on Private Pages in  WordPress</title><content type='html'>&lt;p&gt;Credits : &lt;a title="http://www.sandboxdev.com/blog/wordpress/2008/178#" href="http://www.sandboxdev.com/blog/wordpress/2008/178" target="_blank"&gt;http://www.sandboxdev.com/blog/wordpress/2008/178#&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In the theme directory, create a new file called &amp;quot;functions.php&amp;quot;. For some themes this file already exists. &lt;/p&gt;  &lt;p&gt;For example in my install i am using &amp;quot;simple-green&amp;quot; theme. So my file will be here,&lt;/p&gt;  &lt;p&gt;&amp;quot;\wp-content\themes\simple-green\functions.php&amp;quot;&lt;/p&gt;  &lt;p&gt;In this file add following lines,&lt;/p&gt;&lt;br /&gt;&lt;pre class="brush: php;"&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;function remove_private_prefix($title) {&lt;br /&gt;$title = str_replace(&lt;br /&gt;'Private:',&lt;br /&gt;'',&lt;br /&gt;$title);&lt;br /&gt;return $title;&lt;br /&gt;}&lt;br /&gt;add_filter('the_title','remove_private_prefix');&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-434778194268668930?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/434778194268668930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/04/remove-word-on-private-pages-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/434778194268668930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/434778194268668930'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/04/remove-word-on-private-pages-in.html' title='Remove the word &amp;quot;Private&amp;quot; on Private Pages in  WordPress'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-6976796133725868459</id><published>2008-04-02T20:33:00.000-07:00</published><updated>2010-12-20T15:59:56.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>10 Commandments for Java Developers</title><content type='html'>&lt;p&gt;Good article here for Java Developers&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.developer.com/java/data/article.php/10932_3612756_1" href="http://www.developer.com/java/data/article.php/10932_3612756_1" target="_blank"&gt;http://www.developer.com/java/data/article.php/10932_3612756_1&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-6976796133725868459?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/6976796133725868459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/04/10-commandments-for-java-developers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6976796133725868459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6976796133725868459'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/04/10-commandments-for-java-developers.html' title='10 Commandments for Java Developers'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-6958292367200790238</id><published>2008-03-05T21:06:00.000-08:00</published><updated>2010-12-20T15:55:01.898-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>How to enable "Relation view" feature in PHPMyAdmin</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;By default when PHPyadmin is installed, it does not enable to &amp;quot;Relation view&amp;quot; feature. To enable it, perform following steps, &lt;/p&gt;  &lt;p&gt;1. Go to PHPMyAdmin from browser, for example,&lt;/p&gt;  &lt;p&gt;&lt;a title="http://localhost/phpmyadmin/" href="http://localhost/phpmyadmin/"&gt;http://localhost/phpmyadmin/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. Click on SQL button on the left side frame, or visit this URL in another tab from the same browser instance,&lt;/p&gt;  &lt;p&gt;&lt;a title="http://localhost/phpmyadmin/querywindow.php" href="http://localhost/phpmyadmin/querywindow.php"&gt;http://localhost/phpmyadmin/querywindow.php&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. Open following file in Text Editor,&lt;/p&gt;  &lt;p&gt;&amp;lt;WAMP_SERVER_INSTALL_LOC&amp;gt;\apps\&amp;lt;PHP_MYADMIN_LOCATION&amp;gt;\scripts\create_tables.sql&lt;/p&gt;  &lt;p&gt;For example on my machine, it's here &lt;/p&gt;  &lt;p&gt;d:\apps\wamp\apps\phpmyadmin2.10.1\scripts\create_tables.sql&lt;/p&gt;  &lt;p&gt;4. Take this SQL and paste it into SQL window opened in Step 2 and click on GO button. It will create a new database called &amp;quot;phpmyadmin&amp;quot; and also create all required tables there&lt;/p&gt;  &lt;p&gt;Restart Apache WebServer (From Control Panel -&amp;gt; Administrative Tools -&amp;gt; Services -&amp;gt; WAMPApache). &lt;/p&gt;  &lt;p&gt;That should enable &amp;quot;Relation View&amp;quot; feature when viewing table structure.&lt;/p&gt;  &lt;p&gt;--------------------------------------------&lt;/p&gt;  &lt;p&gt;5. &lt;strong&gt;The following steps are required only if any changes were made in &amp;quot;create_tables.sql&amp;quot; to rename database or table names.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Now open the config file for PHPMyAdmin which is here,&lt;/p&gt;  &lt;p&gt;&amp;lt;WAMP_SERVER_INSTALL_LOC&amp;gt;\apps\&amp;lt;PHP_MYADMIN_LOCATION&amp;gt;\config.inc.php &lt;/p&gt;  &lt;p&gt;For example on my machine, it's here &lt;/p&gt;  &lt;p&gt;d:\apps\wamp\apps\phpmyadmin2.10.1\config.inc.php&lt;/p&gt;  &lt;p&gt;&lt;em&gt;(Fyi, it's also good idea to take backup of this file before editing)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;6. In &amp;quot;config.inc.php&amp;quot; around line 81,make following changes,&lt;/p&gt;  &lt;br /&gt;&lt;pre class="brush: php;"&gt;&lt;br /&gt;$cfg['Servers'][$i]['pmadb']         = 'phpmyadmin';&lt;br /&gt;$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';&lt;br /&gt;$cfg['Servers'][$i]['relation']      = 'pma_relation';&lt;br /&gt;$cfg['Servers'][$i]['table_info']    = 'pma_table_info';&lt;br /&gt;$cfg['Servers'][$i]['table_coords']  = 'pma_table_coords'; &lt;br /&gt;$cfg['Servers'][$i]['pdf_pages']     = 'pma_pdf_pages';&lt;br /&gt;$cfg['Servers'][$i]['column_info']   = 'pma_column_info';&lt;br /&gt;$cfg['Servers'][$i]['history']       = 'pma_history';  &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;These are the default values. If not change was made in &amp;quot;create_tables.sql&amp;quot; then Step 5 is not required.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-6958292367200790238?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/6958292367200790238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/03/how-to-enable-view-feature-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6958292367200790238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/6958292367200790238'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/03/how-to-enable-view-feature-in.html' title='How to enable &amp;quot;Relation view&amp;quot; feature in PHPMyAdmin'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-7301018117768160748</id><published>2008-02-22T15:00:00.000-08:00</published><updated>2010-12-20T15:59:56.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Other'/><title type='text'>SubVersion quick setup on windows</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;How to setup SVN on windows in quick steps &lt;/p&gt;  &lt;p&gt;1. create a new folder&lt;strong&gt; &amp;quot;C:\svn_repo&amp;quot;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;-- Replace this with location where you want to have your SVN repository    &lt;br /&gt;------------------ &lt;/p&gt;  &lt;p&gt;2. Download latest binary from here    &lt;br /&gt;&lt;a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91"&gt;http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;/a&gt;     &lt;br /&gt;and install it on local machine. &lt;/p&gt;  &lt;p&gt;------------------ &lt;/p&gt;  &lt;p&gt;3. Update ENV variable to have &amp;quot;&lt;em&gt;subversion_install_loc&lt;/em&gt;\bin&amp;quot; in you path (latest version of install seems to add this by default) &lt;/p&gt;  &lt;p&gt;------------------ &lt;/p&gt;  &lt;p&gt;4. Go to command prompt and run following commands, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;svnadmin create &amp;quot;C:\svn_repo&amp;quot;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;------------------ &lt;/p&gt;  &lt;p&gt;5. Adding new users &lt;/p&gt;  &lt;p&gt;a) open following file, &lt;strong&gt;&amp;quot;C:\svn_repo\conf\svnserve.conf&amp;quot;&lt;/strong&gt; and enable following lines     &lt;br /&gt;anon-access = read     &lt;br /&gt;auth-access = write     &lt;br /&gt;password-db = passwd &lt;/p&gt;  &lt;p&gt;b) open following file, &lt;strong&gt;&amp;quot;C:\svn_repo\conf\passwd&amp;quot;&lt;/strong&gt; and add users as follows &lt;/p&gt;  &lt;p&gt;[users]    &lt;br /&gt;user1=user1pwd     &lt;br /&gt;user2=user2pwd &lt;/p&gt;  &lt;p&gt;------------------ &lt;/p&gt;  &lt;p&gt;Next from command prompt run following command, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;svnserve --daemon --root &amp;quot;C:\svn_repo&amp;quot;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;This will be running the SVN server at this point, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Open&lt;/strong&gt; &lt;strong&gt;one more DOS prompt&lt;/strong&gt; window and execute following command, [assuming you have somefiles in folder&amp;#160; &amp;quot;C:\myproject&amp;quot; ] &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;svnadmin create &amp;quot;C:\myproject&amp;quot;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;This will add &amp;quot;myproject&amp;quot; folder to SVN repository &lt;/p&gt;  &lt;p&gt;------------------ &lt;/p&gt;  &lt;p&gt;Now to run the windows shell integration client, download and install following software, &lt;/p&gt;  &lt;p&gt;&lt;a href="http://tortoisesvn.net/downloads"&gt;http://tortoisesvn.net/downloads&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I got this file, (&lt;em&gt;TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi&lt;/em&gt;) &lt;/p&gt;  &lt;p&gt;Restart windows if required &lt;/p&gt;  &lt;p&gt;Now go to another folder from Windows Explorer, say for example &amp;quot;c:\newproject_home&amp;quot;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Right click here, and select option &amp;quot;&lt;strong&gt;SVN Checkout&lt;/strong&gt;&amp;quot; and checkout the folder &amp;quot;myproject&amp;quot; which was created in earlier step. &lt;/p&gt;  &lt;p&gt;If everything checks out, then SVN is not correctly setup. &lt;/p&gt;  &lt;p&gt;----------- &lt;/p&gt;  &lt;h4&gt;Using TortoiseSVN&lt;/h4&gt;  &lt;p&gt;   &lt;br /&gt;If you want to add new folder to SVN repo from TortoiseSVN, in the right click popup menu, select the option &amp;quot;&lt;strong&gt;TortoiseSVN-&amp;gt;Import&lt;/strong&gt;&amp;quot; &lt;/p&gt;  &lt;p&gt;And then delete this folder, and again use the option &amp;quot;&lt;strong&gt;SVN checkout&lt;/strong&gt;&amp;quot; to checkout the imported folder. &lt;/p&gt;  &lt;p&gt;You can browse the local repository using following option &amp;quot;&lt;strong&gt;svn://localhost/&lt;/strong&gt;&amp;quot; &lt;/p&gt;  &lt;p&gt;------------------- &lt;/p&gt;  &lt;h4&gt;Setting up SVN as Windows Service&lt;/h4&gt;  &lt;p&gt;Execute following command from DOS prompt, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;sc create svn.local binpath= &amp;quot;\&amp;quot;C:\utils\Subversion\bin\svnserve.exe\&amp;quot; --service --root C:\svn_repo&amp;quot; displayname= &amp;quot;Subversion Repository&amp;quot; depend= Tcpip&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;replace &amp;quot;C:\utils\Subversion\bin\svnserve.exe&amp;quot;&amp;#160; with &amp;quot;&amp;lt;&amp;lt;SVN_INSTALL_LOC&amp;gt;&amp;gt;\bin\svnserve.exe&amp;quot; &lt;/p&gt;  &lt;p&gt;replace &amp;quot;C:\svn_repo&amp;quot; with folder where you created SVN_REPO in first step. &lt;/p&gt;  &lt;p&gt;-------------------&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-7301018117768160748?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/7301018117768160748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/02/subversion-quick-setup-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7301018117768160748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7301018117768160748'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/02/subversion-quick-setup-on-windows.html' title='SubVersion quick setup on windows'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4556458082301796194.post-7059657767147439022</id><published>2008-02-22T14:20:00.000-08:00</published><updated>2010-12-20T15:57:24.980-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>Sniff browser history using JavaScript</title><content type='html'>&lt;p&gt;check this one&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html" href="http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html"&gt;http://www.niallkennedy.com/blog/2008/02/browser-history-sniff.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Using this one you can sniff the browser history using Javascript and show custom content based on sites user visited.&lt;/p&gt;  &lt;p&gt;I think there is good part to this, and also bad part to this. The bad part is combine this JavaScript with Ajax code and send request to server without user knowledge (Just a thought) is not a good thing.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4556458082301796194-7059657767147439022?l=www.w3expert.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.w3expert.com/feeds/7059657767147439022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.w3expert.com/2008/02/sniff-browser-history-using-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7059657767147439022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4556458082301796194/posts/default/7059657767147439022'/><link rel='alternate' type='text/html' href='http://www.w3expert.com/2008/02/sniff-browser-history-using-javascript.html' title='Sniff browser history using JavaScript'/><author><name>w3expert</name><uri>http://www.blogger.com/profile/09575084328727540586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
