<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>has_many :thoughts: Tag OSX</title>
    <link>http://blog.kineticweb.com/articles/tag/osx</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Flushing OS X DNS cache</title>
      <description>I don&amp;#8217;t know why it took me so long to learn this but this command is very handy:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;dscacheutil -flushcache&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt;: I originally posted that the command was &lt;strong&gt;dns&lt;/strong&gt;cacheutil. It&amp;#8217;s actually just &lt;strong&gt;ds&lt;/strong&gt;cacheutil. I&amp;#8217;ve fixed it above. I also learned this is a Leopard-only tool.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s equivelant to the following Windows, which was always very handy when changing &lt;span class="caps"&gt;DNS&lt;/span&gt; configuration around:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;ipconfig /flushdns&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
      <pubDate>Mon, 10 Dec 2007 11:39:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:1e1fa0e9-0018-4bd1-9003-50975695583d</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/12/10/flushing-os-x-dns-cache</link>
      <category>OSX</category>
    </item>
    <item>
      <title>Time Machine is Awesome</title>
      <description>&lt;p&gt;Nothing more to say.&lt;/p&gt;


	&lt;p&gt;It just rocks. So easy to setup. So easy to use.&lt;/p&gt;


	&lt;p&gt;Once again, Apple, I bow before thee.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Nov 2007 15:51:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:836fb5e3-e8a9-4422-9276-c041eeb2c180</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/11/18/time-machine-is-awesome</link>
      <category>OSX</category>
      <category>leopard</category>
    </item>
    <item>
      <title>Compiling Git for Mac OS X Leopard (10.5)</title>
      <description>&lt;p&gt;The following is the exact compilation steps I took for compiling Git onto the new retail version of Leopard. Definitely a big change since my previous article on installing in Tiger (next to pre-installed &lt;span class="caps"&gt;SVN&lt;/span&gt;, bye bye &lt;span class="caps"&gt;CVS&lt;/span&gt;!)...&lt;/p&gt;


&lt;strong&gt;Commands&lt;/strong&gt;
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;curl -O http://surfnet.dl.sourceforge.net/sourceforge/expat/expat-2.0.1.tar.gz
tar zxvf expat-2.0.1.tar.gz 
cd expat-2.0.1
./configure --prefix=/usr/local
make
make check
sudo make install
cd ..

curl -O http://kernel.org/pub/software/scm/git/git-1.5.3.4.tar.bz2
tar jxvf git-1.5.3.4.tar.bz2
cd git-1.5.3.4
make prefix=/usr/local all
make prefix=/usr/local test &amp;amp;&amp;amp; echo $?
sudo make prefix=/usr/local install
cd ..

curl -O http://www.kernel.org/pub/software/scm/git/git-manpages-1.5.3.4.tar.bz2
sudo tar xjv -C /usr/local/man -f git-manpages-1.5.3.4.tar.bz2&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;You may need to adjust your default &lt;span class="caps"&gt;MANPATH&lt;/span&gt; environment variable. You can either apply something along the lines of&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_shell "&gt;export MANPATH=&amp;quot;/usr/local/man:$MANPATH&amp;quot;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;...to your .bash_login, profile or what have you. Or you can look into editing /private/etc/man.conf (or un-tar the manpages into a directory in your &lt;span class="caps"&gt;MANPATH&lt;/span&gt; already).&lt;/p&gt;


	&lt;p&gt;Also, no need to fiddle around with &lt;span class="caps"&gt;SVN&lt;/span&gt; bindings for Perl, or whatever the problem was with &lt;em&gt;git-svn&lt;/em&gt; before.&lt;/p&gt;


	&lt;p&gt;You may also wish to surf our past articles hear on this blog for upgrading Git. The upgrading should be identical on Leopard.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Next Time&lt;/strong&gt;&lt;/p&gt;


	&lt;p&gt;My next article will cover developing outside of a traditional distributed Git environment. Using Git to manage personal branching/merging/local copies, then committing to a main &lt;span class="caps"&gt;SVN&lt;/span&gt; repo. Happy hacking.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Oct 2007 23:48:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:0cdaff9a-4cd2-4455-a510-9ec2e01d93c2</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2007/10/30/compiling-git-for-mac-os-x-leopard-10-5</link>
      <category>git</category>
      <category>scm</category>
      <category>OSX</category>
      <category>leopard</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/74</trackback:ping>
    </item>
    <item>
      <title>Here goes nothing...</title>
      <description>&lt;p&gt;I&amp;#8217;ve got the Leopard t-shirt on and I&amp;#8217;m ready to go!&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://blog.kineticweb.com/files/before_install.png" alt="" /&gt;&lt;/p&gt;


	&lt;h3&gt;Update!&lt;/h3&gt;


	&lt;p&gt;Install complete! Took exactly 60 mins.&lt;/p&gt;


	&lt;p&gt;Reactions:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;The installer &amp;#8216;estimated time to completion&amp;#8217; said 2 hours and 58 minutes at first. It steadily declined but was never accurate at all. Oh well.&lt;/li&gt;
		&lt;li&gt;First boot up took for freaking-ever. To be expected, I guess.&lt;/li&gt;
		&lt;li&gt;My wireless seems finicky. Could just be my access point or something. I hope so. Because I kept loosing and regaining internet access. I&amp;#8217;m plugged into wired now and it seems fine. Hopefully it&amp;#8217;s not a bug or anything&amp;#8230;&lt;/li&gt;
		&lt;li&gt;My &lt;span class="caps"&gt;CPU&lt;/span&gt; is churning hard core. Something called &amp;#8216;mds&amp;#8217; is sucking it up. A web search shows that&amp;#8217;s Spotlight. So maybe just a reindex.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;But the most important news&amp;#8230;&lt;/p&gt;


	&lt;p&gt;The rails stack seems to be functioning fine. Ruby 1.8.6 and everything. Got an app running; no problems.&lt;/p&gt;


	&lt;p&gt;So far so good! I can&amp;#8217;t wait to try out the new Mail. It looks good enough to &lt;em&gt;maybe&lt;/em&gt; switch to from Thunderbird.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2007 20:51:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f97594a4-81db-4700-83cb-15d8c33343c3</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/10/26/here-goes-nothing</link>
      <category>OSX</category>
      <category>leopard</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/73</trackback:ping>
    </item>
    <item>
      <title>Leopard Day, the Ruby on Rails way...</title>
      <description>&lt;p&gt;Since everyone around here thinks I&amp;#8217;m a huge, obnoxious Apple fanboy (and they&amp;#8217;re all so completely right about everything&amp;#8230;) I thought I&amp;#8217;d simply share this link to a great wiki article on the new Rails/Ruby installation in Leopard (thanks Randy). Enjoy, and hope you get your free t-shirt!&lt;/p&gt;


	&lt;p&gt;&amp;#8220;&lt;em&gt;Now that Leopard, the next release of Mac &lt;span class="caps"&gt;OS X&lt;/span&gt;, is available to everyone, you may wonder what changed from the Ruby developer&amp;#8217;s perspective.&lt;/em&gt;&amp;#8220;&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://trac.macosforge.org/projects/ruby/wiki/WhatsNewInLeopard"&gt;What&amp;#8217;s New in Leopard? Ruby/Rails&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 26 Oct 2007 09:40:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:08da412d-a019-4c98-88e1-5b94f5541c97</guid>
      <author>Justin Reagor</author>
      <link>http://blog.kineticweb.com/articles/2007/10/26/leopard-day-the-ruby-on-rails-way</link>
      <category>OSX</category>
      <category>leopard</category>
      <category>ruby</category>
      <category>Rails</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/72</trackback:ping>
    </item>
    <item>
      <title>Open new terminal window</title>
      <description>&lt;p&gt;I&amp;#8217;ve always thought it would be nice to be able to quickly open a new terminal window in the &lt;strong&gt;same&lt;/strong&gt; folder you were already in.&lt;/p&gt;


	&lt;p&gt;Enter a &lt;a href="http://use.perl.org/~Ovid/journal/32086"&gt;handy little script&lt;/a&gt; Randy pointed me to that does just that.&lt;/p&gt;


	&lt;p&gt;I put it in my home directory and then added this to my .bash_login:&lt;/p&gt;


&lt;code&gt;
alias new='. ~/openterminal.sh'
&lt;/code&gt;

	&lt;p&gt;Now, I can just type &amp;#8216;new&amp;#8217; at any prompt and up pops a new Terminal window which automatically cd&amp;#8217;s to the same directory I was in.&lt;/p&gt;


	&lt;p&gt;Super handy! Thanks Randy!&lt;/p&gt;</description>
      <pubDate>Thu, 16 Aug 2007 20:37:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:4bdde287-fd78-435c-aa19-ba57da624a2c</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/08/16/open-new-terminal-window</link>
      <category>OSX</category>
      <category>bash</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/54</trackback:ping>
    </item>
    <item>
      <title>Anyone else find widgets useless?</title>
      <description>&lt;p&gt;I remember when desktop &amp;#8220;widgets&amp;#8221; first appeared in Windows 95. I think they were called &amp;#8220;channels&amp;#8221; and you could subscribe to bits of info that would appear on your &amp;#8220;Active Desktop&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;I tried then to get some usefullness out of them and couldn&amp;#8217;t. I don&amp;#8217;t know many other people that did and that feature faded away in Windows.&lt;/p&gt;


	&lt;p&gt;But they never really did go away. Konfabulator, now Yahoo! Widgets, Google widgets, and now Windows Vista and &lt;span class="caps"&gt;OS X&lt;/span&gt; all provide the same functionality. Little apps that sit on your desktop for all sorts of uses. I just never found them useful. They take up space and they just seem so useless. If I want to know the weather, I&amp;#8217;ll open up weather.com.&lt;/p&gt;


	&lt;p&gt;I knew I could get some widgets to appear in &lt;span class="caps"&gt;OS X&lt;/span&gt; if I hit &lt;span class="caps"&gt;F12&lt;/span&gt; but I never used them. It wasn&amp;#8217;t until I looked at my Activity Monitor that I realized that even if I&amp;#8217;m not using them, &lt;span class="caps"&gt;OS X&lt;/span&gt; widgets are still sucking up system resources. So I found &lt;a href="http://www.macworld.com/weblogs/macosxhints/2005/08/disabledashboard/index.php"&gt;this handy article&lt;/a&gt; that explains how to disable them completely.&lt;/p&gt;


	&lt;p&gt;Hurray, I&amp;#8217;ve reclaimed 20 MB of &lt;span class="caps"&gt;RAM&lt;/span&gt; that I didn&amp;#8217;t even know was taken by something I never even used.&lt;/p&gt;</description>
      <pubDate>Sat, 16 Jun 2007 15:21:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:fe8a80c0-eb88-42a9-949e-cfbc8ab586e9</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/06/16/anyone-else-find-widgets-useless</link>
      <category>OSX</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/42</trackback:ping>
    </item>
    <item>
      <title>Handy textmate bundle installer</title>
      <description>&lt;p&gt;I just came across this list of &lt;a href="http://netcetera.org/cgi-bin/tmbundles.cgi"&gt;bundle installer shell scripts&lt;/a&gt; for TextMate.&lt;/p&gt;


	&lt;p&gt;Being new to TextMate, I had no idea how to install the &lt;span class="caps"&gt;HAML&lt;/span&gt; bundle I wanted to try out. Luckily, this page provides a handy link to a shell script for each bundle that does all the installing for you.&lt;/p&gt;


	&lt;p&gt;Simply curl the file down to your machine, make it executable, and execute it. Bang, bundle installed.&lt;/p&gt;


	&lt;p&gt;So far, TextMate has been pretty neat and a refreshingly lightweight to my former environment of RadRails. Admittedly though, I haven&amp;#8217;t had much opportunity to a lot of development since switching to &lt;span class="caps"&gt;OS X&lt;/span&gt; / TextMate so I have a lot to learn about it.&lt;/p&gt;</description>
      <pubDate>Tue, 05 Jun 2007 19:41:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:54dc0e7d-64d1-4fe6-8741-240aa440e441</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2007/06/05/handy-textmate-bundle-installer</link>
      <category>OSX</category>
      <category>textmate</category>
      <trackback:ping>http://blog.kineticweb.com/articles/trackback/38</trackback:ping>
    </item>
  </channel>
</rss>
