<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/mac</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 19:51:32 GMT</pubDate>
<item>
<title>(Bash) Start an XWindows session on Mac OSX</title>
<link>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</link>
<description><![CDATA[ <p>The key is to give your SSH client the *-Y* option, which enables X11 forwarding.  Without that, [the magic won't work.](http://www.youtube.com/watch?v=uLso0ZBqOi4)

Run these commands on Mac, from the [X11 Shell](http://developer.apple.com/opensource/tools/x11.html).</p> ]]></description>
<pubDate>Tue, 29 Mar 2011 13:41:33 GMT</pubDate>
<guid>http://snipplr.com/view/51238/start-an-xwindows-session-on-mac-osx/</guid>
</item>
<item>
<title>(Perl) comparing the checksums of two files with Perl and cksum</title>
<link>http://snipplr.com/view/16660/comparing-the-checksums-of-two-files-with-perl-and-cksum/</link>
<description><![CDATA[ <p>This one-liner helps to determine if two or more files have the same
checksum.  It works by piping the output from `cksum` to Perl, which
takes note of the first checksum and compares each subsequent file's
checksum to that value.

Assume an example session where we have three identical files and two
that are different
      
    >echo bart > bart
    >cp bart bart1
    >cp bart bart2
    >echo milhouse > mvh
    >echo lisa > lisa
      
two files with the same checksum, produce no output
      
    >cksum bart bart1 | perl -ane '$x ||= $F[0]; warn if $x != $F[0];'
      
if a there is a different checksum, the line numbers printed are the
indexes of those files
      
    >cksum bart bart1 mvh bart2 lisa | perl -ane '$x ||= $F[0]; warn if $x != $F[0];'
    Warning: something's wrong at -e line 1,  line 3.
    Warning: something's wrong at -e line 1,  line 5.</p> ]]></description>
<pubDate>Sun, 05 Jul 2009 21:17:39 GMT</pubDate>
<guid>http://snipplr.com/view/16660/comparing-the-checksums-of-two-files-with-perl-and-cksum/</guid>
</item>
<item>
<title>(Emacs Lisp) Growl support for Aquamacs Emacs</title>
<link>http://snipplr.com/view/12219/growl-support-for-aquamacs-emacs/</link>
<description><![CDATA[ <p>This is what I had to do in order to get reliable Growl support in Aquamacs 1.7

Requires Growlnotify (included with Growl, in the extras folder).</p> ]]></description>
<pubDate>Sun, 15 Feb 2009 08:58:23 GMT</pubDate>
<guid>http://snipplr.com/view/12219/growl-support-for-aquamacs-emacs/</guid>
</item>
<item>
<title>(Rails) Freeze a gem with GemsOnRails</title>
<link>http://snipplr.com/view/10359/freeze-a-gem-with-gemsonrails/</link>
<description><![CDATA[ <p>On Mac OS 10.5, these are all the commands to install GemsOnRails, freeze the Compass gem and add everything into subversion.  The output of each command (on my machine anyway) is also shown.</p> ]]></description>
<pubDate>Tue, 09 Dec 2008 12:36:45 GMT</pubDate>
<guid>http://snipplr.com/view/10359/freeze-a-gem-with-gemsonrails/</guid>
</item>
<item>
<title>(Other) Beginner's instructions for compiling from source on OS X</title>
<link>http://snipplr.com/view/8749/beginners-instructions-for-compiling-from-source-on-os-x/</link>
<description><![CDATA[ <p>These are general instructions for compiling applications from source on OS X, leveraging the configure script that is included with most source packages these days :)  Its dead simple.</p> ]]></description>
<pubDate>Wed, 01 Oct 2008 11:17:34 GMT</pubDate>
<guid>http://snipplr.com/view/8749/beginners-instructions-for-compiling-from-source-on-os-x/</guid>
</item>
<item>
<title>(Perl) Fix installing Perl modules on OS X</title>
<link>http://snipplr.com/view/4009/fix-installing-perl-modules-on-os-x/</link>
<description><![CDATA[ <p>On Mac OS X, typing this command into CPAN will fix the make error when installing a Perl module. Found on the CPAN forums.

Here is the error I was getting:
-- NOT OK
Running make test
Can't run test witout successful make
Running make install
make had returned bad status, install seems impossible</p> ]]></description>
<pubDate>Fri, 26 Oct 2007 13:15:37 GMT</pubDate>
<guid>http://snipplr.com/view/4009/fix-installing-perl-modules-on-os-x/</guid>
</item>
<item>
<title>(Bash) clipboard commands for OSX</title>
<link>http://snipplr.com/view/3350/clipboard-commands-for-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 23 Jul 2007 11:44:20 GMT</pubDate>
<guid>http://snipplr.com/view/3350/clipboard-commands-for-osx/</guid>
</item>
<item>
<title>(Bash) clean up crufty log files on mac osx</title>
<link>http://snipplr.com/view/3153/clean-up-crufty-log-files-on-mac-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 06 Jul 2007 11:27:40 GMT</pubDate>
<guid>http://snipplr.com/view/3153/clean-up-crufty-log-files-on-mac-osx/</guid>
</item>
<item>
<title>(Perl) Truncate filenames but keep file extensions intact</title>
<link>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:33:28 GMT</pubDate>
<guid>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</guid>
</item>
</channel>
</rss>
