<?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>Think2Loud &#187; quicktip</title> <atom:link href="http://think2loud.com/tag/quicktip/feed/" rel="self" type="application/rss+xml" /><link>http://think2loud.com</link> <description>Random thoughts from a few geeks</description> <lastBuildDate>Wed, 04 Jan 2012 01:43:02 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Organize your dock by adding spacers in Snow Leopard</title><link>http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/</link> <comments>http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/#comments</comments> <pubDate>Fri, 30 Jul 2010 20:33:49 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[quicktip]]></category> <category><![CDATA[Snow Leopard]]></category><guid isPermaLink="false">http://think2loud.com/?p=801</guid> <description><![CDATA[<p>There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I &#8230; <a href="http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/">Read More</a></p><p><a href="http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/">Organize your dock by adding spacers in Snow Leopard</a></p>]]></description> <content:encoded><![CDATA[<p>There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I like it a had to make a few changes and one of them is to add separators between applications. I do this to group like applications together. So to get started the first thing you will need to do is open Terminal on your Mac.</p><p>This is what my dock currently looks like.<br /><img src="http://zippy.think2loud.com/wp-content/uploads/2010/07/dock_spacer.jpg" alt="" title="dock_spacer" width="670" height="34" class="alignnone size-full wp-image-810" /></p><p>Terminal can be found in: Applications > Utilities</p><p>To add a separator to the left side of the dock</p><div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type=&quot;spacer-tile&quot;;}'</pre></div></div><p>To add a separator to the right side of the dock</p><div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type=&quot;spacer-tile&quot;;}'</pre></div></div><p>Each time you run one of the commands above it will create a new separator but you need to restart the dock to see them. To do this just type this into Terminal:</p><div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">killall Dock</pre></div></div><p><a href="http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/">Organize your dock by adding spacers in Snow Leopard</a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/801-organize-dock-adding-spacers-snow-leopard/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Backblaze Icon Missing from Menu Bar in Snow Leopard</title><link>http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/</link> <comments>http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/#comments</comments> <pubDate>Wed, 28 Jul 2010 02:02:40 +0000</pubDate> <dc:creator>Jon</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[Backblaze]]></category> <category><![CDATA[OS X]]></category> <category><![CDATA[quicktip]]></category> <category><![CDATA[Snow Leopard]]></category><guid isPermaLink="false">http://think2loud.com/?p=782</guid> <description><![CDATA[<p>Long story short, Backblaze is awesome!  Up until I lost my Backblaze icon from the menu bar in Mac OSX Snow Leopard.  I researched online a little and couldn&#8217;t find an easy method of fixing the issue.  With that nifty &#8230; <a href="http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/">Read More</a></p><p><a href="http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/">Backblaze Icon Missing from Menu Bar in Snow Leopard</a></p>]]></description> <content:encoded><![CDATA[<p>Long  story short, <a target="_blank" title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> is awesome!  Up until I lost my <a target="_blank" title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon  from the menu bar in Mac OSX Snow Leopard.  I researched online a little  and couldn&#8217;t find an easy method of fixing the issue.  With that nifty  little icon missing, I worried if it were working at all &#8211; all those  precious photos, video and digital memories gone?</p><p>By  going into the <a target="_blank" title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> settings in your System Preferences, you can  select the check box next to &#8220;Show Backblaze icon in the menu bar.&#8221;   However, every time I checked the box, the icon would not come back.   And upon return to the preferences, the box remained unchecked.  A  mystery?  Yes, indeed.</p><p>Therefore,  I contacted customer support and they gave me a quick and easy solution  that made my day.  Try the following steps below to fix the  mysteriously missing <a target="_blank" title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon from the menu bar in Snow Leopard.</p><ol><li>Click on the Finder</li><li>Press Command + Shift + G</li><li>Enter /Library/Backblaze in the text field and press &#8220;Go&#8221;</li><li>Right click on the folder &#8220;bzdata&#8221; and Get Info (or press command + i)</li><li>Change the permissions, so that all users have &#8220;Read &amp; Write&#8221; permissions.</li><li>Then click the gear icon and select &#8220;Apply to enclosed items..&#8221;</li><li>If  the <a target="_blank" title="Backblaze" href="http://www.backblaze.com/partner/af0812" target="_blank">Backblaze</a> icon doesn’t show up on the menu bar, follow steps 1-3  again and this time double click “bzbmenu” and this will place the icon  in the right spot.</li></ol><p><a href="http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/">Backblaze Icon Missing from Menu Bar in Snow Leopard</a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/782-backblaze-icon-missing-menu-bar-snow-leopard/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>How to see if a Post in WordPress has an Excerpt</title><link>http://think2loud.com/723-check-post-wordpress-excerpt/</link> <comments>http://think2loud.com/723-check-post-wordpress-excerpt/#comments</comments> <pubDate>Fri, 09 Jul 2010 02:33:55 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[quicktip]]></category><guid isPermaLink="false">http://think2loud.com/?p=723</guid> <description><![CDATA[<p>On the single post page for our posts, we wanted to display the excerpt only if one had been entered. Since the built-in WordPress function to get the excerpt for a post will automatically generate one for you, we couldn’t &#8230; <a href="http://think2loud.com/723-check-post-wordpress-excerpt/">Read More</a></p><p><a href="http://think2loud.com/723-check-post-wordpress-excerpt/">How to see if a Post in WordPress has an Excerpt</a></p>]]></description> <content:encoded><![CDATA[<p>On the single post page for our posts, we wanted to display the excerpt only if one had been entered. Since the built-in WordPress function to get the excerpt for a post will automatically generate one for you, we couldn’t just put the function in our post loop like what was done below.</p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span> have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
		&lt;h1 class=&quot;entry-title&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h1&gt;
		&lt;div class=&quot;entry-content&quot;&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/div&gt;&lt;!-- .entry-content --&gt;
	&lt;/div&gt;&lt;!-- #post --&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// end of the loop. ?&gt;</span></pre></div></div><p>Doing this causes the intro of the post to show twice, once from the auto-generated excerpt and once in the post content. To fix this, we added a quick check to the post loop. Simply replacing the_excerpt function in the post loop with this little piece of code removed the double intro.</p><div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span><span style="color: #990000;">empty</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_excerpt</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">//We have a excerpt so print it</span>
		the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> 
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p><a href="http://think2loud.com/723-check-post-wordpress-excerpt/">How to see if a Post in WordPress has an Excerpt</a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/723-check-post-wordpress-excerpt/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: think2loud.com @ 2012-02-03 21:59:11 by W3 Total Cache -->
