<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

try {
var pageTracker = _gat._getTracker("UA-413112-1");
pageTracker._trackPageview();
} catch(err) {}</description><title>TREVOR.MORSE</title><generator>Tumblr (3.0; @trevormorse)</generator><link>http://trevormorse.com/</link><item><title>Great advice!</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kwk5mw6qkX1qawqoqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Great advice!&lt;/p&gt;</description><link>http://trevormorse.com/post/344594035</link><guid>http://trevormorse.com/post/344594035</guid><pubDate>Wed, 20 Jan 2010 13:20:56 -0500</pubDate></item><item><title>After MANY hours of play this is exactly how I feel!</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_kvvrkt1oYo1qawqoqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;After MANY hours of play this is exactly how I feel!&lt;/p&gt;</description><link>http://trevormorse.com/post/321591103</link><guid>http://trevormorse.com/post/321591103</guid><pubDate>Thu, 07 Jan 2010 09:14:53 -0500</pubDate></item><item><title>Metro 2033. Had not heard about this before today, but looks...</title><description>&lt;object id="ignplayer" width="480" height="270" data="http://media.ign.com/ev/embed.swf" type="application/x-shockwave-flash"&gt;&lt;param name="movie" value="http://media.ign.com/ev/embed.swf" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;param name="flashvars" value="vgroup=Metro2003_trl_TheLastRefuge_102209&amp;object=39148" /&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Metro 2033. Had not heard about this before today, but looks amazing along the lines of Fallout 3.&lt;/p&gt;</description><link>http://trevormorse.com/post/319860760</link><guid>http://trevormorse.com/post/319860760</guid><pubDate>Wed, 06 Jan 2010 09:40:00 -0500</pubDate><category>xbox360</category><category>games</category></item><item><title>If this is real you can count me out for NATAL and 3D...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/h5W7Eu36JYs&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/h5W7Eu36JYs&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;If this is real you can count me out for NATAL and 3D shooters…&lt;/p&gt;</description><link>http://trevormorse.com/post/316669239</link><guid>http://trevormorse.com/post/316669239</guid><pubDate>Mon, 04 Jan 2010 14:10:41 -0500</pubDate></item><item><title>IGN's Top 25 Xbox 360 Games</title><description>&lt;a href="http://xbox360.ign.com/articles/104/1045042p1.html"&gt;IGN's Top 25 Xbox 360 Games&lt;/a&gt;</description><link>http://trevormorse.com/post/307952674</link><guid>http://trevormorse.com/post/307952674</guid><pubDate>Wed, 30 Dec 2009 08:21:51 -0500</pubDate></item><item><title>Photo</title><description>&lt;img src="http://29.media.tumblr.com/tumblr_kuyk81pbGo1qawqoqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://trevormorse.com/post/291859370</link><guid>http://trevormorse.com/post/291859370</guid><pubDate>Sun, 20 Dec 2009 10:55:12 -0500</pubDate><category>fanboys</category></item><item><title>Running PHP as a Daemon</title><description>&lt;a href="http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/"&gt;Running PHP as a Daemon&lt;/a&gt;</description><link>http://trevormorse.com/post/288242514</link><guid>http://trevormorse.com/post/288242514</guid><pubDate>Thu, 17 Dec 2009 20:58:50 -0500</pubDate></item><item><title>Dependency Injection in PHP</title><description>&lt;a href="http://www.potstuck.com/2009/01/08/php-dependency-injection/"&gt;Dependency Injection in PHP&lt;/a&gt;</description><link>http://trevormorse.com/post/288239883</link><guid>http://trevormorse.com/post/288239883</guid><pubDate>Thu, 17 Dec 2009 20:56:00 -0500</pubDate></item><item><title>Red Dead Redemption </title><description>&lt;a href="http://www.gametrailers.com/video/gameplay-series-red-dead/59977"&gt;Red Dead Redemption &lt;/a&gt;: &lt;p&gt;This looks like it’s going to be awesome!&lt;/p&gt;</description><link>http://trevormorse.com/post/286518631</link><guid>http://trevormorse.com/post/286518631</guid><pubDate>Wed, 16 Dec 2009 16:29:58 -0500</pubDate></item><item><title>Christmas tree is up for this year!</title><description>&lt;img src="http://28.media.tumblr.com/tumblr_kum7llTgLF1qawqoqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Christmas tree is up for this year!&lt;/p&gt;</description><link>http://trevormorse.com/post/282336201</link><guid>http://trevormorse.com/post/282336201</guid><pubDate>Sun, 13 Dec 2009 18:51:24 -0500</pubDate></item><item><title>Saw this tonight, if you get the chance definitely do!</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XwabsKiaRIE&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/XwabsKiaRIE&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Saw this tonight, if you get the chance definitely do!&lt;/p&gt;</description><link>http://trevormorse.com/post/280938653</link><guid>http://trevormorse.com/post/280938653</guid><pubDate>Sat, 12 Dec 2009 20:21:00 -0500</pubDate><category>movies</category></item><item><title>Homemade Gingerbread Latte</title><description>&lt;a href="http://recipecircus.com/recipes/adraxlir/BEVERAGES/Starbucks_Gingerbread_Latte.html"&gt;Homemade Gingerbread Latte&lt;/a&gt;</description><link>http://trevormorse.com/post/280653536</link><guid>http://trevormorse.com/post/280653536</guid><pubDate>Sat, 12 Dec 2009 15:52:00 -0500</pubDate><category>homemade</category><category>latte</category><category>coffee</category></item><item><title>UFO over Norway?</title><description>&lt;a href="http://www.huffingtonpost.com/2009/12/09/ufo-over-norway-residents_n_385810.html"&gt;UFO over Norway?&lt;/a&gt;: &lt;p&gt;UFO Over Norway: Residents Baffled By Mysterious Swirling Blue Light In The Sky (VIDEO)&lt;/p&gt;</description><link>http://trevormorse.com/post/277513334</link><guid>http://trevormorse.com/post/277513334</guid><pubDate>Thu, 10 Dec 2009 08:21:00 -0500</pubDate></item><item><title>New version of web2project</title><description>&lt;p&gt;Web2project v1.2 has been released! It includes 10 new features, over 30 bug fixes, and over 10 miscellaneous improvements. Check out the release notes &lt;a title="web2project v1.2 release notes" target="_blank" href="http://wiki.web2project.net/index.php?title=V1.2_Release_Notes#Installation_Instructions"&gt;here&lt;/a&gt;, or get to downloading &lt;a title="Download web2project" target="_blank" href="http://sourceforge.net/projects/web2project/files/"&gt;here&lt;/a&gt;.&lt;/p&gt;</description><link>http://trevormorse.com/post/276442888</link><guid>http://trevormorse.com/post/276442888</guid><pubDate>Wed, 09 Dec 2009 14:54:37 -0500</pubDate></item><item><title>Google LatLong: Changing your perspective</title><description>&lt;a href="http://google-latlong.blogspot.com/2009/12/changing-your-perspective.html?utm_source=feedburner"&gt;Google LatLong: Changing your perspective&lt;/a&gt;</description><link>http://trevormorse.com/post/274799637</link><guid>http://trevormorse.com/post/274799637</guid><pubDate>Tue, 08 Dec 2009 11:23:00 -0500</pubDate><category>google</category><category>maps</category></item><item><title>Regex for restricting length of field in javascript with multiple lines</title><description>&lt;p&gt;So recently I have been doing some work in Wordpress and more specifically the &lt;a title="cforms plugin" target="_blank" href="http://www.deliciousdays.com/cforms-plugin/"&gt;cformsII&lt;/a&gt; plugin. This is a great plugin for generating quick forms, however it does it’s validation in javascript.&lt;/p&gt;
&lt;p&gt;One of the requirements was for a multi-line text input that was no longer then 500 characters. This is easily done with the plugin, but the regex generated looks like this.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;^.{0,500}&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The problem with this is that it will match any character except the newline up to 500. Obviously for a multi-line text input you want to allow newlines. The javascript character for matching any whitespace character including newlines is \s and matching any character other then whitespace is \S. So if you change the javascript for validation to the following it will match any character, including newlines up to 500 characters.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;^[\s\S]{0,500}&lt;/b&gt;&lt;/p&gt;</description><link>http://trevormorse.com/post/273199592</link><guid>http://trevormorse.com/post/273199592</guid><pubDate>Mon, 07 Dec 2009 08:55:00 -0500</pubDate><category>javascript</category><category>regex</category><category>wordpress</category><category>cformsII</category></item><item><title>Congrats to Shawn and Ashley on their ENGAGEMENT!</title><description>&lt;img src="http://27.media.tumblr.com/tumblr_ku9jvfglbZ1qawqoqo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Congrats to Shawn and Ashley on their &lt;i&gt;&lt;b&gt;ENGAGEMENT&lt;/b&gt;&lt;/i&gt;!&lt;/p&gt;</description><link>http://trevormorse.com/post/272660007</link><guid>http://trevormorse.com/post/272660007</guid><pubDate>Sun, 06 Dec 2009 22:47:00 -0500</pubDate><category>family</category><category>engagement</category></item><item><title>Google Public DNS</title><description>&lt;a href="http://code.google.com/speed/public-dns/"&gt;Google Public DNS&lt;/a&gt;: &lt;p&gt;Google Public DNS&lt;/p&gt;</description><link>http://trevormorse.com/post/272220310</link><guid>http://trevormorse.com/post/272220310</guid><pubDate>Sun, 06 Dec 2009 17:11:00 -0500</pubDate><category>google dns</category></item><item><title>vim as a development environment</title><description>&lt;a href="http://lucumr.pocoo.org/2007/4/2/vim-as-development-environment"&gt;vim as a development environment&lt;/a&gt;: &lt;p&gt;I &lt;3 vim, this link has some great tips and tricks&lt;/p&gt;</description><link>http://trevormorse.com/post/272113968</link><guid>http://trevormorse.com/post/272113968</guid><pubDate>Sun, 06 Dec 2009 15:42:00 -0500</pubDate><category>vim</category></item></channel></rss>
