Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged mac



1 2 Next »
0 598 posted 14 years ago by nalmeida
0 574 posted 14 years ago by nalmeida
In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033. The list below works perfectly in Snow Leopard
0 631 posted 14 years ago by AzizLight
Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac. I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work. This is really annoying when c...
1 840 posted 15 years ago by shaunchapman
1 731 posted 15 years ago by fnurl
Open Terminal and enter this command.
1 931 posted 15 years ago by jonhenshaw
1 581 posted 15 years ago by aemkei
`lookupd` doens't exist in Leopard, instead `dscacheutil` should be used.
2 916 posted 15 years ago by rastersize
0 634 posted 15 years ago by therobot
0 555 posted 15 years ago by sudarkoff
Forces a recalcitrant port to install by *uninstalling* it completely first
0 378 posted 16 years ago by cczona
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 E...
1 721 posted 16 years ago by cczona
To find out how much swap you are using at any given time. If there's more than 1 swapfile you could benefit from more RAM.
0 511 posted 16 years ago by cczona
After: sudo port -v selfupdate Update outdated ports with: sudo port upgrade outdated
1 653 posted 16 years ago by rhockens
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...
0 546 posted 16 years ago by rhockens
Run this in a terminal on mac to set your screensaver as your background. (hint: use rss visualizer for a neat effect) Ctrl+C to stop.
1 575 posted 16 years ago by capitalist
Over time, your Mac's Mail program can start to feel sluggish because, like any database, over time it needs to optimized.
4 801 posted 16 years ago by jonhenshaw
0 472 posted 17 years ago by jonathanbp
1 2 Next »