Skip to content

Instantly share code, notes, and snippets.

@nrollr
nrollr / Homebrew.sh
Created October 10, 2015 15:44
List of Homebrew commands
#!/bin/bash
brew update # Ensure you’re running the latest version of Homebrew, including latest list of formulae
brew list # Show everything installed with Homebrew
brew outdated # Show Homebrew installed packages which could be updated
brew upgrade # Update all packages installed by Homebrew
brew upgrade [package] # Update an specific package installed by Homebrew
brew pin [package] # Protect a package, prevents installing upgrades
@nrollr
nrollr / MongoDB.md
Last active January 7, 2024 11:57
Install MongoDB on El Capitan

Install MongoDB on El Capitan

How to install the latest stable version of MongoDB on OS X 10.11 (El Capitan).

  • Official MongoDB install documentation: Here
  • Current Stable Release: 3.0.6

Make sure you have Homebrew installed before following the different steps documented below.
Important notice: When installing Homebrew on El Capitan there is an important article you should read first: Homebrew and El Capitan

@nrollr
nrollr / Screenshots.sh
Last active October 3, 2015 19:35
Change the file location of screencaptures on OS X
#!/bin/bash
defaults write com.apple.screencapture location ~/Screenshots
killall SystemUIServer
@nrollr
nrollr / Ruby_and_Rails.md
Last active March 28, 2018 17:57
Ruby and Rails on El Capitan

#Install Ruby and Rails on El Capitan The following procedure was used to install the required components on El Capitan (clean install)

First make sure Xcode Command Line Tools are installed.
Open Terminal and enter: xcode-select --install you will be prompted to start the installation. Once finished proceed..

##Install Homebrew Important Notice: Homebrew and El Capitan, make sure to read the article!

  • Enter the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"