<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/osx</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 11 Oct 2008 06:20:53 GMT</pubDate>
<item>
<title>(Bash) Quick new tab from iTerm - zingo</title>
<link>http://snipplr.com/view/7451/quick-new-tab-from-iterm/</link>
<description><![CDATA[ <p>Place this in your ~/.bash_profile then type tab in your terminal window to see some magic happen.</p> ]]></description>
<pubDate>Tue, 22 Jul 2008 21:46:31 GMT</pubDate>
<guid>http://snipplr.com/view/7451/quick-new-tab-from-iterm/</guid>
</item>
<item>
<title>(Bash) Install mySQL gem on a fink (vs self made) mySQL installation - iblis</title>
<link>http://snipplr.com/view/7183/install-mysql-gem-on-a-fink-vs-self-made-mysql-installation/</link>
<description><![CDATA[ <p>When installing mysql and mysql-dev with fink, gem is unable to find the mysql headers and libraries: you should specify their location. If compiled manually from source, gem will find it if /usr/local/mysql (or what ever other location you specified at compilation time) is in your path.</p> ]]></description>
<pubDate>Wed, 09 Jul 2008 10:51:20 GMT</pubDate>
<guid>http://snipplr.com/view/7183/install-mysql-gem-on-a-fink-vs-self-made-mysql-installation/</guid>
</item>
<item>
<title>(Bash) Creating a Simple Alias in Terminal - chrisaiv</title>
<link>http://snipplr.com/view/6210/creating-a-simple-alias-in-terminal/</link>
<description><![CDATA[ <p>I use terminal for SFTP because I'm cheap and I don't want to purchase Transmit. SFTP works just fine but the problem is that I get tired of having to type [bash]$ sftp chrisaiv@blah.com:/directory/subdirectory/ so instead I've made an alias.  First things first, in terminal using Textmate, type [bash]$ mate ~/.bash_alias.  Next paste the code below.  After you save the file, type [bash]$ ~/.bash_profile and past the second line of code.  After you restart your terminal, you should only have to type the alias nickname and whala!</p> ]]></description>
<pubDate>Tue, 13 May 2008 14:37:46 GMT</pubDate>
<guid>http://snipplr.com/view/6210/creating-a-simple-alias-in-terminal/</guid>
</item>
<item>
<title>(Bash) Emulating a Slow Internet Link for HTTP - zingo</title>
<link>http://snipplr.com/view/5552/emulating-a-slow-internet-link-for-http/</link>
<description><![CDATA[ <p>recover to normal speed with 
/sbin/ipfw delete 100
/sbin/ipfw delete 200
... or reboot</p> ]]></description>
<pubDate>Mon, 24 Mar 2008 22:51:35 GMT</pubDate>
<guid>http://snipplr.com/view/5552/emulating-a-slow-internet-link-for-http/</guid>
</item>
<item>
<title>(Bash) removing .DS_Store files from a git checkout - jachin</title>
<link>http://snipplr.com/view/5206/removing-dsstore-files-from-a-git-checkout/</link>
<description><![CDATA[ <p>This command will not delete the .DS_Store files from the file system, just take them out of version control.

Before doing this it would be a good idea to setup the repository to ignore .DS_Store files.</p> ]]></description>
<pubDate>Tue, 26 Feb 2008 16:59:38 GMT</pubDate>
<guid>http://snipplr.com/view/5206/removing-dsstore-files-from-a-git-checkout/</guid>
</item>
<item>
<title>(Bash) Recursively unlock files in Mac OS X - wbowers</title>
<link>http://snipplr.com/view/5202/recursively-unlock-files-in-mac-os-x/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Feb 2008 22:42:02 GMT</pubDate>
<guid>http://snipplr.com/view/5202/recursively-unlock-files-in-mac-os-x/</guid>
</item>
<item>
<title>(Bash) Get Infos on WLAN on OSX - zingo</title>
<link>http://snipplr.com/view/5050/get-infos-on-wlan-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Feb 2008 18:14:57 GMT</pubDate>
<guid>http://snipplr.com/view/5050/get-infos-on-wlan-on-osx/</guid>
</item>
<item>
<title>(Bash) Get Infos on Battery on OSX - zingo</title>
<link>http://snipplr.com/view/5049/get-infos-on-battery-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Feb 2008 18:11:53 GMT</pubDate>
<guid>http://snipplr.com/view/5049/get-infos-on-battery-on-osx/</guid>
</item>
<item>
<title>(Bash) Get Temperature on OSX - zingo</title>
<link>http://snipplr.com/view/4966/get-temperature-on-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 09 Feb 2008 13:31:27 GMT</pubDate>
<guid>http://snipplr.com/view/4966/get-temperature-on-osx/</guid>
</item>
<item>
<title>(Bash) Apache 'Forbidden' error on Mac ~/Sites files - cczona</title>
<link>http://snipplr.com/view/4665/apache-forbidden-error-on-mac-sites-files/</link>
<description><![CDATA[ <p>When Apache under OS X throws 'Forbidden' errors on files under the ~/Sites path, and the error log report 'Permission denied: access to /somefile/blah failed because search permissions are missing on a component of the path', check a missing Other Execute permission along the entire path.

"If you want someone to have access to a file in a particular folder, that user must have "search" permission (the "x") on all of the folders along the path from the top of the drive down to the folder where the file is. And then the file itself must have "read" permission for that user. And if you want someone to be able to see what files are in a particular folder, that folder must have "read" permission for that user."</p> ]]></description>
<pubDate>Sat, 19 Jan 2008 14:36:23 GMT</pubDate>
<guid>http://snipplr.com/view/4665/apache-forbidden-error-on-mac-sites-files/</guid>
</item>
<item>
<title>(Bash) Dynamic BASH Prompt - robh</title>
<link>http://snipplr.com/view/4651/dynamic-bash-prompt/</link>
<description><![CDATA[ <p>A very dynamic and flexible bash prompt. Personally I find this to have everything needed. It shows exit status, shortens itself for long directories, and shows bash history for easy referencing.

Hopefully it doesn't get messed up.</p> ]]></description>
<pubDate>Fri, 18 Jan 2008 19:40:17 GMT</pubDate>
<guid>http://snipplr.com/view/4651/dynamic-bash-prompt/</guid>
</item>
<item>
<title>(Bash) Recursively Remove OSX file locks - benpjohnson</title>
<link>http://snipplr.com/view/3876/recursively-remove-osx-file-locks/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Oct 2007 07:03:18 GMT</pubDate>
<guid>http://snipplr.com/view/3876/recursively-remove-osx-file-locks/</guid>
</item>
<item>
<title>(Bash) port (Update outdated ports in macports) - rhockens</title>
<link>http://snipplr.com/view/3654/port-update-outdated-ports-in-macports/</link>
<description><![CDATA[ <p>After:

sudo port -v selfupdate

Update outdated ports with:

sudo port upgrade outdated</p> ]]></description>
<pubDate>Sun, 09 Sep 2007 04:26:08 GMT</pubDate>
<guid>http://snipplr.com/view/3654/port-update-outdated-ports-in-macports/</guid>
</item>
<item>
<title>(Bash) port (Update outdated portfiles) - rhockens</title>
<link>http://snipplr.com/view/3653/port-update-outdated-portfiles/</link>
<description><![CDATA[ <p>After installing MacPorts, try running a selfupdate to grab all the latest MacPorts Portfiles (Portfiles contain information about how to install MacPorts software "ports"). You will need to run this command as an administrator, and it requires root access, so you'll need to "sudo":

sudo port selfupdate

Running MacPorts commands, you can add the -v command for more verbose ("v" for "verbose") output if you'd like more detail about what MacPorts is attempting to do:

sudo port -v selfupdate

If you are a developer and would like even more specific accounting of what MacPorts is doing, add the -d flag.</p> ]]></description>
<pubDate>Sun, 09 Sep 2007 04:23:48 GMT</pubDate>
<guid>http://snipplr.com/view/3653/port-update-outdated-portfiles/</guid>
</item>
<item>
<title>(Bash) nvram (Verbose Mac OS startup) - rhockens</title>
<link>http://snipplr.com/view/3573/nvram-verbose-mac-os-startup/</link>
<description><![CDATA[ <p>[quote]
Verbose booting shows you the actual process of Mac OS X's startup. You'll see drivers get loaded and services launch. This command should work on any recent (New World) Macintosh: sudo /usr/sbin/nvram boot-args="-v". The -v flag tells the system to boot verbosely. You can get the same result by holding Command + V at boot time, but that will only work the one time. Modifying the boot-args will cause Mac OS X to always boot verbosely from now on... To resume normal booting, use the command sudo /usr/sbin/nvram boot-args="".
[/quote]</p> ]]></description>
<pubDate>Sun, 26 Aug 2007 07:37:05 GMT</pubDate>
<guid>http://snipplr.com/view/3573/nvram-verbose-mac-os-startup/</guid>
</item>
<item>
<title>(Bash) periodic (Mac OS X Maintenance Scripts) - rhockens</title>
<link>http://snipplr.com/view/3572/periodic-mac-os-x-maintenance-scripts/</link>
<description><![CDATA[ <p>"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script.

If your Mac is shut down or in sleep mode during these hours, the maintenance scripts will not run. This results in log files that will grow over time, consuming free space on your Mac OS X startup disk.

If your Mac is shut down or left in sleep mode overnight, you need to invoke these maintenance routines manually on a regular basis. That is, unless you plan on devoting a large portion of your hard drive to the files cleaned-up by these routines!"</p> ]]></description>
<pubDate>Sun, 26 Aug 2007 07:25:40 GMT</pubDate>
<guid>http://snipplr.com/view/3572/periodic-mac-os-x-maintenance-scripts/</guid>
</item>
<item>
<title>(Bash) List all application versions - zingo</title>
<link>http://snipplr.com/view/3467/list-all-application-versions/</link>
<description><![CDATA[ <p>List the current version and installation date of every application on a OS X system, using of Spotlight.</p> ]]></description>
<pubDate>Sun, 05 Aug 2007 20:14:51 GMT</pubDate>
<guid>http://snipplr.com/view/3467/list-all-application-versions/</guid>
</item>
<item>
<title>(Bash) The Top Ten Unix Shell Commands You Use - zingo</title>
<link>http://snipplr.com/view/3254/the-top-ten-unix-shell-commands-you-use/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 08 Jul 2007 19:24:31 GMT</pubDate>
<guid>http://snipplr.com/view/3254/the-top-ten-unix-shell-commands-you-use/</guid>
</item>
<item>
<title>(Bash) clean up crufty log files on mac osx - noah</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>(Bash) Eject CD From OS X Command Line - tylerhall</title>
<link>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</link>
<description><![CDATA[ <p>This command ejects a CD or DVD from the command line.</p> ]]></description>
<pubDate>Wed, 27 Jun 2007 15:31:19 GMT</pubDate>
<guid>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</guid>
</item>
</channel>
</rss>