<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dan Mesa - Burlington Vermont Web Design and Development</title>
	<atom:link href="http://danmesa.com/speaks/feed/" rel="self" type="application/rss+xml" />
	<link>http://danmesa.com/speaks</link>
	<description></description>
	<lastBuildDate>Thu, 08 Dec 2011 03:16:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Enabling MAMP MySQL in Terminal</title>
		<link>http://danmesa.com/speaks/2011/12/enabling-mamp-mysql-in-terminal/</link>
		<comments>http://danmesa.com/speaks/2011/12/enabling-mamp-mysql-in-terminal/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 03:08:03 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://danmesa.com/speaks/?p=16</guid>
		<description><![CDATA[PHPMyAdmin is a great tool but it has it&#8217;s negatives if you have a large file to import or just want quick access to your data. Luckily, it doesn&#8217;t take much to access MySQL straight from Terminal on your Mac. &#8230; <a href="http://danmesa.com/speaks/2011/12/enabling-mamp-mysql-in-terminal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>PHPMyAdmin is a great tool but it has it&#8217;s negatives if you have a large file to import or just want quick access to your data. Luckily, it doesn&#8217;t take much to access MySQL straight from Terminal on your Mac. Just follow these steps!</p>
<p><span id="more-16"></span></p>
<h2>1. Test for MySQL</h2>
<p>First, open up Terminal. You can do this quickly and easily using Spotlight:</p>
<p>Command + Spacebar -&gt; Type: terminal -&gt; Press &#8216;Return&#8217;</p>
<p>Next, start MySQL via MAMP and confirm MySQL is available by running the following in Terminal:</p>
<pre class="brush: plain; title: ;">/Applications/MAMP/Library/bin/mysql -uroot -p</pre>
<p>In a default MAMP installation your password should be &#8216;root&#8217; but you can double check by navigating to your MAMP start page.</p>
<p>If all goes well you&#8217;ll be at your MySQL prompt. Give it a whirl with a quick MySQL command:</p>
<pre class="brush: plain; title: ;">show processlist;</pre>
<h2>2. Create a MySQL Shortcut</h2>
<p>1. Type &#8216;quit&#8217; to get back to terminal from MySQL and enter:</p>
<pre class="brush: plain; title: ;">mkdir ~/bin</pre>
<p>2. Link the MySQL binary into the directory:</p>
<pre class="brush: plain; title: ;">cd ~/bin
ln -s /Applications/MAMP/Library/bin/mysql mysql</pre>
<p>Tip: Pressing tab auto completes a folder&#8217;s name if you&#8217;ve typed enough of it to differentiate it from other folders in the same directory.</p>
<h2>3. Create a .bash_profile</h2>
<p>You can skip this if it&#8217;s already done.</p>
<p>1. In Terminal type:</p>
<pre class="brush: plain; title: ;">cd ~/</pre>
<p>2. Create the file by typing:</p>
<pre class="brush: plain; title: ;">touch .bash_profile</pre>
<h2>4. Update .bash_profile with your MySQL path</h2>
<p>1. Open the newly created .bash_profile for editing by typing:</p>
<pre class="brush: plain; title: ;">open -e .bash_profile</pre>
<p>This should open in TextEdit.</p>
<p>2. In .bash_profile, add the following, save and close:</p>
<pre class="brush: plain; title: ;">export PATH=$PATH:/Users/YOUR_USERNAME/bin/</pre>
<p>3. Reload .bash_profile by running the following command in Terminal:</p>
<pre class="brush: plain; title: ;">source .bash_profile</pre>
<p>All set! You can now connect to MySQL through Terminal by simply typing &#8216;mysql&#8217; into Terminal.</p>
<h2>Didn&#8217;t Quite Work Out?</h2>
<p>1. Confirm the path is set correctly:</p>
<pre class="brush: plain; title: ;">echo $PATH;</pre>
<p>This should echo out the path you&#8217;ve set in your .bash_profile file.</p>
<p>2. Confirm the link is in place:</p>
<pre class="brush: plain; title: ;">ls -la ~/bin</pre>
<p>You should see:</p>
<pre class="brush: plain; title: ;">mysql -&gt; /Applications/MAMP/Library/bin/mysql</pre>
]]></content:encoded>
			<wfw:commentRss>http://danmesa.com/speaks/2011/12/enabling-mamp-mysql-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Usability of CSS3</title>
		<link>http://danmesa.com/speaks/2011/12/the-usability-of-css3/</link>
		<comments>http://danmesa.com/speaks/2011/12/the-usability-of-css3/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 21:39:19 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://danmesa.com/speaks/?p=10</guid>
		<description><![CDATA[With IE dwindling and Firefox&#8217;s new rapid release cycle, it&#8217;s no wonder there&#8217;s a lot more CSS3 behind modern websites. And while much of the new spec is easy to grasp and implement, it&#8217;s important to take the time to &#8230; <a href="http://danmesa.com/speaks/2011/12/the-usability-of-css3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With IE <a href="http://googledocs.blogspot.com/2011/06/our-plans-to-support-modern-browsers.html" target="_blank">dwindling</a> and Firefox&#8217;s new rapid release cycle, it&#8217;s no wonder there&#8217;s a lot more CSS3 behind modern websites. And while much of the new spec is easy to grasp and implement, it&#8217;s important to take the time to experiment through and through and really understand what we&#8217;re working with.</p>
<p><span id="more-10"></span></p>
<p>One issue I come across on almost a daily basis is terrible use of drop shadows on body copy (open up Chrome/webkit to see what I mean). More often than not it&#8217;s used in web apps (project management tools, etc) which is slightly more forgivable, but I&#8217;ve also come across it in blog posts. </p>
<p>There&#8217;s no doubt: that embossed text look is sexy. The problem is that some users highlight the text their reading, and more often than not text with a text shadow is near incomprehensible with the default highlighting color.</p>
<p>Here&#8217;s an example (highlight it!):</p>
<p style="font-size: 11px; padding: 10px 20px; background: #f3f3ea; border: solid 1px #e6e6d1; text-shadow: 1px 1px #fff; font-family: Georgia, Times New Roman, Trebuchet MS;">Check out how artsy I am!</p>
<p>It takes all of another 30 seconds to 1) make your website more awesome and 2) cause less seizures (highlight again!):</p>
<style type="text/css">
p.sexy-highlight::selection {
        background: #fff2a8;
}
</style>
<p class="sexy-highlight" style="font-size: 11px; padding: 10px 20px; background: #f3f3ea; border: solid 1px #e6e6d1; text-shadow: 1px 1px #fff; font-family: Georgia, Times New Roman, Trebuchet MS;">Check out how artsy I am!</p>
<p>All it took was the following CSS:</p>
<pre class="brush: plain; title: ;">
p.sexy-highlight::selection {
        background: #fff2a8;
}
</pre>
<p>There&#8217;s a chance you highlighted both of those and saw no difference. If that&#8217;s the case, do your part and download a better browser! Even though ::selection isn&#8217;t quite cross browser, adding it to your stylesheet means your website will get <em>better</em> with time.</p>
<p>So, moral of this post? Don&#8217;t forget to use the websites you create!</p>
<p><img src="http://danmesa.com/speaks/wp-content/uploads/2011/12/selection.png" alt="" title="selection" width="431" height="151" class="aligncenter size-full wp-image-12" /></p>
]]></content:encoded>
			<wfw:commentRss>http://danmesa.com/speaks/2011/12/the-usability-of-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control Your Facebook Meta Data with an Iron Fist</title>
		<link>http://danmesa.com/speaks/2011/03/control-your-facebook-meta-data/</link>
		<comments>http://danmesa.com/speaks/2011/03/control-your-facebook-meta-data/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 09:45:18 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Optimization]]></category>

		<guid isPermaLink="false">http://danmesa.com/speaks/?p=6</guid>
		<description><![CDATA[I&#8217;m sure just about everyone has shared a link on Facebook. Have you ever wondered where Facebook is getting that title, text snippet, or image from? As Facebook gets bigger and bigger, knowing and implementing the ins and outs is &#8230; <a href="http://danmesa.com/speaks/2011/03/control-your-facebook-meta-data/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure just about everyone has shared a link on Facebook. Have you ever wondered where Facebook is getting that title, text snippet, or image from? As Facebook gets bigger and bigger, knowing and implementing the ins and outs is crucial as we fight for clicks.</p>
<p>Let&#8217;s call it FO, short for Facebook Optimization. Coined? Sure.</p>
<p><span id="more-6"></span></p>
<p>There are three meta tags we should be primarily concerned with, although Facebook offers <a title="The Facebook Open Graph Protocol" href="http://developers.facebook.com/docs/opengraph/" target="_blank">considerably more</a>:</p>
<h2>The Description</h2>
<p>By default, Facebook scrapes your website&#8217;s description meta tag. That&#8217;s perfectly acceptable in most situations, and a fantastic fall back, but your website&#8217;s description is keen to those people <em>searching</em> for your website. On Facebook, you&#8217;re in the way of <a href="http://www.dailymail.co.uk/news/article-491668/The-ladettes-glorify-shameful-drunken-antics-Facebook.html" target="_blank">much</a> <a href="http://techcrunch.com/2007/03/09/career-advice-dont-choose-facebook-over-your-job/" target="_blank">more</a> <a href="http://failbook.failblog.org/" target="_blank">important</a> <a href="http://www.lamebook.com/" target="_blank">things</a>. In other words, <strong>you&#8217;re interrupting</strong>.</p>
<p>In light of this, you can target your description while keeping that information in mind by adding a secondary description to your pages:</p>
<pre class="brush: xml; title: ;">
&lt;meta property=&quot;og:description&quot; content=&quot;Just try to distrac-&quot;/&gt;
</pre>
<h2>Image</h2>
<p>Images play a key role in distractions (<a href="http://icanhascheezburger.com/2007/01/11/i-has-a-flavor-2/" target="_blank" title="I'd like to call this: time on site suicide!">source</a>), so ensuring the right one hangs to the left of your site description can help bump up those Facebook referrals. Without specifying your Open Graph image, Facebook conveniently parses your site for all images sources and allows you to scroll through prior to posting. Specifying via a meta tag ensures you&#8217;re in control (and the images don&#8217;t have to be on the page).</p>
<pre class="brush: xml; title: ;">
&lt;meta property=&quot;og:image&quot; content=&quot;path/to/img.ext&quot;/&gt;
</pre>
<h2>Title</h2>
<p>By default, Facebook pulls from the title tag in the HTML of the linked page. Typically okay, but again, controlling the content to a specific visitor niche is extraordinarily powerful if used correctly.</p>
<pre class="brush: xml; title: ;">
&lt;meta property=&quot;og:title&quot; content=&quot;Make It Awesome&quot;/&gt;
</pre>
<h2>Check Your Work!</h2>
<p>Facebook developers, out of the kindness of their hearts, created a tool to help you test your meta tags instead of just posting and deleting time and time again. Head over to the <a href="http://developers.facebook.com/tools/lint/">Facebook URL Linter</a> to see your meta tags in action!</p>
]]></content:encoded>
			<wfw:commentRss>http://danmesa.com/speaks/2011/03/control-your-facebook-meta-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Immediately Harness HTML5 to Help Learn CSS</title>
		<link>http://danmesa.com/speaks/2011/03/immediately-harness-html5-to-learn-css/</link>
		<comments>http://danmesa.com/speaks/2011/03/immediately-harness-html5-to-learn-css/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 01:35:35 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://danmesa.com/speaks/?p=1</guid>
		<description><![CDATA[As you may or may not know, I worked as a Teacher&#8217;s Assistant (for a web development class) for three of my four years at the University of Vermont. Often, I found myself fairly empathetic frustrated with students having a tough &#8230; <a href="http://danmesa.com/speaks/2011/03/immediately-harness-html5-to-learn-css/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As you may or may not know, I worked as a Teacher&#8217;s Assistant (for a web development class) for three of my four years at the University of Vermont. Often, I found myself fairly <del>empathetic</del> frustrated with students having a tough time with one of the most basic and most difficult concepts when it comes to CSS: floats. <a title="CSS Floats 101 - A List Apart" href="http://www.alistapart.com/articles/css-floats-101/">A List Apart</a> can back that statement up. However, we all start somewhere, and the key is finding a way to really wrap your head around a concept.</p>
<p>Imagine, though, a Javascript-free way to <em>on-the-fly</em> watch the results of your CSS. Sounds cool, right? Well it&#8217;s even cooler when you see just how easy it is.</p>
<p><span id="more-1"></span></p>
<p>We&#8217;re all, hopefully, familiar with the &lt;style&gt; tag. We often use it in the &lt;head&gt; of our documents to draft up some document-level styling before porting it over to an external stylesheet (<strong>right?!</strong>).</p>
<p>Not today. Instead, drop that &lt;style&gt; tag right into the body of your document. Below it, add some simple HTML. For the purpose of this post, let&#8217;s just throw a paragraph tag on the page. Right now we should have something like this:</p>
<pre class="brush: css; html-script: true; title: ;">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
  &lt;meta charset=&quot;utf-8&quot; /&gt;
  &lt;title&gt;Title&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt; 

	&lt;p&gt;Funky!&lt;/p&gt;

	&lt;style type=&quot;text/css&quot;&gt;

	&lt;/style&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Next, some styling. In your &lt;style&gt; block, let&#8217;s start off by giving that paragraph a border so we can see what the heck is happening, and whatever else you want to do. By default, browsers render the &lt;style&gt; block as &#8216;display: none&#8217;, so what&#8217;s a developer to do? Well, &#8216;display: block;&#8217; of course. Refresh &#8211; we&#8217;re halfway there already!</p>
<p>Next, we&#8217;ll want that css to be a little easier to read. We can do that by giving it a monospaced typeface and a little white-space magic to preserve line breaks:</p>
<pre class="brush: css; html-script: true; title: ;">
&lt;style type=&quot;text/css&quot;&gt;

	p {
		border: solid 1px #000;
		padding: 10px;
	}

	style {
		display: block;
		font-size: 12px;
		font-family: Courier;
		white-space: pre;
	}

&lt;/style&gt;
</pre>
<p>Refresh the page. Fancy, right? But not good enough. Drop the awesome &#8216;contenteditable&#8217; parameter into the opening &lt;style&gt; tag and, there you have it, on the fly CSS! Play around with floats, overflows, background positions &#8211; anything &#8211; and watch things change (or not change) as you type. </p>
<p>Here&#8217;s the final code:</p>
<pre class="brush: css; html-script: true; title: ;">
&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
  &lt;meta charset=&quot;utf-8&quot; /&gt;
  &lt;title&gt;Title&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt; 

	&lt;p&gt;Funky!&lt;/p&gt;

	&lt;style type=&quot;text/css&quot; contenteditable&gt;

		p {
			border: solid 1px #000;
			padding: 10px;
		}

		body style {
			display: block;
			font-size: 12px;
			font-family: Courier;
			white-space: pre;
		}

	&lt;/style&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>And, of course, here&#8217;s <a href="http://sandbox.danmesa.com/examples/immediately-harness-html5-to-help-learn-css/">the live code</a> &#8211; go nuts! But note that you may have to <strong>shift-enter</strong> to line break, depending on your browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://danmesa.com/speaks/2011/03/immediately-harness-html5-to-learn-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

