<?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>Mitch Fournier</title>
	<atom:link href="http://mitchfournier.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mitchfournier.com</link>
	<description>Builder of real and digital things.</description>
	<lastBuildDate>Wed, 10 Apr 2013 00:05:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>A simple jQuery Mobile page for organizing weekly workouts</title>
		<link>http://mitchfournier.com/2013/03/27/a-simple-jquery-mobile-page-for-organizing-weekly-workouts/</link>
		<comments>http://mitchfournier.com/2013/03/27/a-simple-jquery-mobile-page-for-organizing-weekly-workouts/#comments</comments>
		<pubDate>Wed, 27 Mar 2013 06:05:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=247</guid>
		<description><![CDATA[Even if you follow a dead simple workout regimen, you still need reminders of which exercise to do, with which weights and on which days. This is a simple, touch-enabled, jQuery Mobile-based page which act as a personal fitness reference.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/dumbbell.jpg"><img class="alignright size-medium wp-image-262" alt="dumbbell" src="http://mitchfournier.com/wp-content/uploads/2013/03/dumbbell-300x199.jpg" width="300" height="199" /></a>My weekly fitness regimen is pretty simple. I do a little bit of resistance training every day with a couple days of <a href="http://www.sciencedaily.com/releases/2010/03/100311123639.htm" target="_blank">high intensity interval training</a> (HIIT) thrown in.</p>
<p>To complement my training, I fast (<a title="Thanks Martin Berkhan!" href="http://www.leangains.com/2010/04/leangains-guide.html" target="_blank">Leangains-style</a>) five days a week from 9 pm to 1 pm the next day and I fast (<a title="Thanks Brad Pilon!" href="http://www.eatstopeat.com/" target="_blank">Eat-Stop-Eat-style</a>) from 9 pm to 9 pm on the other two. I&#8217;m a huge fan of <a href="http://io9.com/5979523/why-you-should-starve-yourself-a-little-bit-each-day" target="_blank">intermittent fasting</a> for both its <a href="http://ajcn.nutrition.org/content/86/1/7.full" target="_blank">health benefits</a> and for long-term weight management.</p>
<p>Although mine is a dead simple program, I still need reminders of which exercise to do, with which weights and on which days. I always have my iPhone with me, so I chose to use the excellent <a href="http://jquerymobile.com/" target="_blank">jQuery Mobile framework</a> to create a simple touch-enabled mobile page to act as my personal fitness reference.<span id="more-247"></span></p>
<h2>My jQuery Mobile site (Try it, it works)</h2>
<div style="background-image: url('/wp-content/uploads/2013/03/iphone-4-black.jpg'); background-repeat: no-repeat; width: 540px; height: 850px;"><iframe width="320" height="240" style="margin-top: 177px; margin-left: 51px; width: 345px; height: 450px;" src="http://mitchfournier.com/mtf/fitness.html"></iframe></div>
<h2>My jQuery Mobile HTML code</h2>
<pre class="brush: html">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Daily Exercises&lt;/title&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot; /&gt;
&lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.png&quot;/&gt;
&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;icon.jpg&quot;/&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;site.css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css&quot; /&gt;
&lt;script src=&quot;http://code.jquery.com/jquery-1.8.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js&quot;&gt;&lt;/script&gt;
&lt;style&gt;
.content {margin-top:-20px;}
.main {font-weight:bold; font-size:14px; color:#444; font-family:&quot;Trebuchet MS&quot;; margin-left:0px;}
.small {font-weight:normal; font-size:11px; color:#666; font-family:&quot;Courier New&quot;;}

.day {display:inline-block; width:85px;}
.exercise {display:inline-block; width:145px;}
.reps {display:inline-block; width:110px; text-align:right;}
.part {display:inline-block; width:40px; text-align:right;}
.divide {display:inline-block; width:100%; text-align:center;}

.test {border:1px red solid;}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;!-- START PAGE --&gt;
&lt;div id=&quot;main&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Daily Exercise&lt;/h1&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot;&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-legs&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Monday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(HIIT &amp; Legs)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#chest-triceps&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Tuesday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(Chest &amp; Triceps)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#back-biceps&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Wednesday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(Back &amp; Biceps)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-legs-2&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Thursday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(HIIT &amp; Legs)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#chest-back-core&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Friday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(Chest, Back &amp; Core)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#shoulders-biceps&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Saturday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(Shoulders &amp; Biceps)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#chest-back-core&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Sunday&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;(Chest, Back &amp; Core)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot;&gt;
&lt;li&gt;&lt;a href=&quot;#rules-goals&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main day&quot;&gt;Rules &amp; Goals&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- HIIT &amp; LEGS --&gt;
&lt;div id=&quot;hiit-legs&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;HIIT &amp; Legs&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;HIIT&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-treadmill&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main exercise&quot;&gt;Treadmill&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-outside&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main exercise&quot;&gt;Outside&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Legs&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;100 Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(100x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;small divide&quot;&gt;-or-&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Split Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - 5 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Switch Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Deadlift Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Wall Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(60s - 5 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- CHEST &amp; TRICEPS --&gt;
&lt;div id=&quot;chest-triceps&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Chest &amp; Triceps&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 1&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Decline Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Table Dips&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 2&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Military Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Tricep Extend&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Burg)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 3&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Alt Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Stool Dips&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 4&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Wide Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Sphinx Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Burg)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 5&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(Max, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Kick Backs&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x, Burg)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- BACK &amp; BICEPS --&gt;
&lt;div id=&quot;back-biceps&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Back &amp; Biceps&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 1&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Narrow Pull-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(10x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Out Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 2&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Heavy Pants&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 3-Band)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;7-7-7 Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 3&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Wide Pull-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(10x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Static Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(8x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 4&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Lawnmowers&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 3-Band)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Normal Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 5&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Chin-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(Max, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Hammer Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- HIIT &amp; LEGS 2 --&gt;
&lt;div id=&quot;hiit-legs-2&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;HIIT &amp; Legs&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;HIIT&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-treadmill&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main exercise&quot;&gt;Treadmill&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#hiit-outside&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main exercise&quot;&gt;Outside&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Legs&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;100 Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(100x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;small divide&quot;&gt;-or-&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;80/20 Speed Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Step-Back Lunges&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - 5 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Deadlift Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(25x - Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Wall Squats&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(60s - 5 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- CHEST, BACK &amp; CORE --&gt;
&lt;div id=&quot;chest-back-core&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Chest, Back &amp; Core&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Chest&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Max Push-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(max x 2)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Back&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Max Pull-Ups&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(max x 2)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Core&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#ab-ripper&quot; data-transition=&quot;slide&quot;&gt;&lt;span class=&quot;main exercise&quot;&gt;Ab Ripper&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Superman&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(10s x 5)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- SHOULDERS &amp; BICEPS --&gt;
&lt;div id=&quot;shoulders-biceps&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Shoulder &amp; Biceps&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 1&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Military Press&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Burg)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Out Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 2&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Scarecrow + Y&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Red)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;7-7-7 Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 3&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Pike Press&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(20x, Body)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Static Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(8x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 4&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;In &amp; Out&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Red)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Normal Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Set 5&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Row + Y&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, Red)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Hammer Curls&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(15x, 25 lbs)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- HIIT-TREADMILL --&gt;
&lt;div id=&quot;hiit-treadmill&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;HIIT Treadmill&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Warmup&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 8%&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 12%&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Intervals (x6)&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Sprint&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;8 mph - 12%&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 12%&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 12%&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Cooldown&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 12%&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Fast Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;3 mph - 8%&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- HIIT-OUTSIDE --&gt;
&lt;div id=&quot;hiit-outside&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;HIIT - Outside&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Warmup&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Light Jog&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;5 min&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Light Run&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;2 min&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Intervals (x6)&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Sprint&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;30 sec&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Walk&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;60 sec&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Cooldown&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Walk Home&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;? min&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- RULES &amp; GOALS --&gt;
&lt;div id=&quot;rules-goals&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;RULES &amp; GOALS&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Rules&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;5 x Fast 16/8&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;9pm-1pm, 1,800&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;2 x Fast 24/0&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;9pm-9pm, 500&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Train Fasted&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;12pm or 8pm&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;During: BCAAs&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;10g&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;During: Creatine&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;5g&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;After: High Protein&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;120g/day&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;After: Largest Meal&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;750 cals&lt;/span&gt;&lt;/li&gt;
&lt;li data-role=&quot;list-divider&quot;&gt;Goals&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;150 lbs Lean&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;170 lbs total&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Food Discipline&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Weight Maintained&lt;/span&gt;&lt;span class=&quot;small&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;!-- AB RIPPER --&gt;
&lt;div id=&quot;ab-ripper&quot; data-role=&quot;page&quot;&gt;
&lt;div data-role=&quot;header&quot;&gt;
&lt;h1&gt;Ab Ripper&lt;/h1&gt;
&lt;a href=&quot;#main&quot; data-theme=&quot;a&quot; data-icon=&quot;arrow-l&quot; data-rel=&quot;back&quot; data-inline=&quot;true&quot;&gt;Back&lt;/a&gt;
&lt;/div&gt;&lt;!-- /header --&gt;
&lt;div data-role=&quot;content&quot; class=&quot;content&quot;&gt;
&lt;ul data-role=&quot;listview&quot; data-inset=&quot;true&quot; data-filter=&quot;false&quot; data-divider-theme=&quot;d&quot;&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Crunches&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Leg Lifts&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Bicycles&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;In &amp; Out (V)&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;L/R Crunches&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(2x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Hip Rock &amp; Raise&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;V-Up Roll-Up&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;L/R Oblique V-Up&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(2x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Crunchy Frog&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x20)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;main exercise&quot;&gt;Mason Twist&lt;/span&gt;&lt;span class=&quot;small reps&quot;&gt;(x50)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- /content --&gt;
&lt;/div&gt;&lt;!-- /page --&gt;

&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Right now the entire site is a single, static HTML page. In the future, I will split it up into separate pages and make them dynamic, probably powered by my favorite framework, <a href="https://www.djangoproject.com/" target="_blank">Django</a>. Please feel free to copy and modify this code for your own use.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/03/27/a-simple-jquery-mobile-page-for-organizing-weekly-workouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit your remote HTML files directly with WinSCP</title>
		<link>http://mitchfournier.com/2013/03/27/edit-your-remote-html-files-directly-with-winscp/</link>
		<comments>http://mitchfournier.com/2013/03/27/edit-your-remote-html-files-directly-with-winscp/#comments</comments>
		<pubDate>Wed, 27 Mar 2013 03:33:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=254</guid>
		<description><![CDATA[Easy steps for using WinSCP to edit remote HTML files with whatever editor you like.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/WinSCP.gif"><img class="alignright size-full wp-image-258" alt="WinSCP" src="http://mitchfournier.com/wp-content/uploads/2013/03/WinSCP.gif" width="209" height="241" /></a>I have a handful of small, mostly-static, mostly for me, utility websites running on a <a href="http://www.dreamhost.com/r.cgi?643899" target="_blank">Dreamhost</a> shared server. There is no application framework or complex server environment to mess with, little user traffic besides what I send and no need for a heavy deploy process.</p>
<p>For these sites, I often want to edit HTML, JS and CSS files directly on the server instead of editing them locally and pushing them live. One step is better than two, I say.</p>
<p>Sure, I could SSH in and edit my files directly with vi, and I often do that. Call me crazy, but sometimes I like using a mouse and GUI to edit my files. For those times, I use a program called <a href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a>. <span id="more-254"></span></p>
<p>WinSCP is an &#8220;open source free SFTP client, SCP client, FTPS client and FTP client for Windows. Its main function is file transfer between a local and a remote computer. Beyond this, WinSCP offers scripting and basic file manager functionality.&#8221;</p>
<h2>To use WinSCP:</h2>
<ol>
<li><a href="http://winscp.net/eng/download.php" target="_blank">Download</a> and install WinSCP</li>
<li>Open the app, create a &#8220;New&#8221; connection to your server, and login</li>
<li>In the right-hand panel, double-click the file to edit</li>
<li>Make you changes and save</li>
<li>Watch the WinSCP window and you&#8217;ll see your local cached copy replace your remote one</li>
</ol>
<p>Out of the box, WinSCP will use its default, built-in editor for all file editing.</p>
<h2>To use your own apps for editing:</h2>
<ol>
<li><span style="line-height: 13px;">In WinSCP: select &#8220;Options&#8221; &gt; &#8220;Preferences&#8230;&#8221; &gt; &#8220;Editors&#8221;</span></li>
<li>Click &#8220;Add &#8230;&#8221;</li>
<li>Select &#8220;External editor:&#8221; (e.g. &#8220;Notepad++&#8221;)</li>
<li>Set the extensions for this app to open (e.g. &#8220;*.html,*.txt&#8221;)</li>
<li>Click &#8220;OK&#8221;</li>
</ol>
<p>Now when you right-click a file in the right window and select &#8220;Open&#8221; it will open in the application that you selected. Note: for some reason double-clicking still opens it in the internal editor.</p>
<p>When you edit your file in your external editor and hit save, it will be automatically changed on the remote server. Very hand for a quick set of changes to a static HTML page.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/03/27/edit-your-remote-html-files-directly-with-winscp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install a command-line Spotify client on a headless Raspberry Pi</title>
		<link>http://mitchfournier.com/2013/03/26/install-command-line-spotify-on-a-headless-raspberry-pi/</link>
		<comments>http://mitchfournier.com/2013/03/26/install-command-line-spotify-on-a-headless-raspberry-pi/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 02:18:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rasberry pi]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=241</guid>
		<description><![CDATA[A simple and useful first Raspberry Pi project: easy-to-follow steps for installing a command-line Spotify client on a headless Pi.]]></description>
				<content:encoded><![CDATA[<p><img class="size-full wp-image-249 alignright" alt="spotify-on-raspberry-pi" src="http://mitchfournier.com/wp-content/uploads/2013/03/spotify-on-raspberry-pi.jpg" width="292" height="204" />My <a href="http://www.amazon.com/gp/product/B009SQQF9C/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B009SQQF9C&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Raspberry Pi</a> Model B Revision 2.0 (512MB) came this week, and like many people I opened it up, plugged it in, got it networked, configured it, got to a command prompt and said &#8220;hmmmm, now what?&#8221;</p>
<p><a href="http://www.setlist.fm/concerts/mitchf" target="_blank">I love music</a> and decided that getting Spotify running on my headless RasPi would be a fun first project. There are decent nuggets of information out there, but below is a simple, aggregated step-by-step guide to getting Spotify running on your headless Raspberry Pi&#8217;s command line.</p>
<p><strong>NB:</strong> I believe that you will need to be a Premium Spotify subscriber for this to work. Just get it, it&#8217;s so worth it.<span id="more-241"></span></p>
<h2>Part One: Install Despotify</h2>
<p>Spotify has an unofficial &#8220;<a href="https://www.spotify.com/us/blog/archives/2010/07/12/linux/" target="_blank">Spotify for Linux</a>&#8221; release, but it is GUI-based and I am running my RPi headless and connecting exclusively via SSH, so that doesn&#8217;t work for me. Plus, I couldn&#8217;t get it to install on the ARM-based Pi.</p>
<p>After a little searching, I found a popular open source, command-line Spotify client called <a href="http://despotify.sourceforge.net/" target="_blank">Despotify</a>. Installing it was surprisingly <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?t=13443" target="_blank">easy</a>:</p>
<ol>
<li><span style="color: #993300;"><code>sudo apt-get install libao-dev libtool git libssl-dev libmpg123-dev libvorbis-dev libncursesw5-dev subversion</code></span></li>
<li><span style="color: #993300;"><code>svn co https://despotify.svn.sourceforge.net/svnroot/despotify despotify</code></span></li>
<li><span style="color: #993300;"><code>cd despotify/src/</code></span></li>
<li><span style="color: #993300;"><code>make</code></span></li>
<li><span style="color: #993300;"><code>sudo make install</code></span></li>
</ol>
<h2>Part Two: Control Spotify from the Command Line</h2>
<p>After installing, there are three ways to use Despotify:</p>
<ol>
<li>&#8220;despotify-simple&#8221;: a simple command-line client</li>
<li>&#8220;despotify&#8221;: a pine/vi looking interface</li>
<li>&#8220;despotify-gateway&#8221;: a backend HTTP REST API which can respond to frontend HTTP requests</li>
</ol>
<p><strong>Using despotify-simple</strong></p>
<ol>
<li>Plug a <a href="http://www.amazon.com/gp/product/B0062W0XD4/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0062W0XD4&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">speaker</a> into the audio out of your RPi</li>
<li>run: <span style="color: #993300;"><code>despotify-simple &lt;username&gt; &lt;password&gt;</code></span> (<strong>protip</strong>: lead with a space to keep this command and you password out of your history and process list)</li>
<li>type: <span style="color: #993300;"><code>search tonight the streets richard hawley</code></span></li>
<li>type: <span style="color: #993300;"><code>play 1</code></span></li>
</ol>
<h2>Part Three: How to set your Raspberry Pi&#8217;s Volume Levels</h2>
<p>The program <a href="http://linux.die.net/man/1/amixer" target="_blank">amixer</a> is a command-line mixer for the ALSA soundcard driver which will allow you to control the volume level of the speaker connected to your Raspberry Pi.</p>
<p>For one-off volume setting, type:<br />
<span style="color: #993300;"><code>amixer cset numid=1 -- 60%</code></span> (H/T <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&amp;t=26080" target="_blank">Linus</a>)</p>
<p>Change the volume by changing the last number. I&#8217;ve found that, for my RPi and mini speaker, 50% is effectively equal to a volume of 0 and 100% is 10. I made a simple little bash script to help me quickly set the volume levels (H/T to <a href="http://stackoverflow.com/users/111781/jerryjvl" target="_blank">jerryjvl</a> for <a href="http://stackoverflow.com/questions/929103/convert-a-number-range-to-another-range-maintaining-ratio" target="_blank">his StackOverflow answer</a> detailing a usable conversion algorithm).</p>
<p><strong>The bash script:</strong></p>
<pre class="brush: bash">#!/bin/bash
#
# Set the volume of the connected speaker using a program
# called &quot;amixer&quot;. Standard usage: amixer cset numid=1 -- 60%
# Ranges between 50% and 100% correspond to abstracted
# volume levels 0 and 10. This script does that conversion
# and hides the amixer implementation.
#
# Usage: vol 5

MyMax=10
MyMin=0
RealMax=100
RealMin=50
let MyRange=${MyMax}-${MyMin}
let RealRange=${RealMax}-${RealMin}

MyVol=$1
# MARTY: Why don&#039;t you just make ten louder and make ten
#        be the top number and make that a little louder?
# NIGEL: [pause] These go to eleven.
if [ ${MyVol} -gt 11 ]
then
MyVol=11
fi

# This is what I want, but bash no likey parens:
# RealVol=(((${MyVol}-${MyMin})*${RealRange})/${MyRange})+${RealMin}
let a=${MyVol}-${MyMin}
let b=${a}*${RealRange}
let c=${b}/${MyRange}
let d=${c}+${RealMin}

echo &quot;vol ${1} is ${d}% to amixer...&quot;
amixer -q cset numid=1 -- ${d}%
</pre>
<p><strong>A little helper function to tuck in .bash_aliases</strong></p>
<pre class="brush: bash">function vol() {
~/SCRIPTS/set_volume.sh &quot;$@&quot;;
}</pre>
<p>The bash script and helper function allow you to set your speaker volume in a more intuitive way by typing commands like <span style="color: #993300;"><code>vol 2</code></span> or <span style="color: #993300;"><code>vol 10</code></span> at the command line. That&#8217;s all there is, now you can use your Raspberry Pi as an interface to your home entertainment or in-house speaker systems. Pretty nice.</p>
<h2>Have an interesting first Raspberry Pi project you want to share?</h2>
<p>Send me a link or leave it in the comments and I will link to it from this post. Happy hacking!</p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/raspberry-pi-speaker.jpg"><img class="alignnone  wp-image-250" alt="raspberry-pi-speaker" src="http://mitchfournier.com/wp-content/uploads/2013/03/raspberry-pi-speaker-300x196.jpg" width="500" /></a></p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/03/26/install-command-line-spotify-on-a-headless-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>22 foods to prevent Alzheimer&#8217;s: The good, the bad and the ugly</title>
		<link>http://mitchfournier.com/2013/03/22/foods-to-prevent-alzheimers-the-good-the-bad-and-the-ugly/</link>
		<comments>http://mitchfournier.com/2013/03/22/foods-to-prevent-alzheimers-the-good-the-bad-and-the-ugly/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 02:46:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[health]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=230</guid>
		<description><![CDATA[I list of the best foods for preventing or reversing the effects of Alzheimer's disease and other dementias. Includes a printable credit-card to use as a reference.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/food-prevent-alzheimers.jpg"><img class="wp-image-246 alignright" alt="food-prevent-alzheimers" src="http://mitchfournier.com/wp-content/uploads/2013/03/food-prevent-alzheimers-272x300.jpg" width="200" height="221" /></a>I&#8217;ve recently had to do a lot of research for a close friend to help pinpoint what foods promote overall brain health. Specifically, I&#8217;ve been searching for foods which prevent, slow or even reverse the progress of dementia and <a href="http://en.wikipedia.org/wiki/Alzheimers" target="_blank">Alzheimer&#8217;s</a>.</p>
<p>Of the &#8220;brain-healthy&#8221; foods that experts have agreed upon, there is a common characteristic: each food is typically either high in <a href="http://en.wikipedia.org/wiki/Omega-3_fatty_acid" target="_blank">omega-3 fatty acids</a>, <a href="http://en.wikipedia.org/wiki/Choline" target="_blank">choline</a>, <a href="http://en.wikipedia.org/wiki/Flavanoids" target="_blank">flavanoids</a> or other powerful <a href="http://en.wikipedia.org/wiki/Antioxidants" target="_blank">antioxidants</a> which help reduce inflammation. Each of these characteristics support brain health as well as having many other health benefits.</p>
<p><a href="http://nutritiondata.self.com/help/inflammation" target="_blank">Systemic inflammation</a> is very bad for your health and is believed to be one of the leading causes of Alzheimer&#8217;s. We should generally make food choices which, on balance, promote an anti-inflammatory response.</p>
<p><a href="http://www.amazon.com/gp/product/1592332285/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1592332285&amp;linkCode=as2&amp;tag=wantboxcom-20"><img class="wp-image-242   alignleft" style="margin-right: 10px;" alt="150-healthiest-foods" src="http://mitchfournier.com/wp-content/uploads/2013/03/150-healthiest-foods-237x300.jpg" width="150" height="190" /></a></p>
<p>After scouring the Internet and my <a href="http://www.amazon.com/gp/product/1592332285/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1592332285&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">favorite food book</a>, below is my compiled list of foods that are believed to have the greatest brain benefit. If there is a page numbers in parenthesis next to the food, it is a reference to the page in &#8220;The 150 Healthiest Foods on Earth&#8221;, a book which I frequently reference when assessing the quality of a particular food.</p>
<p>At the end of this post is a fold-up, credit-card sized image which I made and which can be printed and carried as a reference.<span id="more-230"></span></p>
<p><span style="color: #ff0000;"><strong>DISCLAIMER</strong>: I am not a doctor and I don&#8217;t even play one on TV. I do not recommend that you change your diet without first discussing it in detail with your own doctor. That being said, I encourage you to have that conversation and take full control of your food choices.</span></p>
<h2>Foods which help prevent, slow or reverse Alzheimer&#8217;s and Dementia</h2>
<ol>
<li><strong>Green Tea</strong> (p267) &#8211; Good source of the flavanol <a href="http://en.wikipedia.org/wiki/Catechins" target="_blank">catechins</a>, antioxidants which lower inflammation, and polyphenols like EGCG (<a href="http://en.wikipedia.org/wiki/Epigallocatechin_gallate" target="_blank">epigallocatechin gallate</a>) which may help with diseases like Alzheimer&#8217;s. (available in bulk on <a href="http://www.amazon.com/gp/product/B000GG5IYQ/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000GG5IYQ&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Blueberries</strong> (p101, p164) &#8211; A powerful, natural antioxidant. Helps brain neurons communicate better. &#8220;The best brain food! Just 1/2 cup per day will keep your brain young &#8212; they have been shown to actually reverse some brain deterioration.&#8221;</li>
<li><strong>Organic Raisins</strong> (p136) &#8211; Contain the flavonoid <a href="http://en.wikipedia.org/wiki/Myricetin" target="_blank">myricetin</a>, an antioxidant. May inhibit <a href="http://en.wikipedia.org/wiki/Beta-amyloid" target="_blank">beta-amyloid</a> fibril formation, a key problem with Alzheimer&#8217;s disease. (available in bulk on <a href="http://www.amazon.com/gp/product/B000DZDJM8/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000DZDJM8&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Dark Chocolate or Pure Cocoa Powder </strong>(<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) &#8211; Contains flavonols (a type of flavanoid) an antioxidant which protects your body from daily oxidative stress, increases cerebral blood flow, lowers blood pressure and prevent damage from strokes. Milk chocolate doesn&#8217;t cut it, it must be dark chocolate with a cocoa percentage above 70%  (available in bulk on <a href="http://www.amazon.com/gp/product/B003SWCZG4/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B003SWCZG4&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Cherries</strong> (<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) &#8211; Contains the antioxidant <a href="http://en.wikipedia.org/wiki/Anthocyanins" target="_blank">anthocyanins</a> which is anti-inflammatory.</li>
<li><strong>Apples</strong> (<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) &#8211; The apple skin contains <a href="http://en.wikipedia.org/wiki/Quercetin" target="_blank">quercetin</a> which may <a href="http://www.news.cornell.edu/releases/Nov04/apples.nervedisease.ssl.html" target="_blank">protect the brain</a> from Alzheimer&#8217;s.</li>
<li><strong>Whole Eggs</strong> (p192) &#8211; One of the best sources of choline which is essential for brain function. Choline helps synthesize <a href="http://en.wikipedia.org/wiki/Acetylcholine" target="_blank">acetylcholine</a> which is critical for memory and thought.</li>
<li><strong>Wild Salmon</strong> &#8211; One of the best sources of omega-3 fatty acids (EPA and DHA). Critical: must be wild-caught and not farm-raised. (available canned and in bulk on <a href="http://www.amazon.com/gp/product/B004VDLJQQ/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004VDLJQQ&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Sardines</strong> (p211) &#8211; High concentration of omega-3 fatty acids. Because they are low on the food chain there is less risk of mercury contamination. (available canned and  in bulk on <a href="http://www.amazon.com/gp/product/B004VDH4KQ/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004VDH4KQ&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Seafood</strong> (p204) &#8211; Provides omega-3 fatty acids, choline, iron and iodine which are important for brain health.</li>
<li><strong>Fish Oil</strong> (<a href="http://www.webmd.com/vitamins-supplements/ingredientmono-993-FISH%20OIL.aspx?activeIngredientId=993&amp;activeIngredientName=FISH%20OIL" target="_blank">WebMD</a>) &#8211; Eating fish like salmon is better, but short of that take fish oil. Good source of anti-inflamatory omega-3 fatty acids (available on <a href="http://www.amazon.com/gp/product/B000EQW3ZA/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000EQW3ZA&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Walnuts</strong> (p162) &#8211; Nutrient dense and the highest nut source of omega-3 fatty acids (ALA). Also have polyphenols, protein, fiber, calcium, magnesium, phosphorus, potassium and manganese. (available in bulk on <a href="http://www.amazon.com/gp/product/B005BYP7RG/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B005BYP7RG&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Flaxseed</strong> (p72, p274) &#8211; A great plant-based source of the omega-3 fatty acid <a href="http://en.wikipedia.org/wiki/Alpha-linolenic_acid" target="_blank">alpha-linolenic acid</a> (ALA)  (available in bulk on <a href="http://www.amazon.com/gp/product/B004VLV91S/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B004VLV91S&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Rosemary</strong> (p289) &#8211; Prevents breakdown of acetylcholine, an important chemical in the brain needed for memory and healthy brain function. Similar to the Alzheimer&#8217;s drug <a href="http://en.wikipedia.org/wiki/Aricept" target="_blank">Aricept</a>. (available on <a href="http://www.amazon.com/gp/product/B007WWK7W0/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B007WWK7W0&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Turmeric</strong> (<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) &#8211; Is anti-inflammatory and contains <a href="http://en.wikipedia.org/wiki/Curcumin" target="_blank">curcumin</a> which <a href="http://www.medicalnewstoday.com/releases/152768.php" target="_blank">may be able to remove the Alzheimer&#8217;s plaque</a> from the brain (available on <a href="http://www.amazon.com/gp/product/B000WR4LMY/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000WR4LMY&amp;linkCode=as2&amp;tag=wantboxcom-20" target="_blank">Amazon</a>)</li>
<li><strong>Fresh Vegetable Juice</strong> (p255) &#8211; Antioxidants and anti-inflammatories which may prevent dementia, brain aging and Alzheimer&#8217;s</li>
<li><strong>Fresh Vegetables</strong> (p255) &#8211; Antioxidants, anti-inflammatories which may prevent dementia, brain aging and Alzheimer&#8217;s. Also have fiber and many important vitamins like A, C and E.</li>
<li><strong>Asparagus</strong> (<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) - A great source of <a href="http://en.wikipedia.org/wiki/Folate" target="_blank">folate</a>. A recent study found that people who were folate deficient were 3.5 times more likely to develop dementia.</li>
<li><strong>Pomegranates</strong> (p246) &#8211; High in antioxidants and helps prevent fatty deposits from forming.</li>
<li><strong>Coconut Oil</strong> (<a href="http://articles.mercola.com/sites/articles/archive/2010/12/13/can-this-natural-food-cure-or-prevent-alzheimers.aspx" target="_blank">Mercola</a>) &#8211; Provides <a href="http://en.wikipedia.org/wiki/Ketone" target="_blank">ketone</a> bodies as an alternative fuel for the glucose-starved brain.</li>
<li><strong>Red Wine</strong> (<a href="http://theconsciouslife.com/brain-foods-prevent-dementia-alzheimers-disease.htm" target="_blank">The Conscious Life</a>) &#8211; Contains flavanoids and <a href="http://en.wikipedia.org/wiki/Resveratrol" target="_blank">resveratrol</a> which increase cerebral blood flow. No more than a glass a day.</li>
<li><strong>Grape Juice</strong> (<a href="http://www.medicalnewstoday.com/releases/87984.php" target="_blank">Medical News Today</a>) &#8211; Similar benefits as red wine. 100% natural grape juice may lower or delay onset of dementia.</li>
</ol>
<h2>Foods that promote bad health</h2>
<ul>
<li><strong>Trans Fats</strong> &#8211; Found in packed baked and frozen goods, margarine, vegetable shortening, donuts, fried foods, chips, candy, pie crusts, muffins, pre-mixed cake and pancake mix, chicken nuggets.</li>
<li><strong>Partially Hydrogenated Oils</strong> &#8211; That&#8217;s just another name for &#8220;<a href="http://en.wikipedia.org/wiki/Trans_fats" target="_blank">trans fat</a>&#8220;</li>
<li><strong>Saturated Fats</strong> &#8211; Some in meat is OK, if in packaged product it is not OK</li>
<li><strong>Red Meat</strong> &#8211; This is a bit controversial. Many would say lean read meats are healthy, whereas others would point to studies that show a strong correlation between red meat consumption and numerous diseases. I think the prudent choice is to limit red meat and opt for salmon or chicken when you can.</li>
<li><strong>Sugar</strong> &#8211; Sugar may be the most loved and over-consumed &#8221;<a title="New York Times" href="http://www.nytimes.com/2011/04/17/magazine/mag-17Sugar-t.html?pagewanted=all&amp;_r=0" target="_blank">toxin</a>&#8221; on the planet.</li>
<li><strong>White Flour and Enriched Pasta</strong> - Highly processed and refined, most white carbs have had their fiber and nutrient-rich outer layer stripped away and have to have vitamins and minerals added back in to &#8220;enrich&#8221; the product. Most refined carbs are absorbed too quickly by the body, which quickly increases blood sugar and triggers insulin release. You are better off keeping the natural fiber and nutrients with the &#8220;whole grain&#8221; and eating brown rice and whole wheat flours and pastas. (Read more at WebMD: &#8220;<a href="http://www.webmd.com/diet/features/truth-about-white-foods" target="_blank">The Truth About White Foods</a>&#8220;)</li>
<li><strong>White Rice</strong> &#8211; &#8220;White rice is a whole rice grain that has been polished until just the endosperm &#8212; essentially an easily digestible starch bomb &#8212; is left. Not surprisingly, recent studies have shown that eating white rice can raise blood glucose significantly, especially if eaten often or in large quantities. One study showed an 11% increase in diabetes risk with each daily serving of white rice. If you love rice with your stir-fries, switch to brown rice. Your blood sugar will thank you.&#8221; (From RealAge: &#8220;<a href="http://www.realage.com/living-younger-with-diabetes/10-worst-foods-for-diabetes-2" target="_blank">10 Worst Foods for Your Blood Sugar</a>&#8220;)</li>
</ul>
<p>In general, you can avoid many of the &#8220;bad foods&#8221; above by avoiding fast food, fried foods, packaged foods and processed food.</p>
<h2>My specific &#8220;brain saving&#8221; rules for preventing Alzheimer&#8217;s</h2>
<p>I took these from an email I recently sent to a friend.</p>
<ul>
<li>Only <strong>eat between noon and 8 pm</strong>. Every day, stop eating at 8 pm, don&#8217;t start again until noon the next day. Coffee and tea are OK anytime. Don&#8217;t overcompensate during your eating window, just eat normally. The longer you can go without eating, the better. There is a lot of research which says that <a href="http://en.wikipedia.org/wiki/Intermittent_fasting" target="_blank"><strong>Intermittent fasting</strong></a> protects the brain from disease and allows the body time for <a href="http://en.wikipedia.org/wiki/Autophagy" target="_blank">autophagy</a> or self-repair. (See samples of the research <a href="http://www.guardian.co.uk/society/2012/feb/18/fasting-protect-brain-diseases-scientists" target="_blank">here</a>, <a href="http://hub.jhu.edu/magazine/2012/summer/dont-feed-your-head" target="_blank">here</a>, <a href="http://ajcn.nutrition.org/content/86/1/7.full" target="_blank">here</a>, <a href="http://catalyticlongevity.org/neuroprotective-potential-of-calorie-restriction-alternate-day-fasting-and-carb-concentrated-diets/" target="_blank">here</a>)</li>
<li>Every day at lunch have one of these (or similar):
<ul>
<li>LUNCH OPTION 1: Rosemary or turmeric spiced salmon sandwich with spinach on whole wheat toast (you can buy salmon in a can like tuna-fish  mix with some rosemary or turmeric and spread on bread with some spinach leaves).</li>
<li>LUNCH OPTION 2: Rosemary or turmeric spiced egg omelet with flaxseed, red onions, peppers, mushrooms a little cheese and any other veggies you want to throw in.</li>
<li>LUNCH OPTION 3: A green salad with apples or blueberries, veggies, shrimp, chicken or salmon, flaxseed and a vinagrette dressing. Go easy on the croutons and cheese, but you can put a little on for interest. Skip the bacon bits.</li>
<li>DRINK: green tea, grape or vegetable juice</li>
</ul>
</li>
<li>Every day have a snack box of <strong>raisins</strong></li>
<li>Every day have at least one cup of <strong>blueberries</strong>, the more the better</li>
<li>Every day have one small handful of <strong>walnuts</strong></li>
<li>Every day take a <strong>multivitamin</strong>, two <strong>fish oil</strong> tablets and 2000 IU of <strong>vitamin D3</strong></li>
<li>Mix ground <strong>flaxseed</strong> in everything you can tolerate</li>
<li>For every appropriate dish (stews, chili, beans, even hamburgers) sprinkle on some <strong>turmeric</strong></li>
<li>Do the same with <strong>rosemary</strong>, but favor the super-spice turmeric</li>
<li>Every day have one 1-ounce square of <strong>dark chocolate</strong> (60% cocoa or higher&#8230;the higher the better)</li>
<li>Try for one item of <strong>seafood</strong> per day (salmon, sardines, anchovies, shrimp, clams)</li>
<li>Avoid the <strong>whites</strong> (white bread, white rice, white sugar, white pasta)</li>
</ul>
<h2>Alzheimer prevention: The Good, The Bad and The Ugly</h2>
<p>This is a printable cheat-sheet I made for my friend to carry around. It is specifically targeted towards foods and activities which help prevent or slow the progress of Alzheimer&#8217;s.</p>
<div id="attachment_244" class="wp-caption alignnone" style="width: 510px"><a href="http://mitchfournier.com/wp-content/uploads/2013/03/The-good-bad-ugly.gif"><img class=" wp-image-244" style="margin-top: 5px; margin-bottom: 5px;" alt="The good bad ugly" src="http://mitchfournier.com/wp-content/uploads/2013/03/The-good-bad-ugly-300x165.gif" width="500" /></a><p class="wp-caption-text">Printable cards of good, bad and ugly foods to prevent Alzheimer&#8217;s</p></div>
<h2>When in doubt, just remember this:</h2>
<ul>
<li><span style="line-height: 13px;">If it <strong>IS</strong> a plant: <strong>EAT IT</strong></span></li>
<li>If it was <strong>MADE IN</strong> a plant: <strong>DON&#8217;T</strong></li>
</ul>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/03/22/foods-to-prevent-alzheimers-the-good-the-bad-and-the-ugly/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>In London? See some Banksy for £7.20.</title>
		<link>http://mitchfournier.com/2013/03/09/in-london-see-some-banksy-for-7-20/</link>
		<comments>http://mitchfournier.com/2013/03/09/in-london-see-some-banksy-for-7-20/#comments</comments>
		<pubDate>Sat, 09 Mar 2013 06:19:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=210</guid>
		<description><![CDATA[A walking tour of four intact Banksy works in London, all accessible for the low price of a £7.20 one-day unlimited tube pass.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/Banksy-logo.jpg"><img class="alignright  wp-image-225" style="margin-left: 10px; border: 2px solid black;" alt="Banksy-logo" src="http://mitchfournier.com/wp-content/uploads/2013/03/Banksy-logo.jpg" width="250" height="116" /></a>I recently visited London for a one week vacation with my wife. The first couple of days we did the typical tourist sites: The Tower of London, Covent Garden, Trafalgar Square, the excellent Churchill Museum and War Rooms, and the wonderfully eclectic Victoria and Albert Museum.</p>
<p>Having seen Banksy&#8217;s fascinating movie &#8220;<a title="IMDB" href="http://www.imdb.com/title/tt1587707/">Exit Through The Gift Shop</a>&#8220;, I made it a priority to hunt down some of his street art. Sitting in my hotel room with a laptop on my knees, I hatched a plan to see the pieces detailed below.</p>
<p>Many of his works have been <a href="http://www.npr.org/blogs/thetwo-way/2013/02/24/172815000/auction-halted-of-banksy-mural-removed-in-london">removed</a> or <a href="http://en.wikipedia.org/wiki/Works_by_Banksy_damaged_or_destroyed">destroyed</a>, but there are still a handful that remain, mostly protected by perspex (a.k.a. plexiglass).</p>
<p><span id="more-210"></span>This site of top current Banksy locations was invaluable to me as I planned my day:</p>
<p><iframe width="500" height="500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps/ms?ie=UTF8&amp;oe=UTF8&amp;msa=0&amp;msid=201330103949415721523.00043e2db5162c1cbc318&amp;ll=51.54314,-0.112672&amp;spn=0.095797,0.207329&amp;t=m&amp;output=embed"></iframe><br />
<small>View <a style="color: #0000ff; text-align: left;" href="http://maps.google.co.uk/maps/ms?ie=UTF8&amp;oe=UTF8&amp;msa=0&amp;msid=201330103949415721523.00043e2db5162c1cbc318&amp;ll=51.54314,-0.112672&amp;spn=0.095797,0.207329&amp;t=m&amp;source=embed">London Banksy locations</a> in a larger map</small></p>
<h2>1. Banksy: &#8220;Choose Your Weapon&#8221;</h2>
<p><strong>Nearest tube:</strong> Borough on the Bank branch of the Northern line (0.9 miles west of site)<br />
<strong>Art location:</strong> Corner of The Grange and Grange Road</p>
<p>&#8220;Choose Your Weapon&#8221; was the first Banksy image I targeted. As I walked about, I wasn&#8217;t sure exactly where on The Grange it was located and in what condition it would be in if I found it. Having never seen a live Banksy, I didn&#8217;t know if it would be on the back wall or inaccessible place of one of the apartment complexes I passed.</p>
<p>Of course, I approached on the wrong end of The Grange and had to suffer the full distance before finally discovering it. Probably because of my uncertainty and confusion, it was truly stunning to run across on the street. In fact, of the four Banksy&#8217;s I saw, I enjoyed it the most.</p>
<p>I love the contrast between the flat, abstract dog and the beautifully rendered man and chain. I find it remarkable that the man&#8217;s hoodie can have so much volume and detail, all via a stencil and a spray can. Amazing.</p>
<p><strong>Full Image:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon.jpg"><img class="wp-image-211 alignnone" alt="banksy-choose-your-weapon" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon.jpg" width="500" height="669" /></a></p>
<p><strong>Detail 1:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-detail-1.jpg"><img class="wp-image-212 alignnone" alt="banksy-choose-your-weapon-detail-1" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-detail-1.jpg" width="500" /></a></p>
<p>Look how beautifully that chain is rendered (click image for a larger view). Hard to believe it is done with stencil and spray paint.</p>
<p><strong>Detail 2:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-detail-2.jpg"><img class="alignnone  wp-image-213" alt="banksy-choose-your-weapon-detail-2" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-detail-2.jpg" width="500" /></a></p>
<p><strong>Full Site:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-site.jpg"><img class="alignnone  wp-image-214" alt="banksy-choose-your-weapon-site" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-choose-your-weapon-site.jpg" width="500" /></a></p>
<p><strong>Walking Map from Nearest Tube:</strong></p>
<p><iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=borough+tube+stop+london&amp;daddr=The+Grange&amp;hl=en&amp;geocode=FZDYEQMdZJP-_ym1P9aEWAN2SDH7nr6jDDF-tw%3BFaXBEQMddNP-_w&amp;aq=&amp;sll=51.498752,-0.084758&amp;sspn=0.010393,0.021114&amp;t=h&amp;dirflg=w&amp;mra=ltm&amp;ie=UTF8&amp;ll=51.498752,-0.084758&amp;spn=0.005929,0.016374&amp;output=embed"></iframe><br />
<small><a style="color: #0000ff; text-align: left;" href="https://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=borough+tube+stop+london&amp;daddr=The+Grange&amp;hl=en&amp;geocode=FZDYEQMdZJP-_ym1P9aEWAN2SDH7nr6jDDF-tw%3BFaXBEQMddNP-_w&amp;aq=&amp;sll=51.498752,-0.084758&amp;sspn=0.010393,0.021114&amp;t=h&amp;dirflg=w&amp;mra=ltm&amp;ie=UTF8&amp;ll=51.498752,-0.084758&amp;spn=0.005929,0.016374">View Larger Map</a></small></p>
<h2>2. Banksy: &#8220;If Graffiti Changed Anything&#8221;</h2>
<p><strong>Nearest tube:</strong> Great Portland Street on the Hammersmith &amp; City, Circle and Metropolitan lines (0.3 miles north of site)<br />
<strong>Art location:</strong> Corner of Clipstone Street and Cleveland Street</p>
<p>Once again, I approached this piece from the wrong end of the street, and once again, I wasn&#8217;t sure if I would even find it or if it was still there. However, as with &#8220;Choose Your Weapon&#8221; I was hit with a bit of joy when I finally spotted it on the wall across the street. It was nice to see my first Banksy rat.</p>
<p>Like &#8220;Choose Your Weapon&#8221; this one is protected by perspex.</p>
<p><strong>Full Image:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything.jpg"><img class="alignnone  wp-image-220" alt="banksy-if-graffiti-changed-anything" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything.jpg" width="500" /></a></p>
<p><strong>Detail:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything-detail1.jpg"><img class="alignnone  wp-image-223" alt="banksy-if-graffiti-changed-anything-detail" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything-detail1.jpg" width="500" /></a></p>
<p>Have you ever looked at a rat and said, &#8220;beautiful&#8221;?</p>
<p><strong>Full Site:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything-site.jpg"><img class="alignnone  wp-image-222" alt="banksy-if-graffiti-changed-anything-site" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-if-graffiti-changed-anything-site.jpg" width="500" /></a></p>
<p><strong>Walking Map from Nearest Tube:</strong></p>
<p><iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=great+portland+street+tube+stop+london&amp;daddr=Clipstone+St&amp;hl=en&amp;geocode=FQAxEgMdkMz9_ymRVugL1xp2SDFg7OKd8lfs_A%3BFUMnEgMdeNz9_w&amp;sll=51.521815,-0.141567&amp;sspn=0.003134,0.004753&amp;t=h&amp;dirflg=w&amp;mra=dme&amp;mrsp=1&amp;sz=18&amp;ie=UTF8&amp;ll=51.521815,-0.141567&amp;spn=0.003134,0.004753&amp;output=embed"></iframe><br />
<small><a style="color: #0000ff; text-align: left;" href="https://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=great+portland+street+tube+stop+london&amp;daddr=Clipstone+St&amp;hl=en&amp;geocode=FQAxEgMdkMz9_ymRVugL1xp2SDFg7OKd8lfs_A%3BFUMnEgMdeNz9_w&amp;sll=51.521815,-0.141567&amp;sspn=0.003134,0.004753&amp;t=h&amp;dirflg=w&amp;mra=dme&amp;mrsp=1&amp;sz=18&amp;ie=UTF8&amp;ll=51.521815,-0.141567&amp;spn=0.003134,0.004753">View Larger Map</a></small></p>
<h2>3. Banksy: &#8220;Falling Shopper&#8221;</h2>
<p><strong>Nearest tube:</strong> Oxford Circus on the Central, Victoria and Bakerloo lines (0.4 miles north of site)<br />
<strong>Art location:</strong> On the Bruton Street side of Bruton Lane, about 20 feet up</p>
<p>&#8220;Falling Shopper&#8221; was the only Banksy I saw which wasn&#8217;t protected by perspex. That&#8217;s because it was painted about 20 feet above street level on the side of a building. It is located in a part of London with a high density of upscale shops, certainly on purpose.</p>
<p><strong>Full Image:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-falling-shopper1.jpg"><img class=" wp-image-227 alignnone" alt="banksy-falling-shopper" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-falling-shopper1.jpg" width="500" /></a></p>
<p>I love the soft, subtle shadow under the girl and shopping cart which pops it off the wall.</p>
<p><strong>Full Site:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-falling-shopper-site.jpg"><img class="alignnone  wp-image-216" alt="banksy-falling-shopper-site" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-falling-shopper-site.jpg" width="500" /></a></p>
<p><strong>Walking Map from Nearest Tube:</strong></p>
<p><iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=oxford+circus+tube+stop+london&amp;daddr=Bruton+Ln&amp;hl=en&amp;geocode=FVQPEgMdyNX9_ykFHtNN1Rp2SDGW67ZPvy-m7g%3BFbP8EQMd9c39_w&amp;aq=0&amp;oq=burton+lane+lon&amp;sll=51.511026,-0.143718&amp;sspn=0.002597,0.005279&amp;t=h&amp;dirflg=w&amp;mra=dme&amp;mrsp=1&amp;sz=18&amp;ie=UTF8&amp;ll=51.512789,-0.141932&amp;spn=0.002597,0.005279&amp;output=embed"></iframe><br />
<small><a style="color: #0000ff; text-align: left;" href="https://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=oxford+circus+tube+stop+london&amp;daddr=Bruton+Ln&amp;hl=en&amp;geocode=FVQPEgMdyNX9_ykFHtNN1Rp2SDGW67ZPvy-m7g%3BFbP8EQMd9c39_w&amp;aq=0&amp;oq=burton+lane+lon&amp;sll=51.511026,-0.143718&amp;sspn=0.002597,0.005279&amp;t=h&amp;dirflg=w&amp;mra=dme&amp;mrsp=1&amp;sz=18&amp;ie=UTF8&amp;ll=51.512789,-0.141932&amp;spn=0.002597,0.005279">View Larger Map</a></small></p>
<h2>4. Banksy: &#8220;Graffiti Painter&#8221;</h2>
<p><strong>Nearest tube:</strong> Ladbroke Grove on the City and Hammersmith &amp; City lines (0.2 miles west of site)<br />
<strong>Art location:</strong> Corner of Cambridge Gardens and Portobello Road</p>
<p>&#8220;Graffiti Painter&#8221; was the last Banksy image I found and was my second favorite of the bunch. I love the contrast of the traditional graffiti tag with the classic Banksy stencil-rendered man carefully painting that tag: clever and beautiful.</p>
<p>This one had the added drama of the &#8220;Robbo&#8221; over-tag. See the abbreviated story of Banksy and Robbo on Banksy&#8217;s site <a title="What's the story with Robbo?" href="http://www.banksy.co.uk/QA/qaa.html" target="_blank">here</a> and a Robbo-centric side of the story in the TV documentary, &#8220;<a title="YouTube" href="http://www.youtube.com/watch?v=ulOiB3xEkzM" target="_blank">Graffiti Wars</a>&#8220;.</p>
<p>While you are in the Notting Hill area, check out the close-by and fun <a href="http://www.museumofbrands.com/" target="_blank">Museum of Brands, Packaging and Advertising</a>. It will put you in the proper mood to receive the <a href="http://trickygirl.wordpress.com/2012/03/01/quote-of-the-day-banksy-on-advertising/" target="_blank">advert-hating</a> Banksy.</p>
<p><strong>Full Image:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter.jpg"><img class="alignnone  wp-image-217" alt="banksy-graffiti-painter" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter.jpg" width="500" /></a></p>
<p><strong>Detail 1:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-detail-1.jpg"><img class="alignnone  wp-image-218" alt="banksy-graffiti-painter-detail-1" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-detail-1.jpg" width="500" /></a></p>
<p><strong>Detail 2:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-detail2.jpg"><img class="alignnone  wp-image-228" alt="banksy-graffiti-painter-detail2" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-detail2.jpg" width="500" /></a></p>
<p><strong>Full Site:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-site.jpg"><img class="alignnone  wp-image-219" alt="banksy-graffiti-painter-site" src="http://mitchfournier.com/wp-content/uploads/2013/03/banksy-graffiti-painter-site.jpg" width="500" /></a></p>
<p><strong>A Little Team Robbo</strong> (seen on my walk to &#8220;Graffiti Painter&#8221;):</p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2013/03/team-robbo.jpg"><img class="alignnone  wp-image-224" alt="team-robbo" src="http://mitchfournier.com/wp-content/uploads/2013/03/team-robbo.jpg" width="500" /></a></p>
<p><strong>Walking Map from Nearest Tube:</strong></p>
<p><iframe width="500" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=ladbroke+grove+tube+stop+london&amp;daddr=Cambridge+Gardens.&amp;hl=en&amp;geocode=FQoYEgMdPsr8_yntgod1HxB2SDEmfkvN9fMNUw%3BFQweEgMdpdb8_w&amp;aq=1&amp;oq=cambridge+gardens,&amp;sll=51.518557,-0.208225&amp;sspn=0.005194,0.010557&amp;t=h&amp;dirflg=w&amp;mra=prv&amp;ie=UTF8&amp;ll=51.518557,-0.208225&amp;spn=0.005194,0.010557&amp;output=embed"></iframe><br />
<small><a style="color: #0000ff; text-align: left;" href="https://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=ladbroke+grove+tube+stop+london&amp;daddr=Cambridge+Gardens.&amp;hl=en&amp;geocode=FQoYEgMdPsr8_yntgod1HxB2SDEmfkvN9fMNUw%3BFQweEgMdpdb8_w&amp;aq=1&amp;oq=cambridge+gardens,&amp;sll=51.518557,-0.208225&amp;sspn=0.005194,0.010557&amp;t=h&amp;dirflg=w&amp;mra=prv&amp;ie=UTF8&amp;ll=51.518557,-0.208225&amp;spn=0.005194,0.010557">View Larger Map</a></small></p>
<p>My Banksy-day was a small but enjoyable introduction to the London street art scene for the low, low price of a £7.20 all-day tube pass. Whether you love Banksy or hate him, you&#8217;ve got to respect the man&#8217;s mastery of cardboard, an x-acto blade and a spray can.</p>
<p>I came to London a fan of Banksy and his work. I left an even bigger one.</p>
<p>P.S. If you are on Instagram, follow <a title="Instagram" href="http://instagram.com/ST_ART_LDN" target="_blank">@ST_ART_LDN</a> for a wider look at the London street art scene. Some more of my pix are there at my account: <a title="Instagram" href="http://instagram.com/mitchf" target="_blank">@mitchf</a></p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/03/09/in-london-see-some-banksy-for-7-20/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to download the jQuery Mobile documentation for offline viewing</title>
		<link>http://mitchfournier.com/2013/02/21/how-to-download-the-jquery-mobile-documentation-for-offline-viewing/</link>
		<comments>http://mitchfournier.com/2013/02/21/how-to-download-the-jquery-mobile-documentation-for-offline-viewing/#comments</comments>
		<pubDate>Thu, 21 Feb 2013 16:14:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=205</guid>
		<description><![CDATA[Simple steps detailing how to download the full jQuery Mobile documentation for offline viewing.]]></description>
				<content:encoded><![CDATA[<div id="attachment_207" class="wp-caption alignright" style="width: 210px"><a href="http://mitchfournier.com/wp-content/uploads/2013/02/jquery-mobile-devices-beta.png"><img class=" wp-image-207 " style="margin-left: 5px; margin-right: 5px;" alt="Download the jQuery Mobile documentation for offline use." src="http://mitchfournier.com/wp-content/uploads/2013/02/jquery-mobile-devices-beta.png" width="200" /></a><p class="wp-caption-text">Download the jQuery Mobile documentation for offline use.</p></div>
<p>Recently I was heading off on a long airplane trip and, because <a href="http://www.seatguru.com/airlines/American_Airlines/American_Airlines_Boeing_757-200.php" target="_blank">SeatGuru</a> said I would have power at my seat, I was planning to do some tinkering with <a href="http://jquerymobile.com/" target="_blank">jQuery Mobile</a>.</p>
<p>Having power at your seat is one thing, but having a WiFi connection is another. In anticipation of having no connectivity, I sought ways to download the full jQuery Mobile documentation.</p>
<p>In the past, I&#8217;ve successfully used a Windows program called <a href="http://www.httrack.com/" target="_blank">HTTrack</a> for spidering and downloading any webpage. Not finding or liking any of the Mac alternatives, I Googled further and found this simple solution.</p>
<p><span id="more-205"></span>For stable releases of jQuery Mobile, the zipped documentation archive will be at: http://code.jquery.com/mobile/VERSION/jquery.mobile-VERSION.docs.zip</p>
<p>In my case, this is the link I needed: <a href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.docs.zip" target="_blank">http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.docs.zip</a></p>
<p>It was a beautiful thing to type the above URL into my location bar and see the download start. If you plan to do some offline work yourself, make sure and grab the zipped docs as well as the required jQuery and jQuery Mobile libraries and CSS files. For me, they are located here:</p>
<ul>
<li><a href="http://code.jquery.com/jquery-1.9.0.min.js" target="_blank">http://code.jquery.com/jquery-1.9.0.min.js</a></li>
<li><a href="http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.js" target="_blank">http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.js</a></li>
<li><a href="http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.css" target="_blank">http://code.jquery.com/mobile/1.3.0-rc.1/jquery.mobile-1.3.0-rc.1.min.css</a></li>
</ul>
<p>If you have trouble viewing the docs in your Chrome browser (e.g. linking between pages doesn&#8217;t work), you can run a dead-simple Python web server on your laptop to serve them up. It&#8217;s a two-step process which will take you upwards of 30 seconds:</p>
<ol>
<li><span style="line-height: 13px;">Open a terminal window and browse to the root of your downloaded and uncompressed jQuery docs</span></li>
<li>Run this command: <span style="color: #993300;">python -m SimpleHTTPServer 8080</span></li>
</ol>
<p>Go to <span style="color: #993300;">http://localhost:8080</span> to see the docs.</p>
<p>H/T to <a href="https://github.com/eddiemonge" target="_blank">eddiemonge</a> over at <a href="https://github.com/jquery/jquery-mobile/issues/2902" target="_blank">this github thread</a> for pointing out the docs download trick and to <a href="http://www.andyjamesdavies.com/javascript/simple-http-server-on-mac-os-x-in-seconds" target="_blank">Andy Davies</a> for the simple Python webserver tip.</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2013/02/21/how-to-download-the-jquery-mobile-documentation-for-offline-viewing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Bash Script for Quick Whois Queries</title>
		<link>http://mitchfournier.com/2012/10/11/a-bash-script-for-quick-whois-queries/</link>
		<comments>http://mitchfournier.com/2012/10/11/a-bash-script-for-quick-whois-queries/#comments</comments>
		<pubDate>Thu, 11 Oct 2012 14:03:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=191</guid>
		<description><![CDATA[How many whois searches do you do in a year? A dozen? A dozen dozen? More? For me, it's probably in the neighborhood of a few dozen dozen. Here's a simple little bash script to speed things up for you.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2012/10/whois1.jpg"><img class="alignright size-full wp-image-194" title="whois" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/10/whois1.jpg" width="256" height="256" /></a>How many whois searches do you do in a year? A dozen? A dozen dozen? More? For me, it&#8217;s probably in the neighborhood of a few dozen dozen.</p>
<p>It seems like there is always a <a title="K-12 School Picture Frames" href="http://schoolphotoframes.com" target="_blank">fun new project</a> to work on and, sadly, it&#8217;s becoming nearly impossible to find good domain names.</p>
<p>Recently I was looking for a suitable LLC name for a company to hold all my projects. As my wife shouted out name candidates, I found myself repeating paired whois plural/singular queries like:</p>
<pre>whois hilltoplab.com
whois hilltoplabs.com
whois hilltopstudio.com
whois hilltopstudios.com</pre>
<p>Etc for .org, .biz (haha, not really) and .net&#8230;</p>
<p><span id="more-191"></span>As a lazy programmer-type, I decided to do a quick Google search to see if someone had a handy bash script available. Lucky for me, D&#8217;s Blog <a title="Bash script for displaying a relevant whois output" href="http://blog.omnidarren.com/?p=1" target="_blank">did</a>.</p>
<p>For me, the only whois output I am interested in is whether the domain is registered and, if it is not, when it was created (I like playing an annoying little game of &#8220;p&#8217;shaw&#8230;that was registered in 1999&#8242;&#8221; when I&#8217;m offered obviously taken suggestions).</p>
<p>I stripped out a lot of D&#8217;s functionality and ended with the following script:</p>
<pre class="brush: bash">#!/bin/bash

echo &quot;&quot;
echo &quot;######## WHOIS: &quot;$1

# Whois using the input variable
whois $1 |\

# Remove EOL characters
tr -d &#039;\015\032&#039; |\

# Remove leading spaces
sed &#039;s/^ *//&#039; |\

# Remove common unnecessary words from output
grep -v -e &quot;@&quot; -e &quot;http://&quot; -e &quot;WHOIS&quot; &gt; wtmp1.txt

# Display all of the date lines
egrep -i &quot;ate: &quot; wtmp1.txt

# Remove the tmp file
rm -rf wtmp1.txt

echo &quot;######## DONE!&quot;
echo &quot;&quot;</pre>
<p>(Don&#8217;t forget to chmod 774 your script after you create it).</p>
<p>I also have a little function I tuck in my .bash_aliases<br />
that lumps the singular/plural lookups I want to do.</p>
<p>It looks like this:</p>
<pre class="brush: bash">function wi() {
~/my_whois.sh &quot;$@&quot;lab.com;
~/my_whois.sh &quot;$@&quot;labs.com;
~/my_whois.sh &quot;$@&quot;studio.com;
~/my_whois.sh &quot;$@&quot;studios.com;
}</pre>
<p>So when I type this:</p>
<pre class="brush: plain">wi hilltop</pre>
<p>I get output like this:</p>
<pre class="brush: plain">

######## WHOIS: hilltoplab.com
######## DONE!

######## WHOIS: hilltoplabs.com
Updated Date: 18-jun-2009
Creation Date: 28-aug-2000
Expiration Date: 28-aug-2018
######## DONE!

######## WHOIS: hilltopstudio.com
Updated Date: 08-jan-2008
Creation Date: 10-oct-1999
Expiration Date: 10-oct-2013
######## DONE!

######## WHOIS: hilltopstudios.com
Updated Date: 07-aug-2012
Creation Date: 22-aug-2000
Expiration Date: 22-aug-2013
######## DONE!</pre>
<p>Cleanly indicating that, as of this writing, hilltoplab.com is available, but the other variations are not.</p>
<p>Aaahhhhhh&#8230;&#8230;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2012/10/11/a-bash-script-for-quick-whois-queries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error saving an HTML file in Windows 7 with Notepad++?</title>
		<link>http://mitchfournier.com/2012/08/31/error-saving-an-html-file-in-windows-7-with-notepad/</link>
		<comments>http://mitchfournier.com/2012/08/31/error-saving-an-html-file-in-windows-7-with-notepad/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 23:33:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=175</guid>
		<description><![CDATA[A simple fix for the common Windows "file is in use/locked" error when saving.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2012/08/Lock.png"><img class="size-thumbnail wp-image-189 alignright" title="Lock" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/08/Lock-150x150.png" width="150" height="150" /></a>Recently, I was editing an HTML file for a little site I put together called <a title="K-12 school picture frames" href="http://www.schoolphotoframes.com" target="_blank">school photo frames</a>. I was using Notepad++ and kept receiving an error when trying to save it.</p>
<p>The file was reported as being in use by another program or process. I search all over and found many posts about tweaking folder permissions, messing with DLL settings and running things as administrator.</p>
<p>None of that worked, of course, but what did work was even easier. <span id="more-175"></span>You see, as I was opening the file via Windows explorer, it was opening up a file preview in the right pane of my window. As long as this preview is shown, the file is locked for editing. If you click off the filename, the preview goes away, and the file is editable again.</p>
<p>Thanks for that fun little curveball, Microsoft.</p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2012/08/file-lock.jpg"><img class="aligncenter size-full wp-image-188" title="file-lock" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/08/file-lock.jpg" width="500" height="240" /></a></p>
<p>&nbsp;</p>
<p>These are the actual errors you get when explorer has a lock on the file</p>
<p><strong>WordPad:</strong><br />
&#8220;The document [PATH\FILENAME] is in use by another application and cannot be accessed.&#8221;</p>
<p><strong>Notepad++:</strong><br />
&#8220;Save failed: Please check whether if this file is opened in another program&#8221;</p>
<p><strong>Notepad:</strong><br />
&#8220;The process cannot access the file because it is being used by another process.&#8221;</p>
<p><strong>Microsoft Word:</strong><br />
&#8220;This file is read-only. ([PATH\FILENAME])&#8221;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2012/08/31/error-saving-an-html-file-in-windows-7-with-notepad/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Seven Piece Lego iPhone Stand</title>
		<link>http://mitchfournier.com/2012/06/11/the-seven-piece-lego-iphone-stand/</link>
		<comments>http://mitchfournier.com/2012/06/11/the-seven-piece-lego-iphone-stand/#comments</comments>
		<pubDate>Mon, 11 Jun 2012 16:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=182</guid>
		<description><![CDATA[A simple 7-piece Lego iPhone stand using four 2x6 and three 1x4 bricks.]]></description>
				<content:encoded><![CDATA[<p><img class="wp-image-184 alignright" style="margin-left: 5px; margin-right: 5px;" title="7-piece-lego-iphone-stand" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/7-piece-lego-iphone-stand.jpg" width="300" height="300" /></p>
<p>On top of all the other tasks my iPhone shoulders, one of its most reliable functions is as a daily reminder system and nightly alarm clock.</p>
<p>On the road or at home, I always know how to program it quickly, can count on its reliability and can access all of my stored alarms for my different daily commitments.</p>
<p>Up until today, I have simply set my phone down on my bedside table or propped it up against a lamp. No more: with seven standard lego bricks and 15 seconds of time (not counting the hour of digging through our lego bin to find the seven pieces) I now have a simple, functional, portable iPhone stand.</p>
<p><strong><span id="more-182"></span>The Seven Lego Pieces:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2012/06/lego-iphone-stand-parts.jpg"><img class="aligncenter size-full wp-image-185" title="lego-iphone-stand-parts" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/lego-iphone-stand-parts.jpg" width="400" height="400" /></a></p>
<p><strong>My iPhone in the Lego Stand:</strong></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2012/06/lego-iphone-stand.jpg"><img class="aligncenter size-full wp-image-183" title="lego-iphone-stand" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/lego-iphone-stand.jpg" width="400" height="344" /></a></p>
<p>Think you have a better lego-based design? Send me a picture and I&#8217;ll add it to the post and put it to a vote&#8230;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2012/06/11/the-seven-piece-lego-iphone-stand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Home Button Not Working? Try This Fix (requires Jailbreak and Activator app)</title>
		<link>http://mitchfournier.com/2012/06/11/iphone-home-button-not-working-try-this-fix-requires-jailbreak-and-activator-app/</link>
		<comments>http://mitchfournier.com/2012/06/11/iphone-home-button-not-working-try-this-fix-requires-jailbreak-and-activator-app/#comments</comments>
		<pubDate>Mon, 11 Jun 2012 16:03:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://mitchfournier.com/?p=172</guid>
		<description><![CDATA[A software fix for your broken or degraded iPhone home button. Requires jailbreak.]]></description>
				<content:encoded><![CDATA[<p><a href="http://mitchfournier.com/wp-content/uploads/2012/06/iphone_homebutton.png"><img class="alignright size-medium wp-image-176" title="iphone_homebutton" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/iphone_homebutton-300x300.png" width="300" height="300" /></a>Like most owners, I love my iPhone like a favorite child. It&#8217;s my portable connection to the web, my newspaper, my camera, my preferred gaming device, my grocery list, my alarm clock, my calculator&#8230;and once in a while, my phone.</p>
<p>A couple of months ago I lost my iPhone while on the <a title="Manta" href="http://seaworldparks.com/seaworld-orlando/Attractions/Rides/Manta" target="_blank">Manta roller coaster</a> at Seaworld in Orlando, Florida. When I realized it was gone, I was crushed. I felt lonely and confused.</p>
<p>In a still-unbelievable stroke of luck, a fellow park visitor happened to see it fly out of my pocket on the first loop, watched it fall 50 feet into the brush (miraculously missing all of the buildings, rocks, pools, pavement and people it could have hit) and retrieved it.  As we left the ride, my daughter happened to walk by her and notice <a title="iPhone camera decal" href="http://www.amazon.com/gp/product/B007TCK20K/ref=as_li_ss_tl?ie=UTF8&amp;tag=wantboxcom-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B007TCK20K" target="_blank">the decal</a> on the back of my phone, which is how my precious returned to me, with nary a scratch or a scuff.<span id="more-172"></span></p>
<p>Anyhow, because I use my iPhone all day long every day, my home button has gradually become more and more unresponsive. For over a year I have had to push a little extra hard or press on certain areas of the button to get it to register. It didn&#8217;t really strike my how bad it had become until I started using our new iPad.</p>
<p>I took my phone to the genius bar at my local Apple Store and they cleaned out the button and docking port, did a <a title="Redmond Pie: &quot;How To Recalibrate iPhone Home Button&quot;" href="http://www.redmondpie.com/how-to-recalibrate-iphone-home-button-to-make-it-more-responsive/" target="_blank">software recalibration</a> and a full OS restore. It didn&#8217;t work.</p>
<p>They showed me the <a href="http://www.simonblog.com/2011/11/06/iphone-home-button-not-working-assistive-touch-can-be-the-workaround/" target="_blank">built-in iOS accessibility option</a> which places a software home button on the screen, but it always seemed to be in the way and I didn&#8217;t like that it took two steps to register a home click.</p>
<p>The next day I <a title="Redmond Pie: &quot;Jailbreak iOS 5.1.1 Untethered...&quot;" href="http://www.redmondpie.com/jailbreak-5.1.1-untethered-iphone-4s-ipad-3-ipod-touch-and-more-using-absinthe-2.0-video-tutorial/" target="_blank">jailbroke</a> my phone and started messing with the &#8220;Activator&#8221; app to find a better solution. After a few days of tweaking, I have a highly effective solution.</p>
<p><strong>My Activator Configuration</strong></p>
<p>I have setup the following actions in Activator:</p>
<ol>
<li>Anywhere &gt; Status Bar: Double Tap &gt; Activate Switcher</li>
<li>Anywhere &gt; Status Bar: Swipe Left &gt; Home Button</li>
<li>At Home Screen &gt; Status Bar: Single Tap &gt; Home Button</li>
</ol>
<p>Now double-tapping on the status bar is the same as double-pressing my balky home button and swiping left in the status bar is equivalent to a home click (swiping right brings up the excellent &#8220;SBSettings&#8221; app).</p>
<p>I didn&#8217;t set an &#8220;anywhere&#8221; single status bar click because many apps register that as a &#8220;scroll to top&#8221; event, which I wanted to keep. I did enable the &#8220;single tap&#8221; action in SpringBoard, though, since there is no need to scroll to top in that icon view.</p>
<p>This new configuration has been a phone saver for me.</p>
<p><strong>Step-By-Step Example</strong></p>
<p>Launch Activator and click &#8220;Anywhere&#8221;:<a href="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0040.png"><img class="aligncenter size-medium wp-image-177" title="IMG_0040" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0040-200x300.png" width="200" height="300" /></a></p>
<p>Select &#8220;Double Tap&#8221; in the &#8220;Status Bar&#8221; section:</p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0041.png"><img class="aligncenter size-medium wp-image-178" title="IMG_0041" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0041-200x300.png" width="200" height="300" /></a></p>
<p>Select &#8220;Activate Switcher&#8221; in the &#8220;System Actions&#8221; section:<a href="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0043.png"><img class="aligncenter size-medium wp-image-180" title="IMG_0043" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0043-200x300.png" width="200" height="300" /></a></p>
<p><a href="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0042.png"><img class="aligncenter size-medium wp-image-179" title="IMG_0042" alt="" src="http://mitchfournier.com/wp-content/uploads/2012/06/IMG_0042-200x300.png" width="200" height="300" /></a></p>
<p>Done. After a day you&#8217;ll be so used to your software-based home button clicks that the physical click will feel crude and primitive.</p>
<p>&nbsp;</p>
<!-- Start Shareaholic Recommendations Automatic --><!-- End Shareaholic Recommendations Automatic -->]]></content:encoded>
			<wfw:commentRss>http://mitchfournier.com/2012/06/11/iphone-home-button-not-working-try-this-fix-requires-jailbreak-and-activator-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
