<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechieDan &#187; Tutorial</title>
	<atom:link href="http://techiedan.com/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://techiedan.com</link>
	<description>Your Search for The Tech Stuffs</description>
	<lastBuildDate>Thu, 09 Feb 2012 02:59:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using CSS instead of plain HTML</title>
		<link>http://techiedan.com/2010/03/09/using-css-instead-of-plain-html/</link>
		<comments>http://techiedan.com/2010/03/09/using-css-instead-of-plain-html/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 01:40:54 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=780</guid>
		<description><![CDATA[<p>For those that started studying computers or those in the 90s, most of us started learning the <strong>HOW TO BUILD A WEBPAGE with HTML</strong>. Those days, a webpage is defined by how well it was formatted and if you want fancy stuffs, the best one can get is <strong>Macromedia Flash</strong> (now <em>Adobe Flash</em>). Here are [...]]]></description>
			<content:encoded><![CDATA[<p>For those that started studying computers or those in the 90s, most of us started learning the <strong>HOW TO BUILD A WEBPAGE with HTML</strong>. Those days, a webpage is defined by how well it was formatted and if you want fancy stuffs, the best one can get is <strong>Macromedia Flash</strong> (now <em>Adobe Flash</em>). Here are the old codes of the old.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;table width=&quot;80%&quot;&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;/td&gt;
      &lt;td&gt;&lt;span style=&quot;color: red;&quot;&gt;This text is red&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
</pre>
<p>By doing this, the following text becomes red. Nothing is wrong with doing things like this. Though now there exist something better which is able to format text which is <strong>CSS</strong> (<em>Cascading Style Sheet</em>).</p>
<p><img class="alignnone size-full wp-image-782" title="CSS Book" src="http://techiedan.com/wp-content/uploads/2010/03/CSS-Book.jpg" alt="" width="350" height="438" /><br />
 <em><strong>Some of the books used to teach CSS</strong></em></p>
<p>Using <strong>CSS to format a text</strong> like the above to turn to red has got it&#8217;s advantages over the old style format. One it is <strong>Web 2.0 friendly</strong>, <strong>XML friendly</strong> and also changes can be made directly from a seperate file ( <em>.css file</em>). Another important thing is that it&#8217;s way flexible, assigning a class to a row of text with the specific characteristics changes the overall text.</p>
<p>This is a simple method to show how CSS works.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;table width=&quot;80%&quot;&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;span style=&quot;color:red&quot;&gt;This text is red&lt;/span&gt;&lt;/td&gt;
      &lt;td&gt;&lt;span style=&quot;color: red;&quot;&gt;This text is red&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
</pre>
<p>It&#8217;s the same result. But what&#8217;s so special? Now let&#8217;s modify the code once again. We&#8217;ll start right at the beginning.</p>
<pre style="background: #FFFFCC;">&lt;html&gt;
 &lt;head&gt;
  &lt;style type="text/css"&gt;
   .redLight {
    color:red;
   }
  &lt;/style&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;span class="redLight"&gt;This text is red&lt;/span&gt;
 &lt;/body&gt;
&lt;/html&gt;</pre>
<p>Now just copy and paste this script into your notepad and save it as example.html. Open it and you&#8217;ll see, wow&#8230; it&#8217;s <span style="color: #ff0000;"><strong>RED</strong></span>. Now how about if you wanted to add more text with the same color on other parts of the HTML. Simple! Just add <strong>&lt;span class=&#8221;redLight&#8221;&gt;</strong> or <strong>&lt;div class=&#8221;redLight&#8221;&gt;</strong> on another row of text.</p>
<p>For those who have been around tweaking their blogs and websites, most would be familiar with this new method. For those who are still using the old old school format of modifying your website or blog, it&#8217;s time to leap into the new way of doing things.</p>
<p>Edit : Amended code above.</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2010/03/09/using-css-instead-of-plain-html/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Batch Resize Photos in Photoshop CS3</title>
		<link>http://techiedan.com/2009/12/31/batch-resize-photos-in-photoshop-cs3/</link>
		<comments>http://techiedan.com/2009/12/31/batch-resize-photos-in-photoshop-cs3/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 19:53:24 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=658</guid>
		<description><![CDATA[<p>Most of us who snap photos usually take those pictures on the newer cameras with bigger pixels. Though the problem is sometimes we need to crop the picture or rather resize the photos for public viewing on the Internet. Yes, one can do that one by one using Adobe Photoshop, and re-size them accordingly to [...]]]></description>
			<content:encoded><![CDATA[<p>Most of us who snap photos usually take those pictures on the newer cameras with bigger pixels. Though the problem is sometimes we need to crop the picture or rather resize the photos for public viewing on the Internet. Yes, one can do that one by one using Adobe Photoshop, and re-size them accordingly to one&#8217;s need. Though the problem happens is what if you wanted to <strong>resize, let&#8217;s say a thousand files</strong>?</p>
<p>Here&#8217;s what TechieDan will be teaching you about. <strong>Batch Re-size</strong></p>
<p><span style="text-decoration: underline;"><strong>Step 1</strong></span></p>
<p><img class="alignnone size-full wp-image-659" title="Photoshop CS3 Instruction to Resize Photo" src="http://techiedan.com/wp-content/uploads/2009/11/photoshopcs3-intructions.jpg" alt="Photoshop CS3 Instruction to Resize Photo" width="500" height="371" /></p>
<p>Open your Adobe Photoshop CS3 and proceed to<strong> File &gt; Scripts &gt; Image Processor </strong>as shown in the screen below.</p>
<p><span style="text-decoration: underline;"><strong>Step 2</strong></span></p>
<p><strong><img class="alignnone size-full wp-image-660" title="Close Up Of the Menu" src="http://techiedan.com/wp-content/uploads/2009/11/photoshop-cs3-resize-image.jpg" alt="Close Up Of the Menu" width="445" height="208" /></strong></p>
<p>Now<strong> Select Image Processor </strong>and click it. A screen would appear.</p>
<p><span style="text-decoration: underline;"><strong>Step 3</strong></span></p>
<p><img class="alignnone size-full wp-image-661" title="Resize Photos" src="http://techiedan.com/wp-content/uploads/2009/11/resize-photos.jpg" alt="Resize Photos" width="500" height="521" /></p>
<p>Here&#8217;s the desired screen to appear. Now just set the <strong>W</strong> (<em>Width</em>) and <strong>H</strong> (<em>Height</em>) respectively and the source and target location to for the batch re-size process. Voila, <strong>performance varies</strong> based on computer speed (<strong>RAM and Processor</strong>)</p>
<p>There are tons of other software out there that can do batch re-sizing. Adobe Photoshop is just one of the alternatives. <strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2009/12/31/batch-resize-photos-in-photoshop-cs3/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hibernate Error : exception setting property value</title>
		<link>http://techiedan.com/2009/12/17/hibernate-error-exception-setting-property-value/</link>
		<comments>http://techiedan.com/2009/12/17/hibernate-error-exception-setting-property-value/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 07:25:38 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=709</guid>
		<description><![CDATA[<p>Been playing around with <a title="Hibernate Mapping Site" href="http://www.hibernate.org" target="_blank">Hibernate</a> and mapping classes with Java. A reason why Hibernate is useful is so to facilitate users to stop writing pure SQL for queries and reduce code redundancy. A slight note, Hibernate also works well with the <strong>.NET platform</strong>.</p>
<p></p>
<p>Though there was this error which TechieDan experienced</p>
<p><em>org.springframework.orm.hibernate3.HibernateSystemException: [...]]]></description>
			<content:encoded><![CDATA[<p>Been playing around with <a title="Hibernate Mapping Site" href="http://www.hibernate.org" target="_blank">Hibernate</a> and mapping classes with Java. A reason why Hibernate is useful is so to facilitate users to stop writing pure SQL for queries and reduce code redundancy. A slight note, Hibernate also works well with the <strong>.NET platform</strong>.</p>
<p><img class="alignnone size-full wp-image-712" title="Hibernate Mapping Error" src="http://techiedan.com/wp-content/uploads/2009/12/error-hibernate.jpg" alt="Hibernate Mapping Error" width="305" height="293" /></p>
<p>Though there was this error which TechieDan experienced</p>
<blockquote><p><span style="color: #ff0000;"><em>org.springframework.orm.hibernate3.HibernateSystemException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.tm.ccpm.biz.domain.product.ProductSubCategory.setIdelivery;</em></span></p></blockquote>
<p>Surprisingly the mistake wasn&#8217;t software based. After looking through Hibernate.org websites and other sites for help, it was because of a simple mistake. While <strong>creating the field of IDELIVERY</strong> into the table, the default value was <span style="color: #0000ff;"><strong>null</strong></span>, and considering that the <strong>IDELIVERY column is integer</strong>, it should be defaulted to a default value. So since the column was created earlier with a <strong>null value</strong>, all that was needed to be done is to update the data in the table to repair this error.</p>
<p>Here&#8217;s what I did and it finally is running once again.</p>
<blockquote><p>update TABLENAME set IDELIVERY = 0;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2009/12/17/hibernate-error-exception-setting-property-value/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Merging Your Photos Using Photoshop CS3</title>
		<link>http://techiedan.com/2009/07/07/merging-your-photos-photoshop-cs3/</link>
		<comments>http://techiedan.com/2009/07/07/merging-your-photos-photoshop-cs3/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 13:09:27 +0000</pubDate>
		<dc:creator>techieDan</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[panaroma]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://techiedan.com/?p=472</guid>
		<description><![CDATA[<p>You have a collection of photos and want to merge your photos together. Well, if you have a camera, and you snapped them and wanted to join them using any photo editor software to do the <strong>panaroma effect</strong>.</p>
<p>For now TechieDan will be <strong>teaching you how to merge photos to create a panaroma effect</strong> with simple [...]]]></description>
			<content:encoded><![CDATA[<p>You have a collection of photos and want to merge your photos together. Well, if you have a camera, and you snapped them and wanted to join them using any photo editor software to do the <strong>panaroma effect</strong>.</p>
<p>For now TechieDan will be <strong>teaching you how to merge photos to create a panaroma effect</strong> with simple steps using Adobe Photoshop CS3 (<em>yes.. CS4 would roughly work the same way</em>). A year ago, TechieDan paid a heavy price for merging the photos one by one by sticking them together and cutting and paste using Adobe Photoshop CS. With the emergence of <strong>Adobe Photoshop CS3</strong>, the process is now made simple.</p>
<p>Here&#8217;s the expected result.</p>
<p><a href="http://techiedan.com/wp-content/uploads/2009/07/panaroma-techiedan.png"><img class="alignnone size-full wp-image-475" title="Panaroma Help" src="http://techiedan.com/wp-content/uploads/2009/07/panaroma-techiedan.png" alt="Panaroma Help" width="524" height="222" /></a></p>
<p>Impressive? Here&#8217;s how to do it?</p>
<p><span style="text-decoration: underline;"><strong>Step 1</strong></span></p>
<p><img class="alignnone size-full wp-image-473" title="Menu Photoshop Panaroma" src="http://techiedan.com/wp-content/uploads/2009/07/photo-panaroma.jpg" alt="Menu Photoshop Panaroma" width="400" height="567" /></p>
<p><strong>Select Photomerge and the next screen will come up in Step 2</strong>.</p>
<p><span style="text-decoration: underline;"><strong>Step 2</strong></span></p>
<p><img class="alignnone size-full wp-image-474" title="Browse For Photos" src="http://techiedan.com/wp-content/uploads/2009/07/browse-for-panaroma.jpg" alt="Browse For Photos" width="562" height="365" /></p>
<p>Now you can play around with it, or just <strong>set it to Auto</strong> and search for files using the <strong>Browse&#8230;</strong> button. Do not overload with too many photos or you will face a very long downtime of joining the photos together. It takes up loads of memory.</p>
<p>Here&#8217;s the effect after joining 6 photos together.</p>
<p><img class="alignnone size-full wp-image-476" title="Photoshop Sidebar" src="http://techiedan.com/wp-content/uploads/2009/07/collection-of-photos.jpg" alt="Photoshop Sidebar" width="213" height="361" /></p>
<p>So you have it, the above photo was basically joined by 6 different photos. Not bad? If you a better way or any other way to do panaroma with other softwares, why not drop a comment?</p>
]]></content:encoded>
			<wfw:commentRss>http://techiedan.com/2009/07/07/merging-your-photos-photoshop-cs3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

