By default, Homebrew gets installed under /usr/local. This is great, because it doesn’t require you to use sudo to install and upgrade packages. But the downside is that it turns your /usr/local directory into a git repository. If you don’t have any conflict with this, then by all means, stick with the default. I had… Continue reading So you want to move your Homebrew folder
Tag: osx
Yosemite Upgrade Changes Open File Limit
OSX has a ridiculously low limit on the maximum number of open files. If you use OSX to develop Node applications — or even if you just use Node tools like grunt or gulp — you’ve no doubt run into this issue. To address this, I have this line in my $HOME/.bash_profile: ulimit -n 1000000… Continue reading Yosemite Upgrade Changes Open File Limit
Fargo as a Fluid App
I thought it would be cool to have Fargo as a separate Fluid App. For those who don’t know, Fluid let’s you make a web app into what feels like a regular desktop app (for Mac OS X only). For me at least, this will make it easier to find Fargo among my many open… Continue reading Fargo as a Fluid App
Using watch with a bash alias
I love the Unix watch command. On OSX, you can install it easily with Homebrew: brew install watch Something I didn’t realize until 10 minutes ago is that if you want to watch the output of something in your bash aliases, watch will complain because it cannot find the command. This is because watch evaluates… Continue reading Using watch with a bash alias
Remap Mac Terminal Command-K
In case I need to remember that I did this… By default, the Mac Terminal assigns the “Clear Scrollback” command to Command-K. This is annoying, because I often use Nano, which uses Control-K to cut a line of text, and I frequently press Command-K instead of Control-K by accident. This clears my screen while I’m… Continue reading Remap Mac Terminal Command-K