<?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>garywaddell.com</title>
	<atom:link href="http://garywaddell.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://garywaddell.com</link>
	<description>Gary Waddell</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:14:51 +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>Understanding Simple Positioning with CSS</title>
		<link>http://garywaddell.com/2012/01/25/understanding-simple-positioning-with-css/</link>
		<comments>http://garywaddell.com/2012/01/25/understanding-simple-positioning-with-css/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 15:14:44 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=398</guid>
		<description><![CDATA[While learning CSS, the one thing I kept (and keep) messing up was the ability to position elements correctly.  I found I had a hard time getting the correct way to use position absolute and relative.  The trick that I was taught was when you use position: absolute to define your specific co-ordinates (ie top: [...]]]></description>
			<content:encoded><![CDATA[<p>While learning CSS, the one thing I kept (and keep) messing up was the ability to position elements correctly.  I found I had a hard time getting the correct way to use position absolute and relative.  The trick that I was taught was when you use position: absolute to define your specific co-ordinates (ie top: 10, left: 20), you need to make sure that element&#8217;s parent CSS class (ie a container class or ul tag) is defined with the position: relative) and then you&#8217;ll find you can position the children element much easier.</p>
<p>Good luck with it!</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2012/01/25/understanding-simple-positioning-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering with CSS</title>
		<link>http://garywaddell.com/2012/01/25/centering-with-css/</link>
		<comments>http://garywaddell.com/2012/01/25/centering-with-css/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 15:11:42 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=396</guid>
		<description><![CDATA[If you have a container (ie a fixed size frame) and you want to center that container in the page, the traditional, old fashioned way was to use a table or the &#60; center &#62; tag.  With CSS, you simple use this in your container class: margin: 0px auto; You can always use a top [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a container (ie a fixed size frame) and you want to center that container in the page, the traditional, old fashioned way was to use a table or the &lt; center &gt; tag.  With CSS, you simple use this in your container class:</p>
<p>margin: 0px auto;</p>
<p>You can always use a top or bottom padding if you wish to give some space to your container class, but this will keep it centered on the page nicely.</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2012/01/25/centering-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>width:auto width:100%</title>
		<link>http://garywaddell.com/2011/12/07/widthauto-width100/</link>
		<comments>http://garywaddell.com/2011/12/07/widthauto-width100/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 16:03:07 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=390</guid>
		<description><![CDATA[Great article that explains something I know I have had issues with for CSS in the past wondering the difference between width:auto and width: 100%, but not anymore http://www.456bereastreet.com/archive/201112/the_difference_between_widthauto_and_width100/]]></description>
			<content:encoded><![CDATA[<p>Great article that explains something I know I have had issues with for CSS in the past wondering the difference between width:auto and width: 100%, but not anymore <img src='http://garywaddell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.456bereastreet.com/archive/201112/the_difference_between_widthauto_and_width100/" target="_blank">http://www.456bereastreet.com/archive/201112/the_difference_between_widthauto_and_width100/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/12/07/widthauto-width100/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CKEditor &#8211; Change the background color using JavaScript</title>
		<link>http://garywaddell.com/2011/11/01/ckeditor-change-the-background-color-using-javascript/</link>
		<comments>http://garywaddell.com/2011/11/01/ckeditor-change-the-background-color-using-javascript/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 01:34:21 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=378</guid>
		<description><![CDATA[I found a great article on how to change the background color of CKEditor on the fly.  This became a great approach when performing form validation: Link is here, but for a quick reference, here&#8217;s how you reference it: this.document.$.childNodes[1].childNodes[1].style.backgroundColor = 'Blue'; this refers to your CKEditor Instance (CKEDITOR.instances['instanceName'] or CKEDITOR.instances.formFieldIdName)]]></description>
			<content:encoded><![CDATA[<p>I found a great article on how to change the background color of CKEditor on the fly.  This became a great approach when performing form validation:</p>
<p><a href="http://jebaird.com/blog/changing-background-color-ckeditor-instance" target="_blank">Link is here,</a> but for a quick reference, here&#8217;s how you reference it:</p>
<pre><code></code><code>this</code><code>.document.$.childNodes[1].childNodes[1].style.backgroundColor = </code><code>'Blue'</code><code>;</code></pre>
<p><code><strong>this</strong> refers to your CKEditor Instance (CKEDITOR.instances['instanceName'] or CKEDITOR.instances.formFieldIdName)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/11/01/ckeditor-change-the-background-color-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some useful Mac keyboard tips</title>
		<link>http://garywaddell.com/2011/10/07/some-useful-mac-keyboard-tips/</link>
		<comments>http://garywaddell.com/2011/10/07/some-useful-mac-keyboard-tips/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 13:26:05 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=376</guid>
		<description><![CDATA[http://www.usingmac.com/2007/11/21/mac-os-x-leopard-200-productivity-booster-hotkeys]]></description>
			<content:encoded><![CDATA[<p>http://www.usingmac.com/2007/11/21/mac-os-x-leopard-200-productivity-booster-hotkeys</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/10/07/some-useful-mac-keyboard-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSWS3740E: Error: No SSL configuration is available for endpoint</title>
		<link>http://garywaddell.com/2011/10/07/wsws3740e-error-no-ssl-configuration-is-available-for-endpoint/</link>
		<comments>http://garywaddell.com/2011/10/07/wsws3740e-error-no-ssl-configuration-is-available-for-endpoint/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 13:23:01 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[WebServices]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=372</guid>
		<description><![CDATA[You may get this error when you try and run a Java client to a SSL based web service. If you do experience this problem, you need to point to the WAS ssl.client.props file and add the cert to the chain.  You will probably be prompted, and when you do, you&#8217;ll need to answer Y [...]]]></description>
			<content:encoded><![CDATA[<p>You may get this error when you try and run a Java client to a SSL based web service. If you do experience this problem, you need to point to the WAS ssl.client.props file and add the cert to the chain.  You will probably be prompted, and when you do, you&#8217;ll need to answer Y to add this cert to the keystore and you&#8217;ll be good to go from there on.</p>
<p>-Dcom.ibm.SSL.ConfigURL=file:C:\IBM\WebSphere61\AppServer\profiles\AppSrv01\properties\ssl.client.props</p>
<p>There may also be a need to have your client code (either Java or via a websphere deployed app) call into an SSL based web service.  And if so, you will first need to make sure you run the ikeyman utility in the bin folder of WAS and install the cert from the vendor or provider (simply add the cert to the DummyServerTrustFile.</p>
<p>The trick here is having your application know about the trust file.  If you want to make use of your trust files and keystores, thenyou will need to add the following JVM parms in the server instance (note the password is typically WebAS):</p>
<p>-Djavax.net.ssl.trustStore=C:/jks/DummyServerTrustFile.jks -Djavax.net.ssl.trustStorePassword=WebAS -Djavax.net.ssl.keyStore=C:/jks/DummyServerKeyFile.jks -Djavax.net.ssl.keyStorePassword=WebAS</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/10/07/wsws3740e-error-no-ssl-configuration-is-available-for-endpoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Decompiler</title>
		<link>http://garywaddell.com/2011/09/28/java-decompiler/</link>
		<comments>http://garywaddell.com/2011/09/28/java-decompiler/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 13:34:08 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=370</guid>
		<description><![CDATA[Found this Java Decompiler from a colleague.  Very impressive, especially if you use Eclipse http://java.decompiler.free.fr/?q=jdgui]]></description>
			<content:encoded><![CDATA[<p>Found this Java Decompiler from a colleague.  Very impressive, especially if you use Eclipse</p>
<p>http://java.decompiler.free.fr/?q=jdgui</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/09/28/java-decompiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Query String from a JSP</title>
		<link>http://garywaddell.com/2011/07/21/getting-query-string-from-a-jsp/</link>
		<comments>http://garywaddell.com/2011/07/21/getting-query-string-from-a-jsp/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 18:56:31 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=360</guid>
		<description><![CDATA[public String getQueryString(HttpServletRequest req) { Object reqUrlObj = req.getAttribute(&#8220;javax.servlet.forward.query_string&#8221;); StringBuffer result = new StringBuffer(&#8220;&#8221;); if (reqUrlObj != null) { result.append((String)reqUrlObj); } return result.toString(); }]]></description>
			<content:encoded><![CDATA[<p>public String getQueryString(HttpServletRequest req) {<br />
Object reqUrlObj = req.getAttribute(&#8220;javax.servlet.forward.query_string&#8221;);<br />
StringBuffer result = new StringBuffer(&#8220;&#8221;);<br />
if (reqUrlObj != null) {<br />
result.append((String)reqUrlObj);<br />
}<br />
return result.toString();<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/07/21/getting-query-string-from-a-jsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting to and Testing Oracle</title>
		<link>http://garywaddell.com/2011/07/14/connecting-to-and-testing-oracle/</link>
		<comments>http://garywaddell.com/2011/07/14/connecting-to-and-testing-oracle/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 19:56:33 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=358</guid>
		<description><![CDATA[Let me first start by saying, I am not an Oracle expert.  I learn what I need to in order to get things done.  I don&#8217;t go digging into learning Oracle proactively, frankly because I am not a huge fan of it, I still prefer DB2, but enough of that This blog simply talks about [...]]]></description>
			<content:encoded><![CDATA[<p>Let me first start by saying, I am not an Oracle expert.  I learn what I need to in order to get things done.  I don&#8217;t go digging into learning Oracle proactively, frankly because I am not a huge fan of it, I still prefer DB2, but enough of that <img src='http://garywaddell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This blog simply talks about the quick items you need to know to about creating a database, connecting to and testing the datababase using SQLPlus, user IDs/password, roles etc etc.</p>
<p>So first, to create the database, I use the Database Configuration Assistant to create the database.  There are some very important things you need to remember, the SID and the password.  For the most part, all other settings you see in the UI can be defaulted, although you may want to set the character set to UTF-8 as you go thru the screens.  So write down the SID (choice of your name) and the password.</p>
<p>Let&#8217;s explain some things a bit here with Oracle.  When you create a database, you typically will create a user and assign your tables (or schema) to that user.  It takes a bit of getting used to this approach if you are a DB2 or mySQL person.  The best way to create a user and assign that user to the database is to use SQL Developer, a free download UI program from Oracle, strongly recommend this.</p>
<p>Once that is done, you&#8217;ll want to make sure you can connect to the SID (or the database).  So here&#8217;s your intro into SQLPlus.</p>
<ol>
<li>Run SQLPlus from a cmd prompt using this command: sqlplus /nolog</li>
<li>Run this: connect &lt;userid/schemaname&gt;/&lt;password&gt;@dbname-aka-sid (optionally include as sysdba on the end of the command if you need system access).  Alternatively, you can run this command connect sys/&lt;password&gt;@&lt;dbname&gt; as sysdba to connect as the root user of the database.</li>
</ol>
<p>Now if this works, you&#8217;ll see a message indicating the connection was successful (ie connected message shows).</p>
<p>A note about roles.</p>
<p>Oracle ships some default roles, and the ones you will probably be most interested in is the sys and sysdba user.  I tend to think of sys as the root user of the database and sysdba as the role of the database.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/07/14/connecting-to-and-testing-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Background Image Hacks</title>
		<link>http://garywaddell.com/2011/07/10/css-background-image-hacks/</link>
		<comments>http://garywaddell.com/2011/07/10/css-background-image-hacks/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 12:50:06 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=354</guid>
		<description><![CDATA[Great article on CSS some great things you can do with CSS Background Images: http://nicolasgallagher.com/css-background-image-hacks/]]></description>
			<content:encoded><![CDATA[<p>Great article on CSS some great things you can do with CSS Background Images:</p>
<p><a title="CSS Background Image Hacks" href="http://nicolasgallagher.com/css-background-image-hacks/">http://nicolasgallagher.com/css-background-image-hacks/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/2011/07/10/css-background-image-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

