<?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"
	>

<channel>
	<title>Design By Blake</title>
	<atom:link href="http://www.designbyblake.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.designbyblake.com</link>
	<description>Ramblings of a Web Designer</description>
	<pubDate>Sun, 04 May 2008 23:45:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>I Get Git</title>
		<link>http://www.designbyblake.com/archives/60</link>
		<comments>http://www.designbyblake.com/archives/60#comments</comments>
		<pubDate>Sun, 04 May 2008 23:41:05 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Ruby On Rails]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[Git]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/?p=60</guid>
		<description><![CDATA[For the longest time I've been wanting to start using version control on my projects.  I never really had the time to look into the options that are available to me.  Recently  Ruby On Rails officially switched away from subversion and over to Git.  Since I use rails this seemed like [...]]]></description>
			<content:encoded><![CDATA[<p>For the longest time I've been wanting to start using version control on my projects.  I never really had the time to look into the options that are available to me.  Recently <a href="http://www.rubyonrails.org"> Ruby On Rails</a> officially switched away from subversion and over to <a href="http://git.or.cz/">Git</a>.  Since I use rails this seemed like a logical place to start.</p><blockquote class="fr">If I want to try something new or risky I can just make a new branch and start coding</blockquote><p>Since Git isn't the easiest thing in the world to learn, I thought that I would turn to the internet for help.  There are 2 great Git resources available over at <a href="www.peepcode.com"> PeepCode.com</a> the Git screen cast and Git Internals PDF.  I highly recommend the PDF,  it explains the how to's of Git very well and as a bonus comes with 8 mini screencasts for only $9.</p><p>What I really like about Git is my ability to experiment.  If I want to try something new or risky I can just make a new branch and start coding.  If it works I can merge it into my master branch, if it doesn't work I just switch to a different branch and forget about it.</p><p>The only downside (that I see) to Git is that it doesn't run natively on windows, which I unfortunately use.  However there is a tool <a href="http://git.or.cz/">MysysGit</a> available through Google Code.  It doesn't have all the features of Git but pretty close.</p><p>While I'm not saying that Git is the answer for everyone or every project but I have a feeling that it will change the way I develop from here on out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/60/feed</wfw:commentRss>
		</item>
		<item>
		<title>Lexar Jump Drive Goes Swimming</title>
		<link>http://www.designbyblake.com/archives/57</link>
		<comments>http://www.designbyblake.com/archives/57#comments</comments>
		<pubDate>Wed, 16 Apr 2008 03:18:14 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Jump Drive]]></category>

		<category><![CDATA[Lexar]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/?p=57</guid>
		<description><![CDATA[I have an old Lexar jump drive, 256MB total storage.  I bought it for a $40 when it first came out to replace an old 128MB drive.  I didn&#8217;t think it could get better than 256MB in my pocket.
not one, not two but three, count them, three loads in the washer.As technology advanced [...]]]></description>
			<content:encoded><![CDATA[<p>I have an old Lexar jump drive, 256MB total storage.  I bought it for a $40 when it first came out to replace an old 128MB drive.  I didn&#8217;t think it could get better than 256MB in my pocket.</p>
<blockquote class="fl">not one, not two but three, count them, three loads in the washer.</blockquote><p>As technology advanced and prices drop I replaced my old Lexar jump drive with a 2 Gigabyte jump drive from Sony for a small fee of $20.  Well this drive lasted about 2 months before crapping out.  So now I&#8217;m back to the old standby, the Lexar with 256MB of storage.</p>
<p>Well I lost the Lexar, I just couldn&#8217;t find the thing.  I looked all over the house to no avail.  Then I remembered it was in my pocket of my jeans which had gone through the two cycles in the dryer.  I figured it was fried, but it wasn&#8217;t because it never made it to the dryer.  It had fallen out in the washer and gone through not one, not two but three, count them, three loads in the washer.</p>
<p>I found it in the bottom of the washer when transferring the wash.  Now I should have mentioned that the little light had fallen out.  So when I picked it up, a little water exited from the open hole in the plastic.  I assumed that all was lost.</p>
<p>I dried it with a paper towel and plugged it in.  All data was corrupted, jpegs didn&#8217;t display right, PDFs were not readable.  I lost everything.  I put the drive on the table and forgot to throw it out.  The next day, I plugged it in again.  Everything was there, in all its glory.  It dried overnight and worked great.  Now my friends that is a quality product.  Lexar I tip my hat to you.</p> ]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/57/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Hits Keep Coming</title>
		<link>http://www.designbyblake.com/archives/55</link>
		<comments>http://www.designbyblake.com/archives/55#comments</comments>
		<pubDate>Tue, 08 Apr 2008 03:50:40 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Ruby On Rails]]></category>

		<category><![CDATA[Google]]></category>

		<category><![CDATA[SMS_FU]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/?p=55</guid>
		<description><![CDATA[I was checking my Google Analytics account today and noticed a recent spike in page views.  As this blog is new and I'm not anyone of terrible importance in the web community I found this odd. 
my article was number one on page oneA lot of traffic is coming from Google and after looking [...]]]></description>
			<content:encoded><![CDATA[<p>I was checking my Google Analytics account today and noticed a recent spike in page views.  As this blog is new and I'm not anyone of terrible importance in the web community I found <br />this odd. </p>
<blockquote class="fl">my article was number one on page one</blockquote><br /><p>A lot of traffic is coming from Google and after looking at the keywords searched I found it was for an <a href="http://www.designbyblake.com/archives/50">article I wrote</a> on the <a href="http://brendanlim.com/2008/3/31/sms-fu-now-with-international-support">SMS_FU plugin</a> for <a href="http://www.rubyonrails.org">Ruby on Rails</a>.</p>
<p>I did a quick Google search on SMS_FU and found that my article was number one on page one.  Rather weird if you ask me and some crappy indexing by Google.  One would think that the author of this plugin, <a href="http://brendanlim.com/">Brendan G. Lim</a> would rank higher.  I guess I'll never grasp how indexing works.</p>]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/55/feed</wfw:commentRss>
		</item>
		<item>
		<title>What browser?</title>
		<link>http://www.designbyblake.com/archives/53</link>
		<comments>http://www.designbyblake.com/archives/53#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:45:30 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Web Design]]></category>

		<category><![CDATA[onload]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/53</guid>
		<description><![CDATA[On occasion, many occasions, web browsers don't treat javascript the same way.  Usually the issue is with Internet Explorer not acting like other browsers, so it can be useful to know if your user's browser is IE or not.  Here is a little function that can tell you what browser is being used.

function [...]]]></description>
			<content:encoded><![CDATA[<p>On occasion, many occasions, web browsers don't treat javascript the same way.  Usually the issue is with Internet Explorer not acting like other browsers, so it can be useful to know if your user's browser is IE or not.  Here is a little function that can tell you what browser is being used.</p>
<textarea name="code" class="javascript">
function browser() { // Detect Browser
	var IE = (document.all) ? 1 : 0;
	var DOM = 0;
	if (parseInt(navigator.appVersion) &gt;=5) {DOM=1};
	if (DOM) {
		alert("You are NOT using IE") //replace with non IE instructions
	}else if(IE) {
		alert("You ARE using IE") //replace with IE instructions
	}
}
</textarea>

]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/53/feed</wfw:commentRss>
		</item>
		<item>
		<title>Flickr</title>
		<link>http://www.designbyblake.com/archives/52</link>
		<comments>http://www.designbyblake.com/archives/52#comments</comments>
		<pubDate>Tue, 18 Mar 2008 04:16:39 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/52</guid>
		<description><![CDATA[ I recently got a Nikon D-80.  I say got and not purchased because the camera came from a now defunct website, ShopFreePay.com. The site had members try different offers to earn products.  I tried Vonage, Gamefly, The New York Times and more.  In the end I got the camera for about [...]]]></description>
			<content:encoded><![CDATA[<p> I recently got a Nikon D-80.  I say got and not purchased because the camera came from a now defunct website, ShopFreePay.com. The site had members try different offers to earn products.  I tried Vonage, Gamefly, The New York Times and more.  In the end I got the camera for about $250, which included the cost of a case of wine.  Not a bad deal.</p>
<blockquote class="fr">The Flickr feed will show the last 30 pictures</blockquote>
<p>Since I have a nice new camera, I thought that I should renew my <a href="http://www.flickr.com">Flickr</a> Pro account.  I have also added a Flickr feed to the side bar.  I used the <a href="http://phpflickr.com/">PHP Flickr</a> as the code wrapper and integrated it with the<a href="http://www.cabel.name/2008/02/fancyzoom-10.html">Fancy Zoom</a> javascript.</p>
<p>The Flickr feed will show the last 30 pictures that have been uploaded.  I hope you enjoy them.  If you want feel free to <a title="View my Flickr account" href="http://www.flickr.com/photos/designbyblake/">view my Flickr account.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/52/feed</wfw:commentRss>
		</item>
		<item>
		<title>SMS_Fu</title>
		<link>http://www.designbyblake.com/archives/50</link>
		<comments>http://www.designbyblake.com/archives/50#comments</comments>
		<pubDate>Sat, 01 Mar 2008 03:36:35 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Ruby On Rails]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/50</guid>
		<description><![CDATA[There is a great new Ruby on Rails plugin that I found over at Rails Lodge called SMS_fu created by Brendan Lim.  SMS_Fu allows you to send text messages to cell phone by providing a phone number, service provider and message.I think this plugin could be quite useful for a few projects that  [...]]]></description>
			<content:encoded><![CDATA[<p>There is a great new Ruby on Rails plugin that I found over at <a href="http://www.railslodge.com">Rails Lodge</a> called <a href="http://www.railslodge.com/plugins/962-sms-fu">SMS_fu</a> created by <a href="http://brendanlim.com/">Brendan Lim</a>.  SMS_Fu allows you to send text messages to cell phone by providing a phone number, service provider and message.I think this plugin could be quite useful for a few projects that  I am working on.  Anyway I found that the install didn&#8217;t work quite right so here are the instructions on how to fix them.</p>
<ol>
<li>Install plugin - ruby script/plugin install http://sms-fu.googlecode.com/svn/trunk/sms_fu</li>
<li>Move sms_fu.rb &#038; sms_notifier.rb from vendor/plugins/sms_fu/lib to the lib folder</li>
<li>Move sms_fu_tasks.rake from vendor/plugins/sms_fu/tasks to lib/tasks</li>
<li>Move the folder sms_notifier from plugins/sms_fu/views to the app/views folder</li>
<li>Update sms_fu.yml with a response address - note this file does install correctly with the install of the plugin</li>
<li>Open sms_notifier.rb in the lib folder. Change &#8220;#{File.dirname(__FILE__)}/../views&#8221; to &#8220;#{File.dirname(__FILE__)}/../app/views&#8221; in def template_root.</li>
<li>Make sure you have the ActionMailer setup</li>
<li>Add &#8220;include SMSFu&#8221; to your controller</li>
<li>Modify sms_fu.yml in your config folder with your reply-to e-mail address. (This file does install correctly)</li>
<li>Put this code in to an action in your controller, &#8220;deliver_sms(&#8221;5558675309&#8243;,&#8221;AT&#038;T&#8221;,&#8221;your message here&#8221;)&#8221;.  Change Tommy Two Tones phone number to yours, the service provider to the correct one and the message to what you want.</li>
</ol>
<p>That is it, this plugin works great and I thank Brendan for sharing it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/50/feed</wfw:commentRss>
		</item>
		<item>
		<title>Add to Window on Load</title>
		<link>http://www.designbyblake.com/archives/49</link>
		<comments>http://www.designbyblake.com/archives/49#comments</comments>
		<pubDate>Wed, 27 Feb 2008 03:58:09 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/49</guid>
		<description><![CDATA[
One of the things I would like to do with this blog is to share some of the code that I use on a daily basis.  Over the last year I  found that I was using the same functions over and over again.  I was going through old code pulling out the [...]]]></description>
			<content:encoded><![CDATA[
<p>One of the things I would like to do with this blog is to share some of the code that I use on a daily basis.  Over the last year I  found that I was using the same functions over and over again.  I was going through old code pulling out the functions I needed.  This was time consuming because I didn't always remember where I used the code I needed.</p>
<blockquote class="fl">So when I need to find a function, there it is.</blockquote>
<p>I have started collecting code snippets to use and reuse in my projects, essentially creating my own code library.  I recommend that any coder start this practice as it has saved me a lot of time.</p>
<p>I save each function or set of related functions together in a file that I save into a folder named after the language.  So when I need to find a function, there it is.</p>
<p>I thought I would start off by sharing a most useful javascript function, Add to Window on Load.  This function is useful on larger sites where you don't have access to add functions to the original window.onLoad().</p>
<textarea name="code" class="javascript">
/*
This function adds events to window.onload functions without overwriting them.  
If no window.onload function exists it still works.
This function must be loaded after the existing window.onload function.
If it is loaded first the window.onload function will be overwritten by another script.
*/

function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			if (oldonload) {
		    	oldonload();
		    }
		    func();
		}
	}
}

/*
Use code below if you are adding just one function
Change the text between the () to be the name of your function. 
Do not add (); to your function name
*/
addLoadEvent(PutTheNameOfYourFunctionHere);

/*
Use code below to add more than on function to a page.  
DO ADD (); to the function name
The code below will add the functions t1,t2 &amp; t3 to the window on load event.
*/
addLoadEvent(function() {
  t1();
  t2();
  t3();
});</textarea>
<p>That is it, pretty straight forward.  I would like to point out that I did not write this code.  Unfortunately I don't remember who wrote this, so if you know let me so they can get the credit they deserve.  If you have any questions, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/49/feed</wfw:commentRss>
		</item>
		<item>
		<title>Design By Blake is back</title>
		<link>http://www.designbyblake.com/archives/48</link>
		<comments>http://www.designbyblake.com/archives/48#comments</comments>
		<pubDate>Thu, 14 Feb 2008 02:51:52 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/48</guid>
		<description><![CDATA[Welcome to Designbyblake.com, online home to Dan Blake, professional web designer.  Currently I work full-time for a large printing company as an in house web designer.
The thing is, the term web designer is rather generic.  I work on  a team of 7 "web designers" each one of us with different strengths and [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Designbyblake.com, online home to Dan Blake, professional web designer.  Currently I work full-time for a large printing company as an in house web designer.</p>
<p>The thing is, the term web designer is rather generic.  I work on  a team of 7 "web designers" each one of us with different strengths and weaknesses.  My biggest weakness, design or rather visual design.  My biggest strength is code, all kinds of code, XHTML, CSS,  Javascript, Action Script, PHP and Ruby on Rails.</p>
<p>I'm just a big code geek and while I don't claim to be an expert in all of these scripts/languages I'm pretty good in all of them.  Better in some than others but good in them all.</p>
<blockquote class="fr">XHTML, CSS,  Javascript, Action Script, PHP and Ruby on Rails</blockquote>
<p>I know that may sound somewhat egotistical but I like to think of it as being confident.  Anyhow that really brings us back to the point of this blog and the title, "Design By Blake is back."</p>
<p>I had started this blog a few years ago.  Somewhere along the way it lost its way and I lost my desire to write.  So it sat dormant for a little over a year.  I recently decided to restart the blog.  I deleted the old posts and thought I would start fresh.</p>
<p>Future posts for this blog will focus on web design, creating websites and code.  The posts will just be my point of view and hopefully you'll learn something you don't know or better yet you can comment and teach me a thing or two.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/48/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dan is on Rails</title>
		<link>http://www.designbyblake.com/archives/47</link>
		<comments>http://www.designbyblake.com/archives/47#comments</comments>
		<pubDate>Sun, 09 Sep 2007 04:33:42 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
		
		<category><![CDATA[Ruby On Rails]]></category>

		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.designbyblake.com/archives/47</guid>
		<description><![CDATA[<p>So it has been a little over a year since my last post and this blog will disappear within the next few months but I thought what the hell, it is time to post.</p>]]></description>
			<content:encoded><![CDATA[<p>So it has been a little over a year since my last post and this blog will disappear within the next few months but I thought what the hell, it is time to post.</p>
<blockquote class="fl">Think of Basecamp just custom built for my current employer.</blockquote>
<p>Just as the title says, I've jumped on the <a href="http://www.rubyonrails.org">Ruby on Rails</a> bandwagon and the bandwagon is awesome. For those of you who haven't checked out <a href="http://www.rubyonrails.org">Ruby on Rails</a> yet go now.  It is still very young as far as frameworks go, but I'm willing to bet that it will keep growing year after year.</p>
<p>I've played with a few different frameworks over the years and this is by far the best.  The thing I enjoy best about Rails is the fact that it is a MVC (Model, View, Contoller).  For those of you unfamiliar with this concept it is a great way to code that focuses on DRY (Don't Repeat Yourself).  Bottom line is less code to make your site work.</p>
<p>I have to say I really enjoy coding Rails and would really like to make it a full time job.  I'm still very new to the whole community but I'm starting to launch some new projects.</p>
<p>I've just launched a new work order list for my full time job.  Think of <a href="http://www.basecamp.com">Basecamp</a> just custom built for my current employer.  Unfortunately I can't share the URL, since it is for work, but I'm proud of my work.  It is the first time in a long time that developing a dynamic website was actually fun.</p>]]></content:encoded>
			<wfw:commentRss>http://www.designbyblake.com/archives/47/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
