<?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>Monsterbox Productions</title>
	<atom:link href="http://monsterboxpro.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://monsterboxpro.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 03 Oct 2011 03:20:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mysql count all duplicates based on a field</title>
		<link>http://monsterboxpro.com/blog/2011/10/02/mysql-count-all-duplicates-based-on-a-field/</link>
		<comments>http://monsterboxpro.com/blog/2011/10/02/mysql-count-all-duplicates-based-on-a-field/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 03:20:07 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=295</guid>
		<description><![CDATA[I always forget this so I&#8217;m just going to micro blog about it here. select email, count(email) as c from users group by email having c > 1 order by c;]]></description>
			<content:encoded><![CDATA[<p>I always forget this so I&#8217;m just going to micro blog about it here.</p>
<p>select email, count(email) as c from users group by email having c > 1 order by c;</p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/10/02/mysql-count-all-duplicates-based-on-a-field/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Backup and Restore Mysql Database</title>
		<link>http://monsterboxpro.com/blog/2011/06/03/how-to-backup-and-restore-mysql-database/</link>
		<comments>http://monsterboxpro.com/blog/2011/06/03/how-to-backup-and-restore-mysql-database/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 02:23:27 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=291</guid>
		<description><![CDATA[Backup mysqldump -u > -p eg. mysqldump -u root teacherseat_dev > teacherseat.sql -p Restore mysql -u < -p eg. mysql -u root teacherseat_dev < teacherseat.sql -p]]></description>
			<content:encoded><![CDATA[<h2>Backup</h2>
<p>mysqldump -u <username> <database_name> > <file> -p</p>
<p>eg.<br />
mysqldump -u root teacherseat_dev > teacherseat.sql -p</p>
<h2>Restore</h2>
<p>mysql -u <username> <database_name> < <file> -p</p>
<p>eg.<br />
mysql -u root teacherseat_dev < teacherseat.sql -p</p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/06/03/how-to-backup-and-restore-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Clear all Whitespace in Vim</title>
		<link>http://monsterboxpro.com/blog/2011/05/21/how-to-clear-all-whitespace-in-vim/</link>
		<comments>http://monsterboxpro.com/blog/2011/05/21/how-to-clear-all-whitespace-in-vim/#comments</comments>
		<pubDate>Sat, 21 May 2011 23:59:23 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=289</guid>
		<description><![CDATA[All you need to do is type: :%s/\s\+$// But what I think you really want to do is add this to your .vimrc file. map cw :%s/\s\+$// Then you can just type \cw and it will clear all whitespace in your current file.]]></description>
			<content:encoded><![CDATA[<p>All you need to do is type:</p>
<p>:%s/\s\+$//</p>
<p>But what I think you really want to do is add this to your .vimrc file.</p>
<p>map <Leader>cw :%s/\s\+$//<CR></p>
<p>Then you can just type </p>
<p>\cw </p>
<p>and it will clear all whitespace in your current file.</p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/05/21/how-to-clear-all-whitespace-in-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Always Have this Year in Your WordPress Footer</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/always-have-this-year-in-your-wordpress-footer/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/always-have-this-year-in-your-wordpress-footer/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 20:24:48 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=278</guid>
		<description><![CDATA[The year has changed, but your footer hasn&#8217;t. One minor adjustment and you&#8217;ll never have to worry about that year being out of date again. This is what we&#8217;re going to add &#60;?php echo date&#40;'Y'&#41; ?&#62; Your footer code will look a bit different from mine, but just open footer.php in your wordpress template, and [...]]]></description>
			<content:encoded><![CDATA[<p>The year has changed, but your footer hasn&#8217;t. One minor adjustment and you&#8217;ll never have to worry about that year being out of date again.</p>
<p>This is what we&#8217;re going to add</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;?php echo date<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Y'</span><span style="color: #66cc66;">&#41;</span> ?&gt;</span></pre></div></div>

<p>Your footer code will look a bit different from mine, but just open footer.php in your wordpress template, and replace the year with the line of code above, you&#8217;ll never have to update your footer again.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;footer&quot;</span>&gt;</span>
          <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
            <span style="color: #009900;">&lt;?php echo date<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Y'</span><span style="color: #66cc66;">&#41;</span> ?&gt;</span> <span style="color: #ddbb00;">&amp;copy;</span> Monsterbox Productions
          <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">p</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- footer --&gt;</span>        
      <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- wrapper --&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- container --&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/always-have-this-year-in-your-wordpress-footer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NodeJS vs Erlang vs Ruby. What to Know About Realtime Web-apps</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/nodejs-vs-erlang-vs-ruby-what-to-know-about-building-realtime-web-apps/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/nodejs-vs-erlang-vs-ruby-what-to-know-about-building-realtime-web-apps/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 20:06:48 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=275</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/nodejs-vs-erlang-vs-ruby-what-to-know-about-building-realtime-web-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New Workflow for Web-Designers using Haml, Sass and Coffeescript</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/a-new-workflow-for-web-designer-haml-sass-and-coffeescript/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/a-new-workflow-for-web-designer-haml-sass-and-coffeescript/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:37:38 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=271</guid>
		<description><![CDATA[The Problem You&#8217;re a web-developer, you have a hard time keeping up with your workload. Theortically you can make more money by taking on more jobs, but your risk burnout, and its hard to take on freelancers. What Im going to do is show you how to increase your productivity speed 10x with a new [...]]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>You&#8217;re a web-developer, you have a hard time keeping up with your workload. Theortically you can make more money by taking on more jobs, but your risk burnout, and its hard to take on freelancers. What Im going to do is show you how to increase your productivity speed 10x with a new workflow. You&#8217;ll have time to relax, take on more jobs, and won&#8217;t have to worry about getting a freelancer.</p>
<p>It will take about 1 hour to learn, a week to master. You don&#8217;t have the time not to learn this technique and its free.</p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/a-new-workflow-for-web-designer-haml-sass-and-coffeescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build a web-app in Erlang using Mochiweb on OSX (Mac)</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/how-to-build-a-simple-web-app-in-erlang-using-mochiweb-on-osx-mac-snow-leopard/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/how-to-build-a-simple-web-app-in-erlang-using-mochiweb-on-osx-mac-snow-leopard/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:27:38 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=266</guid>
		<description><![CDATA[You heard that Erlang is fast, and perfect for building web-apps that need to be realtime. The tutorials aren&#8217;t as complete as I hoped, so I&#8217;ve spun my own tutorial to get you rolling with Erlang as fast as possible, without missing a step.]]></description>
			<content:encoded><![CDATA[<p>You heard that Erlang is fast, and perfect for building web-apps that need to be realtime. The tutorials aren&#8217;t as complete as I hoped, so I&#8217;ve spun my own tutorial to get you rolling with Erlang as fast as possible, without missing a step.</p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/how-to-build-a-simple-web-app-in-erlang-using-mochiweb-on-osx-mac-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Join three table together in MySQL. Left Join Maddness!!!</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/mysql-how-to-join-three-table-together-left-join-maddness/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/mysql-how-to-join-three-table-together-left-join-maddness/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:22:26 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=261</guid>
		<description><![CDATA[The Problem I&#8217;m building a web-app with groups. There are a bunch of links in the group, and you can star, comment thumb them up. Then there is a page that shows who has starred, commented and thumbed things. Basically like digg or reddit. So that means I need to join three tables together: group_shared_links [...]]]></description>
			<content:encoded><![CDATA[<h2>The Problem</h2>
<p>I&#8217;m building a web-app with groups. There are a bunch of links in the group, and you can star, comment thumb them up. Then there is a page that shows who has starred, commented and thumbed things. Basically like digg or reddit.</p>
<p>So that means I need to join three tables together:</p>
<p>group_shared_links<br />
shared_links<br />
links</p>
<p>It may sound dumb but I didn&#8217;t learn how to use join&#8217;s recently. Never had to, so if your in the same boat that I was in, I hope I can save you time learning how to do this with my example. </p>
<p><strong>Comp dead, new one coming in at end of week, this article will be finished first week of March</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/mysql-how-to-join-three-table-together-left-join-maddness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Write your Own Custom Callback in NodeJS</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/how-to-write-your-own-custom-callback-in-nodejs/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/how-to-write-your-own-custom-callback-in-nodejs/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:17:16 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=259</guid>
		<description><![CDATA[You&#8217;ll need to do this at somepoint, I had a pretty hard time finding a good example. So let me sooth the pain, eh volia: comp dead, I&#8217;ll have this article written in the first week of march]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ll need to do this at somepoint, I had a pretty hard time finding a good example. So let me sooth the pain, eh volia:</p>
<p><strong>comp dead, I&#8217;ll have this article written in the first week of march</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/how-to-write-your-own-custom-callback-in-nodejs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use Funk to deal with Nested Callbacks in NodeJS</title>
		<link>http://monsterboxpro.com/blog/2011/03/01/how-to-use-funk-to-deal-with-callbacks-in-nodejs/</link>
		<comments>http://monsterboxpro.com/blog/2011/03/01/how-to-use-funk-to-deal-with-callbacks-in-nodejs/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 19:12:57 +0000</pubDate>
		<dc:creator>Andrew Brown</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://monsterboxpro.com/blog/?p=257</guid>
		<description><![CDATA[When you have callbacks inside callbacks inside callbacks, it what we call in NodeJS boomerang code. Because it looks like a boomerang. Your javascript will become un-managable so we need a better way. You can use flow-js, and step, but I&#8217;m going to use funk.]]></description>
			<content:encoded><![CDATA[<p>When you have callbacks inside callbacks inside callbacks, it what we call in NodeJS boomerang code. Because it looks like a boomerang. Your javascript will become un-managable so we need a better way.</p>
<p>You can use flow-js, and step, but I&#8217;m going to use funk. </p>
]]></content:encoded>
			<wfw:commentRss>http://monsterboxpro.com/blog/2011/03/01/how-to-use-funk-to-deal-with-callbacks-in-nodejs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

