<?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>The Gippy Pages &#187; Computers</title>
	<atom:link href="http://top-frog.com/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://top-frog.com</link>
	<description>Polluting the internet since 2004</description>
	<lastBuildDate>Fri, 27 Jan 2012 05:23:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>WordPress TextMate Bundle: Better late than never edition (aka: 3.3)</title>
		<link>http://top-frog.com/2012/01/26/wordpress-textmate-bundle-better-late-than-never-edition-aka-3-3/</link>
		<comments>http://top-frog.com/2012/01/26/wordpress-textmate-bundle-better-late-than-never-edition-aka-3-3/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 05:23:59 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[3.3]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2135</guid>
		<description><![CDATA[FINALLY! WordPress 3.3 support is up for the TextMate Bundle. This is pretty much an update to the function definitions to add in new functions that were added in WordPress 3.3. I&#8217;ve been out of the WordPress loop for a little while now and I&#8217;m not up to speed to what some of the new [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://top-frog.com/wp-content/uploads/2012/01/late.png" alt="late" title="Google tells me that this is the Japanese character meaning &#039;Late&#039;" width="151" height="151" class="alignright size-full wp-image-2139" />FINALLY! WordPress 3.3 support is up for the <a href="http://top-frog.com/projects/wordpress-textmate-bundle/">TextMate Bundle</a>. This is pretty much an update to the function definitions to add in new functions that were added in WordPress 3.3. </p>
<p>I&#8217;ve been out of the WordPress loop for a little while now and I&#8217;m not up to speed to what some of the new developer oriented hotness is that could be added to the bundle so if you&#8217;re looking for something in particular drop a comment here or open an <a href="https://github.com/Gipetto/wordpress.tmbundle/issues">issue on GitHub</a>.</p>
<p>If you&#8217;re so inclined go ahead and Fork it, update what you need and submit a pull request. Since I don&#8217;t work with WordPress on a regular basis there are going to be those of you out there that have a better grasp than I on what should be added, or even what should be removed, from the Bundle.</p>
<p>So, my apologies for the delay with the update. I&#8217;ll try not to let it happen again.</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2012/01/26/wordpress-textmate-bundle-better-late-than-never-edition-aka-3-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Bundle now works with The TextMate 2 Alpha</title>
		<link>http://top-frog.com/2012/01/06/wordpress-bundle-now-works-with-the-textmate-2-alpha/</link>
		<comments>http://top-frog.com/2012/01/06/wordpress-bundle-now-works-with-the-textmate-2-alpha/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 06:47:12 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[textmate2]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2104</guid>
		<description><![CDATA[The WordPress TextMate bundle now works just fine with the TextMate 2 Alpha. It was easier than I thought it would be. It boiled down to some environment variables changing a little bit. No biggie. So, there it is. TextMate 2 Alpha support. If you notice anything weird please open a Support Ticket on GitHub. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://top-frog.com/wp-content/uploads/2012/01/TextMate2.png" alt="TextMate 2 Icon" title="I love this icon!" width="128" height="128" class="alignright size-full wp-image-2106" />The WordPress TextMate bundle now works just fine with the TextMate 2 Alpha. It was easier than I thought it would be. It boiled down to some environment variables changing a little bit. No biggie.</p>
<p>So, there it is. TextMate 2 Alpha support. If you notice anything weird please open a <a href="https://github.com/Gipetto/wordpress.tmbundle/issues">Support Ticket on GitHub</a>. Please include the full text of the error that you receive as that&#8217;ll most likely be what I need to fix the problem.</p>
<p>WordPress 3.3 support is hot on its heels. Really!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2012/01/06/wordpress-bundle-now-works-with-the-textmate-2-alpha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TextMate 2 and the WordPress Bundle</title>
		<link>http://top-frog.com/2011/12/13/textmate-2-and-the-wordpress-bundle/</link>
		<comments>http://top-frog.com/2011/12/13/textmate-2-and-the-wordpress-bundle/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 05:17:27 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[awesomesauce]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[textmate 2]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2094</guid>
		<description><![CDATA[We&#8217;re all excited to see that TextMate 2 Alpha has been released. It was a long wait but by the looks of the Alpha it appears that the wait wasn&#8217;t wasted. There&#8217;s plenty to be happy about with the Alpha. I&#8217;ve been doing some cursory testing with the WordPress Bundle and so far it appears [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re all excited to see that <a href="http://blog.macromates.com/2011/textmate-2-0-alpha/">TextMate 2 Alpha has been released</a>. It was a long wait but by the looks of the Alpha it appears that the wait wasn&#8217;t wasted. There&#8217;s plenty to be happy about with the Alpha.</p>
<p>I&#8217;ve been doing some cursory testing with the WordPress Bundle and so far it appears that only a few minor modifications might be needed to be compatible. </p>
<p>Better yet, though I haven&#8217;t fully tested this yet, the changes should be backwards compatible with TextMate 1.5. For the time being it doesn&#8217;t appear as thought I&#8217;ll have to create a branch just for TextMate 2.</p>
<p>So, keeping in mind that TM2 is Alpha, I&#8217;m pleased with how things are panning out. I&#8217;m eager to get in to the guts the new bundles and figure out what more I can do to make the WordPress bundle even better (suggestions are welcome!).</p>
<p>Congratulations to Mr. Odgaard on his release. I hope he&#8217;s able to ignore the petty jerks who keep harassing him and finish up what already looks to be a kick-ass upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/12/13/textmate-2-and-the-wordpress-bundle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs, 1955-2011</title>
		<link>http://top-frog.com/2011/10/06/steve-jobs-1955-2011/</link>
		<comments>http://top-frog.com/2011/10/06/steve-jobs-1955-2011/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:56:05 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[relationship]]></category>
		<category><![CDATA[steve]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2078</guid>
		<description><![CDATA[There&#8217;s plenty more folks out there that can be more poignant and eloquent towards eulogizing Steve Jobs so I&#8217;m going to leave that with them. Without an Apple computer company backed by Steve there&#8217;s a good chance that I wouldn&#8217;t be doing what I&#8217;m doing, where I&#8217;m doing it, and would have missed out on [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s plenty more folks out there that can be more poignant and eloquent towards eulogizing Steve Jobs so I&#8217;m going to leave that with them.</p>
<p>Without an Apple computer company backed by Steve there&#8217;s a good chance that I wouldn&#8217;t be doing what I&#8217;m doing, where I&#8217;m doing it, and would have missed out on some very influential relationships in my life. So I&#8217;ll keep this short.</p>
<p>Thank you, Steve.</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/10/06/steve-jobs-1955-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WP Salts command in the WordPress TextMate bundle</title>
		<link>http://top-frog.com/2011/09/14/new-wp-salts-command-in-the-wordpress-textmate-bundle/</link>
		<comments>http://top-frog.com/2011/09/14/new-wp-salts-command-in-the-wordpress-textmate-bundle/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 16:00:05 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[salt]]></category>
		<category><![CDATA[secret]]></category>
		<category><![CDATA[secret-key]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2048</guid>
		<description><![CDATA[I just merged a pull request from Simon Wheatley in to the WordPress TextMate Bundle that adds the command wpsalts to generate the Security Keys for the WP Config file. The command uses the WordPress.org secret-key Service. Very handy. Thanks Simon!]]></description>
			<content:encoded><![CDATA[<p><a href="http://top-frog.com/wp-content/uploads/2010/05/TextMate-icon.png"><img src="http://top-frog.com/wp-content/uploads/2010/05/TextMate-icon.png" alt="" title="TextMate-icon" width="128" height="128" class="alignright size-full wp-image-1376" /></a></p>
<p>I just merged a pull request from <a href="https://github.com/simonwheatley">Simon Wheatley</a> in to the <a href="/projects/wordpress-textmate-bundle/">WordPress TextMate Bundle</a> that adds the command <code>wpsalts</code> to generate the <a href="http://codex.wordpress.org/Editing_wp-config.php#Security_Keys">Security Keys</a> for the WP Config file. The command uses the <a href="https://api.wordpress.org/secret-key/1.1/salt">WordPress.org secret-key Service</a>.</p>
<p>Very handy. </p>
<p>Thanks Simon!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/09/14/new-wp-salts-command-in-the-wordpress-textmate-bundle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>curl&#8217;ing a URL in TextMate</title>
		<link>http://top-frog.com/2011/08/18/curling-a-url-in-textmate/</link>
		<comments>http://top-frog.com/2011/08/18/curling-a-url-in-textmate/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 16:07:32 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[TextMate]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[tmbundle]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2029</guid>
		<description><![CDATA[Ok, sorry, I can&#8217;t let all the BBEdit users think that they&#8217;ve discovered something new In case you&#8217;ve noticed the amazement lately on blogs and twitter where BBEdit users have discovered a way to open a curl&#8217;d url in BBEdit to view its source you may be wondering &#8220;how do I do this in TextMate&#8221;? [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, sorry, I can&#8217;t let all the BBEdit users think that they&#8217;ve discovered something new <img src='http://top-frog.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In case you&#8217;ve noticed the amazement lately on blogs and twitter where BBEdit users have discovered a way to open a curl&#8217;d url in BBEdit to view its source you may be wondering &#8220;how do I do this in TextMate&#8221;?</p>
<p>Well, its a little more code, but its also a little more powerful.</p>
<p><div class="hl-wrapper"><div class="hl-main"><ol class="hl-main"><li>&nbsp;<span class="hl-comment">#!/usr/bin/env ruby -wKU</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">require</span><span class="hl-code"> </span><span class="hl-identifier">ENV</span><span class="hl-code">[</span><span class="hl-quotes">'</span><span class="hl-string">TM_SUPPORT_PATH</span><span class="hl-quotes">'</span><span class="hl-code">] + </span><span class="hl-quotes">'</span><span class="hl-string">/lib/io.rb</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">require</span><span class="hl-code"> </span><span class="hl-identifier">ENV</span><span class="hl-code">[</span><span class="hl-quotes">'</span><span class="hl-string">TM_SUPPORT_PATH</span><span class="hl-quotes">'</span><span class="hl-code">] + </span><span class="hl-quotes">'</span><span class="hl-string">/lib/current_word</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">require</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">open3</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">require</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">cgi</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">theUri</span><span class="hl-code"> = </span><span class="hl-identifier">Word</span><span class="hl-code">.</span><span class="hl-identifier">current_word</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">a-zA-Z0-9#</span><span class="hl-special">\-</span><span class="hl-string">_</span><span class="hl-special">\.</span><span class="hl-string">:;%/?&amp;=@!$^</span><span class="hl-special">\*</span><span class="hl-special">\+</span><span class="hl-quotes">'</span><span class="hl-code">, :</span><span class="hl-reserved">both</span><span class="hl-brackets">)</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">if</span><span class="hl-code"> </span><span class="hl-identifier">theUri</span><span class="hl-code">.</span><span class="hl-identifier">include</span><span class="hl-code">? </span><span class="hl-quotes">'</span><span class="hl-string">@</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">auth</span><span class="hl-code">, </span><span class="hl-identifier">uri</span><span class="hl-code"> = </span><span class="hl-identifier">theUri</span><span class="hl-code">.</span><span class="hl-identifier">split</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">@</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">theCommand</span><span class="hl-code"> = </span><span class="hl-quotes">&quot;</span><span class="hl-string">curl -s  -u #{auth} </span><span class="hl-special">\&quot;</span><span class="hl-string">#{uri}</span><span class="hl-special">\&quot;</span><span class="hl-quotes">&quot;</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-reserved">else</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">theCommand</span><span class="hl-code"> = </span><span class="hl-quotes">&quot;</span><span class="hl-string">curl -s </span><span class="hl-special">\&quot;</span><span class="hl-string">#{theUri}</span><span class="hl-special">\&quot;</span><span class="hl-quotes">&quot;</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-reserved">end</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">stdin</span><span class="hl-code">, </span><span class="hl-identifier">stdout</span><span class="hl-code">, </span><span class="hl-identifier">stderr</span><span class="hl-code"> = </span><span class="hl-identifier">Open3</span><span class="hl-code">.</span><span class="hl-identifier">popen3</span><span class="hl-brackets">(</span><span class="hl-identifier">theCommand</span><span class="hl-brackets">)</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">TextMate</span><span class="hl-code">::</span><span class="hl-identifier">IO</span><span class="hl-code">.</span><span class="hl-identifier">exhaust</span><span class="hl-brackets">(</span><span class="hl-code">:</span><span class="hl-reserved">out</span><span class="hl-code"> =&gt; </span><span class="hl-identifier">stdout</span><span class="hl-code">, :</span><span class="hl-identifier">err</span><span class="hl-code"> =&gt; </span><span class="hl-identifier">stderr</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-identifier">do</span><span class="hl-code"> |</span><span class="hl-reserved">data</span><span class="hl-code">|</span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">puts</span><span class="hl-code"> </span><span class="hl-reserved">data</span><span class="hl-code">.</span><span class="hl-identifier">rstrip</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-reserved">end</span></li></ol></div></div></p>
<p>So, add this as a command in your bundle and tell it to open a new document when its done. Assign it to a keyboard command (if you haven&#8217;t already assigned other items to every other keyboard combination under the sun like I have). From here you can simply highlight a URL in a document, trigger the command, and get the source of the url in a new document.</p>
<p>On top of that, if the url contains credentials a-la &#8220;<code>user:password@http://foo.com</code>&#8221; it&#8217;ll use the &#8220;<code>user:password</code>&#8221; portion to authenticate you against simple <a href="http://httpd.apache.org/docs/1.3/howto/auth.html">Apache 401</a> authentication.</p>
<p>I&#8217;ve been thinking that it would be nice to have this also check the clipboard if there&#8217;s nothing selected. But I haven&#8217;t gotten around to trying that yet.</p>
<p>This and a few more helpful commands can be found in my <a href="https://github.com/Gipetto/sp_general.tmbundle">General TextMate Bundle</a> on Github (also available through GetBundles).</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/08/18/curling-a-url-in-textmate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress TextMate bundle updated for WordPress 3.2</title>
		<link>http://top-frog.com/2011/07/11/wordpress-textmate-bundle-updated-for-wordpress-3-2/</link>
		<comments>http://top-frog.com/2011/07/11/wordpress-textmate-bundle-updated-for-wordpress-3-2/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 06:56:20 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[PHP Scripting]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bundle]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[doxygen]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scrape]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[tmbundle]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=2005</guid>
		<description><![CDATA[So, WordPress 3.2 has been out for a little while now and I&#8217;ve just gotten around to updating the bundle. My apologies, I&#8217;ve just been super swamped with a new job in a new city. But that&#8217;s some whining for another post. After much fiddling, the updated WordPress TextMate Bundle is here and it has [...]]]></description>
			<content:encoded><![CDATA[<p>So, WordPress 3.2 has been out for a little while now and I&#8217;ve just gotten around to updating the bundle. My apologies, I&#8217;ve just been super swamped with a new job in a new city. But that&#8217;s some whining for another post.</p>
<p>After much fiddling, the updated <a href="http://top-frog.com/projects/wordpress-textmate-bundle/">WordPress TextMate Bundle</a> is here and it has been updated with a much better function definition display. I&#8217;ve ditched the old function scraper that was an abomination of grep &#038; regex matches and replaced it with <a href="http://www.stack.nl/~dimitri/doxygen/">doxygen</a> and some ruby abomination to provide much more information about the function or method being inspected.</p>
<p><a class="thickbox" href="http://www.flickr.com/photos/tehgipster/5925516548/" title="Screen shot 2011-07-10 at 11.40.10 PM by tehgipster, on Flickr"><img src="http://farm7.static.flickr.com/6121/5925516548_a3b11afb9f.jpg" width="453" height="500" alt="New and Improved Function Definitions" rel="http://farm7.static.flickr.com/6121/5925516548_a3b11afb9f_b.jpg"></a></p>
<p>I&#8217;m pretty sure there&#8217;s a lingering issue with the parsing and display of special characters in the doxygen output (which I blame squarely on strange handling by doxygen) that I haven&#8217;t handled yet. There may be HTML Entities missing from the documentation here and there.</p>
<p>Also improved is that the function definition search is contextually sensitive. It&#8217;ll only look for methods when in object scope (ie: <code>$object->method();</code>) and only look for functions when in regular php scope (ie: <code>function();</code>). There&#8217;s also a prompt to select the method that you&#8217;re actually after when multiple matches are found.</p>
<p>So, as always there&#8217;s something that can be improved upon with the bundle, but its moving forward and getting better with each revision. I guess that&#8217;s something, right? RIGHT?</p>
<p>So, fire up <a href="http://onethingwell.org/post/1344303536/getbundles">GetBundles</a> or head on over to the <a href="https://github.com/Gipetto/wordpress.tmbundle">WordPress TextMate Bundle&#8217;s Github Page</a> to update your bundle!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/07/11/wordpress-textmate-bundle-updated-for-wordpress-3-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>man Files as PDF, revisited.</title>
		<link>http://top-frog.com/2011/05/24/man-files-as-pdf-revisited/</link>
		<comments>http://top-frog.com/2011/05/24/man-files-as-pdf-revisited/#comments</comments>
		<pubDate>Tue, 24 May 2011 19:32:37 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=1988</guid>
		<description><![CDATA[I&#8217;ve posted before on converting man files to PDF for easier reading and forgot to post this update. The code is much terser, reminds you when you&#8217;ve invoked it without a parameter, and doesn&#8217;t leave turds that it has to clean up. &#160;#! /bin/bash &#160;mpg=$1 &#160;if [ ! $mpg ]; then &#160; echo &#34;Enter a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="/2011/01/18/view-man-files-as-pdf/">I&#8217;ve posted before on converting man files to PDF</a> for easier reading and forgot to post this update. The code is much terser, reminds you when you&#8217;ve invoked it without a parameter, and doesn&#8217;t leave turds that it has to clean up.</p>
<div class="hl-wrapper"><div class="hl-main"><ol class="hl-main"><li>&nbsp;<span class="hl-comment">#! /bin/bash</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">mpg</span><span class="hl-code">=$</span><span class="hl-number">1</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">if</span><span class="hl-code"> [ ! $</span><span class="hl-identifier">mpg</span><span class="hl-code"> ]; </span><span class="hl-reserved">then</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">echo</span><span class="hl-code"> </span><span class="hl-quotes">&quot;</span><span class="hl-string">Enter a man page to convert: </span><span class="hl-quotes">&quot;</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-reserved">read</span><span class="hl-code"> </span><span class="hl-identifier">mpg</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">fi</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">if</span><span class="hl-code"> [ ! $</span><span class="hl-identifier">mpg</span><span class="hl-code"> ]; </span><span class="hl-reserved">then</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">exit</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">fi</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">man</span><span class="hl-code"> -</span><span class="hl-identifier">t</span><span class="hl-code"> $</span><span class="hl-identifier">mpg</span><span class="hl-code"> | </span><span class="hl-reserved">open</span><span class="hl-code"> -</span><span class="hl-identifier">f</span><span class="hl-code"> -</span><span class="hl-identifier">a</span><span class="hl-code"> /</span><span class="hl-identifier">Applications</span><span class="hl-code">/</span><span class="hl-identifier">Preview</span><span class="hl-code">.</span><span class="hl-identifier">app</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;</span><span class="hl-identifier">exit</span><span class="hl-code">;</span></li></ol></div></div>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/05/24/man-files-as-pdf-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash snippet to remove a line from a file</title>
		<link>http://top-frog.com/2011/05/05/bash-snippet-to-remove-a-line-from-a-file/</link>
		<comments>http://top-frog.com/2011/05/05/bash-snippet-to-remove-a-line-from-a-file/#comments</comments>
		<pubDate>Thu, 05 May 2011 15:03:42 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[rmline]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=1970</guid>
		<description><![CDATA[A while back I was working on a project that involved spooling up and shutting down a lot of Amazon EC2 instances while testing and I was constantly running in to an issue where my ~/.ssh/known_hosts file was out of sync with the server that I was connecting to. Despite how simple it is, I [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I was working on a project that involved spooling up and shutting down a lot of Amazon EC2 instances while testing and I was constantly running in to an issue where my <code>~/.ssh/known_hosts</code> file was out of sync with the server that I was connecting to.</p>
<p>Despite how simple it is, I could never remember the <code>sed</code> command to remove a line from a file. To help get around having to repeatedly manage my known_hosts file and/or look up the <code>sed</code> command I wrote a little function to remove lines from files using sed. Hopefully someone else out there finds this useful.</p>
<div class="hl-wrapper"><div class="hl-main"><ol class="hl-main"><li>&nbsp;<span class="hl-identifier">rmline</span><span class="hl-brackets">(</span><span class="hl-brackets">)</span><span class="hl-code"> {</span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">if</span><span class="hl-code"> ! [  </span><span class="hl-quotes">&quot;</span><span class="hl-string">$#</span><span class="hl-quotes">&quot;</span><span class="hl-code"> = </span><span class="hl-quotes">&quot;</span><span class="hl-string">2</span><span class="hl-quotes">&quot;</span><span class="hl-code"> ]; </span><span class="hl-reserved">then</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;        </span><span class="hl-identifier">echo</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Invalid paramter count</span><span class="hl-quotes">'</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;        </span><span class="hl-identifier">echo</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Usage: rmline line-num filename</span><span class="hl-quotes">'</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;        </span><span class="hl-reserved">return</span><span class="hl-code">;</span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">fi</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp; </span></li>
<li><span class="hl-code">&nbsp;    </span><span class="hl-identifier">sed</span><span class="hl-code"> -</span><span class="hl-identifier">i</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-quotes">&quot;</span><span class="hl-string">$1d</span><span class="hl-quotes">&quot;</span><span class="hl-code"> $</span><span class="hl-number">2</span><span class="hl-code"></span></li>
<li><span class="hl-code">&nbsp;}</span></li></ol></div></div>
<p>So, stick that in your <code>.profile</code> and <strike>smoke it</strike> enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/05/05/bash-snippet-to-remove-a-line-from-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beware MAMP&#8217;s default Caching Settings</title>
		<link>http://top-frog.com/2011/03/14/beware-mamps-default-caching-settings/</link>
		<comments>http://top-frog.com/2011/03/14/beware-mamps-default-caching-settings/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 21:20:46 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design & Development]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[eaccelerator]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xchache]]></category>

		<guid isPermaLink="false">http://top-frog.com/?p=1954</guid>
		<description><![CDATA[MAMP is a wonderful thing. It allows for quick setup of a LAMP stack just about anywhere. This makes it great for testing. However, the folks who manage MAMP are focusing MAMP&#8217;s default settings towards production use, not development use. This means that XCache is turned on by default and that means that there is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mamp.info/">MAMP</a> is a wonderful thing. It allows for quick setup of a LAMP stack just about anywhere. This makes it great for testing. However, the folks who manage MAMP are focusing MAMP&#8217;s default settings towards production use, not development use. This means that <a href="http://xcache.lighttpd.net/">XCache</a> is turned on by default and that means that there is variable caching and file-path caching going on (MAMP also includes the <a href="http://php.net/apc">APC</a> &amp; <a href="http://eaccelerator.net/">EAccelerator</a> extensions, which do very similar things, as well).</p>
<p><span id="more-1954"></span></p>
<p>While enabling these caching settings is good for performance they&#8217;re not really good for development since both filesystem paths and interpreted code can be cached for periods of time. What made me notice was when a machine here in the office wasn&#8217;t honoring the new path to a renamed folder. The assets in this folder were all loaded via include statements using relative paths. Hard coded paths should not have been an issue, but for some reason the system kept looking for the files in their old location. </p>
<p>It took a while before I narrowed it down to the caching settings as a culprit. Once we turned off caching all together our changes were reflected immediately and all was right again with the world.</p>
<h3 id="what-you-need-to-do">What you need to do</h3>
<p>The modification is simple, its just a change to the MAMP preferences. </p>
<ol>
<li>Open MAMP</li>
<li>Click the &#8220;Preferences&#8221; button or select &#8220;Preferences&#8221; from the MAMP menu</li>
<li>Click on &#8220;PHP&#8221; in the tab-bar if its not already selected</li>
<li>Change the &#8220;Cache&#8221; dropdown to be &#8220;&ndash;&ndash;&#8221; so that no caching extension is used</li>
<li>Click &#8220;OK&#8221; to save the changes</li>
<li>Restart MAMP (click &#8220;Stop Servers&#8221; and then &#8220;Start Servers&#8221; once they&#8217;ve stopped)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://top-frog.com/2011/03/14/beware-mamps-default-caching-settings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: top-frog.com @ 2012-02-04 19:00:30 by W3 Total Cache -->
