<?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>Dan Murphy&#039;s Blog &#187; Codeing/Development</title>
	<atom:link href="http://www.danieltmurphy.com/category/codeingdevelopment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danieltmurphy.com</link>
	<description>You have to grow up, but you can be immature your whole life</description>
	<lastBuildDate>Sun, 05 Feb 2012 18:23:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Internet Connectivity Lost But Wireless Still Connected</title>
		<link>http://www.danieltmurphy.com/internet-connectivity-lost-reset/</link>
		<comments>http://www.danieltmurphy.com/internet-connectivity-lost-reset/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 17:02:38 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Router]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1748</guid>
		<description><![CDATA[So after buying my new router I had to run the following commands on my laptops.  What kept happening is they would keep the wifi connection but lose the internet connection.  After running these little commands on 2 of our laptops everything has been great so looks like this might be the solution: Reset WINSOCK [...]]]></description>
			<content:encoded><![CDATA[<p>So after buying my new router I had to run the following commands on my laptops.  What kept happening is they would keep the wifi connection but lose the internet connection.  After running these little commands on 2 of our laptops everything has been great so looks like this might be the solution:</p>
<p>Reset WINSOCK entries to installation defaults: <strong>netsh winsock reset catalog</strong></p>
<p>Reset IPv4 TCP/IP stack to installation defaults. <strong>netsh int ipv4 reset reset.log</strong></p>
<p>Reset IPv6 TCP/IP stack to installation defaults. <strong>netsh int ipv6 reset reset.log</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/internet-connectivity-lost-reset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Fonts Website</title>
		<link>http://www.danieltmurphy.com/new-fonts-website/</link>
		<comments>http://www.danieltmurphy.com/new-fonts-website/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 19:18:16 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Fonts]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1598</guid>
		<description><![CDATA[Well you can never have too many websites for fonts and of course since websites come and go figured I should add another one to the list so I dont forget.. FontPark]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1599" title="fontpark" src="http://www.danieltmurphy.com/wp-content/uploads/2010/10/fontpark.jpg" alt="" width="203" height="147" />Well you can never have too many websites for fonts and of course since websites come and go figured I should add another one to the list so I dont forget..</p>
<p><a href="http://www.fontpark.net/">FontPark</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/new-fonts-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rollover effects with jQuery</title>
		<link>http://www.danieltmurphy.com/rollover-effects-with-jquery/</link>
		<comments>http://www.danieltmurphy.com/rollover-effects-with-jquery/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 23:57:30 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1579</guid>
		<description><![CDATA[Well laura wanted to do some roll over effects on one of her sites so I had to figure out how to do that.  Well after lots of searching this was the solution I came up with. First download jquery.js and upload it to the server Second add these lines of code to your header.php [...]]]></description>
			<content:encoded><![CDATA[<p>Well laura wanted to do some roll over effects on one of her sites so I had to figure out how to do that.  Well after lots of searching this was the solution I came up with.</p>
<p>First <a href="http://jquery.com/">download jquery.js</a> and upload it to the server</p>
<p>Second add these lines of code to your header.php or scripts section of your site:</p>
<pre>&lt;script type='text/javascript' src='location of jquery script'&gt;&lt;/script&gt;

&lt;script type='text/javascript'&gt;
 $(document).ready(function(){
 $("img.a").hover(
 function() {
 $(this).stop().animate({"opacity": "0"}, "slow");
 },
 function() {
 $(this).stop().animate({"opacity": "1"}, "slow");
 });
 });
 &lt;/script&gt;
</pre>
<p>Then edit the CSS of your site and add these classes (styling may vary!):</p>
<pre>
div.fadehover {
 position: relative;
 height: 238px; /*this is to space your images*/
 width: 360px;
 }

img.a {
 position: absolute;
 left: 0;
 top: 0;
 z-index: 10;
 border: 2px;
 border-style:solid;
 border-color: black;
 padding: 5px 5px 5px 5px;
 }

img.b {
 position: absolute;
 left: 0;
 top: 0;
 border: 2px;
 border-style:solid;
 border-color: black;
 padding: 5px 5px 5px 5px;
 }
</pre>
<p>Then you will just need to add these lines to your page:</p>
<pre>
&lt;div class="fadehover"&gt;
 &lt;img src="startimage.jpg" class="a" alt="" /&gt;
 &lt;img src="endimage.jpg" class="b" alt="" /&gt;
 &lt;/div&gt;
</pre>
<p>After doing that you should have your achieved effect of the roll over and image swap</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/rollover-effects-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move\Copy Most Recent File</title>
		<link>http://www.danieltmurphy.com/copy-most-recent-file/</link>
		<comments>http://www.danieltmurphy.com/copy-most-recent-file/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 16:57:42 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[automation]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1561</guid>
		<description><![CDATA[Well I am always trying to find a way to automate my backups.  So I already have my webserver setup to run a cpanel automated backup on Monday&#8217;s, after a little script change to handle the new LunarPages theme &#8216;LP3&#8242; and now I wrote a little batch file to push the most recent backup to [...]]]></description>
			<content:encoded><![CDATA[<p>Well I am always trying to find a way to automate my backups.  So I already have my webserver setup to run a <a href="automated-cpanel-full-backups/" target="_blank">cpanel automated backup</a> on Monday&#8217;s, after a little script change to handle the new LunarPages theme &#8216;LP3&#8242; and now I wrote a little batch file to push the most recent backup to my Dropbox account.  This way I have an offsite backup of my website as well.  The script to get the most recent file is pretty straight forward but it did take me a while to figure it out:</p>
<p><span style="color: #ff0000;"><em>&#8211;this Deletes the existing files</em></span><span style="color: #ff0000;"><em><br />
del/q &#8220;C:\Documents and Settings\Dan Murphy\My Documents\My Dropbox\*.tar.gz&#8221;<br />
&#8211;this adds a pause for 45 seconds<br />
</em><em>ping -n 45 127.0.0.1 &gt; NUL 2&gt;&amp;1<br />
&#8211;this sets up the variables<br />
set backupcmd=c:\windows\system32\xcopy.exe /c /d /e /h /r /y<br />
set dt=%date:~7,2%.%date:~10,4%<br />
&#8211;this runs the commnd<br />
%backupcmd% &#8220;c:\source\&#8221;*%dt%*.tar.gz &#8220;C:\Destination&#8221;</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/copy-most-recent-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving WordPress to Another Server</title>
		<link>http://www.danieltmurphy.com/moving-wordpress/</link>
		<comments>http://www.danieltmurphy.com/moving-wordpress/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 15:44:39 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1490</guid>
		<description><![CDATA[For those who have had to move wordpress you probably have found it a little tedious as there is no quick way to pick it up and move to another server.  Well I have moved a bunch of sites from my development server to their respective production environments so I have the process down.  Below [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-1491 alignleft" title="WordPress" src="http://www.danieltmurphy.com/wp-content/uploads/2010/08/WordPress-150x150.jpg" alt="" width="150" height="150" />For those who have had to move wordpress you probably have found it a little tedious as there is no quick way to pick it up and move to another server.  Well I have moved a bunch of sites from my development server to their respective production environments so I have the process down.  Below is a checklist of how to move from server to server.</p>
<ol>
<li>Move all the files from the WordPress directory to the main server (I find it easier to zip everything the transfer that one file and then unzip on the server)</li>
<li>Edit the wp-config.php file in the root folder to have the correct connection information on the new server</li>
<li>Dump the database to a file using the <em>mysqldump</em> command (<a href="/mysql-dump-and-load-commands/" target="_blank">See Post</a>)</li>
<li>Re-import the dumped data file to the new server using the <em>mysql</em> command (<a href="/mysql-dump-and-load-commands/" target="_blank">See Post</a>)</li>
<li>Log into the production server and run the following two SQL lines:
<ol>
<li>update wp_posts set post_content = replace(post_content,&#8217;<em><strong>DEVSERVERURL</strong></em><strong><em></em></strong>&#8216;,&#8217;<em><strong>PRODSERVERURL</strong></em><strong><em></em></strong>&#8216;);</li>
<li>update wp_options set option_value = replace(option_value,&#8217;<em><strong>DEVSERVERURL</strong><strong></strong></em>&#8216;,&#8217;<em><strong>PRODSERVERURL</strong></em><strong><em></em></strong>&#8216;);</li>
</ol>
</li>
<li>Log into WordPress Admin and double check all the general settings (if you use nextgen you have to re-input everything manually)</li>
<li>Turn off your Dev server (This one is key so you know that you can see if you have any image or anything references pointed back to your old server)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/moving-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add iFrame to WordPress</title>
		<link>http://www.danieltmurphy.com/add-iframe-to-wordpress/</link>
		<comments>http://www.danieltmurphy.com/add-iframe-to-wordpress/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 03:08:02 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1486</guid>
		<description><![CDATA[Wow I finally figured out how to get an iframe into a wordpress post: First edit your functions.php file for your theme and add this code snippet: function field_func($atts) {    global $post;    $name = $atts['name'];    if (empty($name)) return;    return get_post_meta($post-&#62;ID, $name, true); } add_shortcode('field', 'field_func'); Then when writing your post put [...]]]></description>
			<content:encoded><![CDATA[<p>Wow I finally figured out how to get an iframe into a wordpress post:</p>
<p>First edit your functions.php file for your theme and add this code snippet:</p>
<pre><em><strong><code>function field_func($atts) {
   global $post;
   $name = $atts['name'];
   if (empty($name)) return;
   return get_post_meta($post-&gt;ID, $name, true);
}
add_shortcode('field', 'field_func');
</code></strong></em></pre>
<p>Then when writing your post put a custom field in with the title of iframe and for the value put the whole iframe code!  This will save me tons of headaches</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/add-iframe-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting Stubborn Windows Folders</title>
		<link>http://www.danieltmurphy.com/deleting-stubborn-windows-folders/</link>
		<comments>http://www.danieltmurphy.com/deleting-stubborn-windows-folders/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:17:09 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1479</guid>
		<description><![CDATA[Every try to delete a windows folder only to find out that its path is too long and Windows NTFS doesn&#8217;t understand how to delete it?  Well I just had this happen to me as I was unzipping the latest backup of my site to test some stuff out.  What I ended up doing was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1480" title="mbm-SYSTEM-s-CMD.icon" src="http://www.danieltmurphy.com/wp-content/uploads/2010/04/mbm-SYSTEM-s-CMD.icon_.gif" alt="" width="32" height="32" />Every try to delete a windows folder only to find out that its path is too long and Windows NTFS doesn&#8217;t understand how to delete it?  Well I just had this happen to me as I was unzipping the latest backup of my site to test some stuff out.  What I ended up doing was opening a command prompt window and going to the parent directory and then typing:</p>
<p><em>rmdir /s &#8220;really long folder path name&#8221;</em></p>
<p>This will securely delete all sub folders and files and delete the directories regardless of what ISO standards you make have broken with how long the path ends up getting.  I was afraid I was going to have to jump to Linux and use that to delete the folder but this was much easier</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/deleting-stubborn-windows-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows x64 Access Database Connections</title>
		<link>http://www.danieltmurphy.com/windows-x64-access-database-connections/</link>
		<comments>http://www.danieltmurphy.com/windows-x64-access-database-connections/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 00:21:53 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Reference]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1473</guid>
		<description><![CDATA[I have spent many hours dealing with this on my own so I figured I would write down the solution so I wouldn&#8217;t have to research everything again.  If you are running a 64 bit system and need to use *.MDB drivers you need to make sure the following is set: run: &#8220;regsvr32 odbcconf.dll&#8221; from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danieltmurphy.com/wp-content/uploads/2010/03/Video_SQLLink_ODBC.gif"><img class="alignleft size-full wp-image-1474" title="Video_SQLLink_ODBC" src="http://www.danieltmurphy.com/wp-content/uploads/2010/03/Video_SQLLink_ODBC.gif" alt="" width="64" height="64" /></a>I have spent many hours dealing with this on my own so I figured I would write down the solution so I wouldn&#8217;t have to research everything again.  If you are running a 64 bit system and need to use *.MDB drivers you need to make sure the following is set:</p>
<p>run: &#8220;regsvr32 odbcconf.dll&#8221; from c:\windows\Syswow64\</p>
<p>Edit ODBC using: C:\WINDOWS\SysWOW64\odbcad32.exe</p>
<p>That will save you many hours of frustration with x64 systems</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/windows-x64-access-database-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test post with wptogo</title>
		<link>http://www.danieltmurphy.com/test-post-with-wptogo/</link>
		<comments>http://www.danieltmurphy.com/test-post-with-wptogo/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 05:53:39 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/test-post-with-wptogo/</guid>
		<description><![CDATA[I am just testing wptogo android app for wordpress]]></description>
			<content:encoded><![CDATA[<p>I am just testing wptogo android app for wordpress</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/test-post-with-wptogo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VBS Script to Delete Old Files</title>
		<link>http://www.danieltmurphy.com/vbs-script-to-delete-old-files/</link>
		<comments>http://www.danieltmurphy.com/vbs-script-to-delete-old-files/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 20:07:18 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Codeing/Development]]></category>
		<category><![CDATA[automation]]></category>

		<guid isPermaLink="false">http://www.danieltmurphy.com/?p=1427</guid>
		<description><![CDATA[I have setup my web hosting service to FTP my full backup of my website every Monday.  While this automation is great I forgot about one thing to maintain.  With each one of these backup files being about 1GB it can start to take up a lot of space if you do not clean up [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danieltmurphy.com/wp-content/uploads/2009/10/scripts.png"><img class="alignleft size-full wp-image-1429" title="scripts" src="http://www.danieltmurphy.com/wp-content/uploads/2009/10/scripts.png" alt="scripts" width="48" height="48" /></a>I have setup my web hosting service to FTP my full backup of my website every Monday.  While this automation is great I forgot about one thing to maintain.  With each one of these backup files being about 1GB it can start to take up a lot of space if you do not clean up your older files!</p>
<p>So after searching around I came around the .vbs script that looks at the directory and deletes any file older than a specified number of days.  In this case I have chosen 60 days.  Now a few things to remember, make sure you keep backing up your site if you are running this file otherwise you will delete all of your backups if it is long than 60 days since your last backup!  Using Windows scheduler I have made this run shortly after I receive my latest backup file from my web host.  This makes my backup process totally automated now even for maintaining files!</p>
<p><a href="http://www.danieltmurphy.com/wp-content/uploads/2009/10/Delete-Files-Older-than-60-Days.zip">Delete Files Older than 60 Days</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.danieltmurphy.com/vbs-script-to-delete-old-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 17/75 queries in 0.090 seconds using disk: basic
Object Caching 769/861 objects using disk: basic

Served from: www.danieltmurphy.com @ 2012-02-07 03:33:09 -->
