├── CITATION.cff ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── adium.md ├── applications.md ├── appstore.md ├── brew-install-everything-we-want.sh ├── brew.md ├── chef.md ├── defaults.sh ├── emacs.md ├── firefox.md ├── fix-macos-system-installation-packages-osinstall-mpkg ├── gcc.md ├── git.md ├── iterm2.md ├── java.md ├── karabiner.md ├── mac.md ├── mas.md ├── masfile.sh ├── mysql.md ├── osx-cpu-temp.md ├── postgres.md ├── ruby.md ├── spinlock.md ├── spotlight_exclude_folder_list.txt ├── sudo_defaults_tty_tickets_security_fix ├── system_preferences.md ├── virtualhosts.md ├── wineskin.md └── xcode.md /CITATION.cff: -------------------------------------------------------------------------------- 1 | cff-version: 1.2.0 2 | title: THIS REPO HAS A NEW LOCATION 3 | message: >- 4 | If you use this work and you want to cite it, 5 | then you can use the metadata from this file. 6 | type: software 7 | authors: 8 | - given-names: Joel Parker 9 | family-names: Henderson 10 | email: joel@joelparkerhenderson.com 11 | affiliation: joelparkerhenderson.com 12 | orcid: 'https://orcid.org/0009-0000-4681-282X' 13 | identifiers: 14 | - type: url 15 | value: 'https://github.com/SixArm/sixarm_mac_osx_installation_help/' 16 | description: THIS REPO HAS A NEW LOCATION 17 | repository-code: 'https://github.com/SixArm/sixarm_mac_osx_installation_help/' 18 | abstract: >- 19 | THIS REPO HAS A NEW LOCATION 20 | license: See license file 21 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * codeowners@sixarm.com 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributor Covenant Code of Conduct 3 | 4 | ## Our Pledge 5 | 6 | We as members, contributors, and leaders pledge to make participation in our 7 | community a harassment-free experience for everyone, regardless of age, body 8 | size, visible or invisible disability, ethnicity, sex characteristics, gender 9 | identity and expression, level of experience, education, socio-economic status, 10 | nationality, personal appearance, race, caste, color, religion, or sexual 11 | identity and orientation. 12 | 13 | We pledge to act and interact in ways that contribute to an open, welcoming, 14 | diverse, inclusive, and healthy community. 15 | 16 | ## Our Standards 17 | 18 | Examples of behavior that contributes to a positive environment for our 19 | community include: 20 | 21 | * Demonstrating empathy and kindness toward other people 22 | * Being respectful of differing opinions, viewpoints, and experiences 23 | * Giving and gracefully accepting constructive feedback 24 | * Accepting responsibility and apologizing to those affected by our mistakes, 25 | and learning from the experience 26 | * Focusing on what is best not just for us as individuals, but for the overall 27 | community 28 | 29 | Examples of unacceptable behavior include: 30 | 31 | * The use of sexualized language or imagery, and sexual attention or advances of 32 | any kind 33 | * Trolling, insulting or derogatory comments, and personal or political attacks 34 | * Public or private harassment 35 | * Publishing others' private information, such as a physical or email address, 36 | without their explicit permission 37 | * Other conduct which could reasonably be considered inappropriate in a 38 | professional setting 39 | 40 | ## Enforcement Responsibilities 41 | 42 | Community leaders are responsible for clarifying and enforcing our standards of 43 | acceptable behavior and will take appropriate and fair corrective action in 44 | response to any behavior that they deem inappropriate, threatening, offensive, 45 | or harmful. 46 | 47 | Community leaders have the right and responsibility to remove, edit, or reject 48 | comments, commits, code, wiki edits, issues, and other contributions that are 49 | not aligned to this Code of Conduct, and will communicate reasons for moderation 50 | decisions when appropriate. 51 | 52 | ## Scope 53 | 54 | This Code of Conduct applies within all community spaces, and also applies when 55 | an individual is officially representing the community in public spaces. 56 | Examples of representing our community include using an official e-mail address, 57 | posting via an official social media account, or acting as an appointed 58 | representative at an online or offline event. 59 | 60 | ## Enforcement 61 | 62 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 63 | reported to the community leaders responsible for enforcement at 64 | [INSERT CONTACT METHOD]. 65 | All complaints will be reviewed and investigated promptly and fairly. 66 | 67 | All community leaders are obligated to respect the privacy and security of the 68 | reporter of any incident. 69 | 70 | ## Enforcement Guidelines 71 | 72 | Community leaders will follow these Community Impact Guidelines in determining 73 | the consequences for any action they deem in violation of this Code of Conduct: 74 | 75 | ### 1. Correction 76 | 77 | **Community Impact**: Use of inappropriate language or other behavior deemed 78 | unprofessional or unwelcome in the community. 79 | 80 | **Consequence**: A private, written warning from community leaders, providing 81 | clarity around the nature of the violation and an explanation of why the 82 | behavior was inappropriate. A public apology may be requested. 83 | 84 | ### 2. Warning 85 | 86 | **Community Impact**: A violation through a single incident or series of 87 | actions. 88 | 89 | **Consequence**: A warning with consequences for continued behavior. No 90 | interaction with the people involved, including unsolicited interaction with 91 | those enforcing the Code of Conduct, for a specified period of time. This 92 | includes avoiding interactions in community spaces as well as external channels 93 | like social media. Violating these terms may lead to a temporary or permanent 94 | ban. 95 | 96 | ### 3. Temporary Ban 97 | 98 | **Community Impact**: A serious violation of community standards, including 99 | sustained inappropriate behavior. 100 | 101 | **Consequence**: A temporary ban from any sort of interaction or public 102 | communication with the community for a specified period of time. No public or 103 | private interaction with the people involved, including unsolicited interaction 104 | with those enforcing the Code of Conduct, is allowed during this period. 105 | Violating these terms may lead to a permanent ban. 106 | 107 | ### 4. Permanent Ban 108 | 109 | **Community Impact**: Demonstrating a pattern of violation of community 110 | standards, including sustained inappropriate behavior, harassment of an 111 | individual, or aggression toward or disparagement of classes of individuals. 112 | 113 | **Consequence**: A permanent ban from any sort of public interaction within the 114 | community. 115 | 116 | ## Attribution 117 | 118 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 119 | version 2.1, available at 120 | [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. 121 | 122 | Community Impact Guidelines were inspired by 123 | [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. 124 | 125 | For answers to common questions about this code of conduct, see the FAQ at 126 | [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at 127 | [https://www.contributor-covenant.org/translations][translations]. 128 | 129 | [homepage]: https://www.contributor-covenant.org 130 | [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html 131 | [Mozilla CoC]: https://github.com/mozilla/diversity 132 | [FAQ]: https://www.contributor-covenant.org/faq 133 | [translations]: https://www.contributor-covenant.org/translations 134 | 135 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | To contribute code, you can create a pull request, or send us email, or chat with us, whichever is easiest for you. 4 | 5 | To contribute money, you can use PayPal to send money to sixarm@sixarm.com, or email us to ask about other ways. 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # THIS REPO HAS A NEW LOCATION 2 | 3 | Please change to https://github.com/sixarm/sixarm_mac_setup 4 | 5 | The new location has better notes and improvemnts for macOS Sierra. 6 | 7 | 8 | # Sixarm Mac Setup 9 | 10 | How to set up a new Mac computer that is running macOS? These notes show how our teams do it. 11 | 12 | * These notes start with the basics that are good for everyone. 13 | 14 | * We use Apple macOS 10.12 a.k.a. Sierra. We expect most of these notes will work on many versions of macOS. 15 | 16 | 17 | ## Turn on your computuer 18 | 19 | When you turn the computer on, the Setup Assistant launches. 20 | 21 | * Enter your language, time zone, Apple ID, and so on. 22 | 23 | * If you already use a different Mac computer, and you want to do a migration of all your files, then you can use the “Migration Assistant”. We prefer to skip this; we prefer to set up the computer from scratch. 24 | 25 | * Register for a personal Apple Id, if you don't already have one. 26 | 27 | * If you want to use iCloud, then do so. 28 | 29 | 30 | ## Do a software update 31 | 32 | Choose the Apple menu, then "Software Update...". 33 | 34 | * This step downloads all the current updates for your system, such as bug fixes, security patches, and feature improvements. 35 | 36 | * This step may take a while because macOS updates tend to be large to download. 37 | 38 | 39 | ## Enable FileVault security 40 | 41 | Choose the Apple menu, then choose "System Preferences....", then "FileVault", then turn it on. 42 | 43 | * This step encrypts your entire drive. 44 | 45 | * This step may take a while because macOS is adding encryption to your entire system. 46 | 47 | 48 | ## Connect your iPhone, iPad, etc. 49 | 50 | Do you want to sync an iPhone, iPad, or other device? If so, connect these now. 51 | 52 | * You may want to launch iTunes, because this shows you what is synchronizing, and this can also make a backup of your device. 53 | 54 | 55 | ## Set Preferences & Defaults 56 | 57 | We set a bunch of system preferences to customize our Desktop, Dock, Keyboard, Sound, and so on. 58 | 59 | * If you are a typical user, then you can pick and choose from our complete list of System Preferences 60 | 61 | * If you are an advanced user, then you may prefer to run our defaults script. 62 | 63 | 64 | ## Applications 65 | 66 | We use many applications. 67 | 68 | * If you are a typical user, then you can pick and choose using our list of App Store apps and Applications that we download. 69 | 70 | * If you are an advanced user, then you may prefer to use our scripts for brew, cask, mas, and so on; see below for these. 71 | 72 | 73 | # Advanced Users 74 | 75 | 76 | ## Admin 77 | 78 | Ensure our current user account can administer the system: 79 | 80 | * Preferences > Users & Groups 81 | * Pick our user 82 | * Check "Allow user to administer this computer" 83 | 84 | If we're getting the computer from another user, we can adjust ownership and permissions: 85 | 86 | sudo touch /usr/local/{Cellar,Library/LinkedKegs} && 87 | sudo chown -R root:admin /usr/local/{Cellar,Library/LinkedKegs,man,share/man} && 88 | sudo find /usr/local/{Cellar,Library/LinkedKegs,man,share/man} -type d -exec chmod 775 {} \; 89 | 90 | 91 | ## Environment 92 | 93 | We manage the system environment here: 94 | 95 | edit /etc/environment 96 | 97 | Example: 98 | 99 | PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin 100 | 101 | Load: 102 | 103 | source /etc/environment 104 | 105 | 106 | ## MAS: Mac App Store 107 | 108 | MAS is very useful for installing many apps. 109 | 110 | * MAS: Mac App Store command line interface 111 | 112 | 113 | ## Developer software and notes 114 | 115 | * xcode.md: Xcode development tools 116 | * git.md: Git version control 117 | * brew.md: Brew Mac package manager 118 | * adium.md: Adium instant messenger settings 119 | * osx-cpu-temp.md: Command to show the OSX CPU temperature 120 | * karabiner.md: Karabiner changes the key "caps lock" to "control" and "escape". 121 | 122 | 123 | ## Database setup 124 | 125 | * mysql.md: MySQL database 126 | * postgres: Postgres database, including Ruby pg gem 127 | 128 | 129 | ## Programming software and notes 130 | 131 | * gcc.md: Gnu Compiler Collection 132 | * emacs.md: Emacs text editor 133 | * iterm2.md: iTerm2 terminal emulator for Unix shell commands 134 | * ruby.md: Ruby programming 135 | * java.md: Java programming 136 | * chef.md: Chef system manager 137 | * virtualhosts.md: Virtual hosts 138 | 139 | ## Spotlight 140 | 141 | Skip the Spotlight search index on these folders: 142 | 143 | * spotlight_exclude_folder_list.txt 144 | 145 | ## See Also 146 | 147 | * [Setting up a Brand New Mac for Development by Tania Rascia](https://www.taniarascia.com/setting-up-a-brand-new-mac-for-development/) 148 | -------------------------------------------------------------------------------- /adium.md: -------------------------------------------------------------------------------- 1 | # Adium.im instant messaging 2 | 3 | * Adium > Preferences > Events > Contact Signs On/Off > Delete Growl notification 4 | * Add your accounts for any of Google Talk, Yahoo Instant Messenger, MSN Live, etc. 5 | 6 | -------------------------------------------------------------------------------- /applications.md: -------------------------------------------------------------------------------- 1 | # Applications to download 2 | 3 | Good for everyone: 4 | 5 | * Adium - instant messenging 6 | * Adobe Flash - player 7 | * Android file transfer - for Android phones 8 | * BackBlaze - backup service 9 | * BetterSnapTool - window manager 10 | * BetterTouchTool - trackpad gesture utility 11 | * Dropbox - file sharing 12 | * ExpressVPN - for secure networking 13 | * F.lux - screen color adjuster for night use, similar to Night Shift, Redshift, etc. 14 | * gfxCardStatus - menu bar app for MacBook Pro to show which apps use power-hungry graphics. 15 | * Google 16 | * Chrome - web browser 17 | * Hangouts - (download -) 18 | * Drive - (download -) file storage 19 | * Earth - 20 | * Check all "Places" and "Layers" 21 | * Preferences > 22 | * Terrain > Use High Quality Terrain 23 | * Cache > Double these 24 | * General > Use my Gmail account 25 | * iStat Menus for system monitoring - 26 | * Java - runtime 27 | * LastPass - password manager 28 | * Kiwix - Wikipedia offline viewer 29 | * Then download Wikipedia, Wikiquote, Wikivoyage, Wiktionary, and any others you want 30 | * Riot - messaging with secure end-to-end encryption 31 | * Silverlight - media player plugin 32 | * Spark - hotkey utility 33 | * Simplenote – my note-taking app of choice 34 | * TeamViewer - remote collaboration - 35 | * Todoist – my to-do app of choice 36 | * Transmission - bittorrent 37 | * VLC - media player 38 | 39 | Communications: 40 | 41 | * Slack – the communication app 42 | * Skype - instant messenger and video calling 43 | 44 | Web browsers: 45 | 46 | * Firefox 47 | * Chrome 48 | * Opera 49 | 50 | Office suites: 51 | 52 | * LibreOffice - the open source equivalent of Word, Excel, Access, etc. 53 | * The installation may need: System Preferences > Security & Privacy > General > Open Anyway 54 | * Numbers – the Apple equivalent of Excel – may already be preinstalled 55 | * Pages – the Apple equivalent of Word – may already be preinstalled 56 | 57 | Text editors: 58 | 59 | * Atom 60 | * Brackets 61 | * Sublime 62 | 63 | Good for developers: 64 | 65 | * 25 awesome tools every developer should have - 66 | * Cask - extension to Homebrew that will allow you to install almost any program that exists for a Mac 67 | * GIMP - image editor, similar to Adobe Photoshop 68 | * Git - version control 69 | * GitHub - version control 70 | * HipChat - team collaboration 71 | * iTerm2 - terminal for Unix shell commands 72 | * Java - 73 | * MAMP – simplify and sandbox your development environment, if you choose 74 | * NodeJS - server-side JavaScript 75 | * npm - Node Package Manager 76 | * MeshLab - mesh processing system for 3D scanning and printing 77 | * Qt - cross platform framework 78 | * RubyMine - 79 | * Plugins: Markdown 80 | * Sip – indispensable free app to gather the color/HEX code of any pixel on your screen 81 | * Spectacle – excellent free app for resizing your windows 82 | * SoapUI testing tool - 83 | * SourceTree - Git GUI 84 | * Vagrant-*.*.*.dmg 85 | * VirtualBox - 86 | * Also download the Oracle VM VirtualBox Extension Pack 87 | * Install "Guest Additions" 88 | * Ubuntu - ISO images 89 | * Modern.ie - OVA images for Internet Explorer and Microsoft Windows 90 | * Change "Host Key" to right-clover: Preferences: Input (tab): Virtual Machine (tab): Host Key Combination 91 | * XQuartz - X server for OSX 92 | * Sequel Pro – excellent free GUI for MySQL databases 93 | * µTorrent – for torrents 94 | 95 | Integrated Development Environments: 96 | 97 | * RubyMotion - Ruby programming IDE 98 | * Eclipse 99 | 100 | Coding: 101 | 102 | * XCode command line tools:
xcode-select --install - 103 | * Brew package manager:ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" - 104 | * IE & Windows for VirtualBox:curl -C - -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE11-Win8.1&parts=4&filename=VMBuild_20140402/VirtualBox/IE11_Win8.1/Mac/IE11.Win8.1.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar}"105 | 106 | Coding files TBD: 107 | 108 | * jquery-*.min 109 | * jquery-ui-* 110 | * jquery-ui-themes-*.zip 111 | * jruby-bin-* 112 | * Sencha/ext-*.*.*-commercial.zip 113 | * Sencha/sencha-touch-*-commercial.zip 114 | * Sencha/SenchaAnimator-*.dmg 115 | -------------------------------------------------------------------------------- /appstore.md: -------------------------------------------------------------------------------- 1 | ## App Store 2 | 3 | Good for everyone and free: 4 | 5 | * Alfred: productivity using shortcuts and launchers 6 | * Cloud: simple file sharing by sending a link 7 | * FaceTime: video chatting 8 | * iPhoto: mananging photos 9 | * iMovie: video player and maker 10 | * GarageBand: music creator 11 | * Evernote: for taking notes 12 | * Kindle: for reading books bought at Amazon 13 | * Wunderlist: to do list 14 | * The Unarchiver 15 | * Twitter: social networking 16 | * Facebook: social networking 17 | * Simplenote: to do list 18 | * Mint: for tracking money in your bank accounts 19 | * Caffeine: to keep the computer from going to sleep 20 | * Pin for Pinterest: for pinning images 21 | * Fotor: photo editor 22 | 23 | Good for developers: 24 | 25 | * Affinity Photo: image editor similar to Photoshop and Illustrator 26 | * Xcode 27 | * Tutorial for Xcode 28 | * Memory Clean: defrags RAM after large uses 29 | * Coffitivity: plays ambient noise of coffeeshops 30 | * Dash: help documentation for lots of software 31 | -------------------------------------------------------------------------------- /brew-install-everything-we-want.sh: -------------------------------------------------------------------------------- 1 | ### 2 | # Brew install everything we want. 3 | # 4 | # Before we begin: 5 | # 6 | # * Install XCode 7 | # * Install XQuartz: https://xquartz.macosforge.org 8 | # 9 | # To find what a given package does: 10 | # 11 | # http://brewformulas.org/ 12 | # 13 | # For example package "foo" is: 14 | #car 15 | # http://brewformulas.org/foo 16 | # 17 | ### 18 | 19 | ## Lib 20 | 21 | # The libevent API provides provides asynchronous event notification and callbacks. 22 | brew install libevent 23 | 24 | # Magic number recognition library for file types. 25 | brew install libmagic 26 | 27 | ## Fundamental 28 | 29 | # Automake is a tool for automatically generating Makefile installation files. 30 | brew install automake 31 | 32 | # Basic file, shell and text manipulation utilities of the GNU operating system. 33 | brew install coreutils 34 | 35 | # GNU stream editor; compare `sed`. 36 | brew install gnu-sed --default-names 37 | 38 | # GNU Privacy Guard (GnuPG) provides encryption as a free replacement for PGP. 39 | brew install gpg 40 | 41 | # OpenSSL is an open-source implementation of the SSL and TLS protocols. 42 | brew install openssl 43 | 44 | # pkg-config is a helper tool used when compiling applications and libraries. 45 | brew install pkg-config && brew link pkg-config && brew install tmux 46 | 47 | # Functions for use by applications that allow users to edit command lines while typing. 48 | brew install readline 49 | 50 | # Mobile Shell (MOSH) is like SSH plus roaming and smart echo. 51 | brew install mobile-shell 52 | 53 | ## Shells 54 | 55 | # Bash is the Bourne Again SHell. Bash is an sh-compatible shell. 56 | brew install bash 57 | 58 | # TBD 59 | brew install bash-completion 60 | 61 | # TBD 62 | brew install bashish 63 | 64 | # pkg-config is a helper tool used when compiling applications and libraries. 65 | brew install pkg-config && brew link pkg-config && brew install tmux 66 | 67 | # Zsh is a shell designed for interactive use. 68 | brew install zsh 69 | 70 | ## Fetchers 71 | 72 | # Carthage is a simple, decentralized dependency manager for Cocoa 73 | brew install carthage 74 | 75 | # Homebrew Cask extends Homebrew to install OS X applications and large binaries. 76 | brew install cask 77 | 78 | # curl is a command line tool for transferring data with URL syntax 79 | brew install curl 80 | 81 | # HTTrack is a free and easy-to-use offline browser utility. 82 | brew install httrack 83 | 84 | # Protocol buffers for serializing structured data. 85 | brew install protobuf 86 | 87 | # WinRAR provides compression/decompression for RAR and ZIP files. 88 | brew install unrar 89 | 90 | # Wget is a free software package for retrieving files using HTTP and FTP. 91 | brew install wget 92 | 93 | ## Version Control 94 | 95 | # CVS is a version control system. 96 | brew install cvs 97 | 98 | # Git is a free and open source distributed version control system. 99 | brew install git 100 | 101 | # TBD 102 | brew install git-cola 103 | 104 | # Git extensions to provide high-level operations for Git Flow branching model. 105 | brew install git-flow 106 | 107 | # TBD 108 | brew install git-ftp 109 | 110 | # TBD 111 | brew install git-gerrit 112 | 113 | # TBD 114 | brew install git-multipush 115 | 116 | # TBD 117 | brew install git-now 118 | 119 | # TBD 120 | brew install git-url-sub 121 | 122 | # Mercurial version control system. 123 | brew install hg 124 | 125 | # Subversion version control system. 126 | brew install sqlite && brew link sqlite && brew install subversion 127 | 128 | ## Editing-Related 129 | 130 | # GNU Aspell is a free open source spell checker; compare `lspell`. 131 | brew install aspell --with-lang=en 132 | 133 | # Emacs editor. 134 | sudo rm /usr/bin/emacs && 135 | sudo rm -rf /usr/share/emacs && 136 | brew install emacs --cocoa --srgb --use-git-head --HEAD && 137 | ls -1 /usr/local/Cellar/emacs/*/bin/emacs | 138 | tail -1 | 139 | xargs -I{} sudo ln -sf "{}" /usr/bin/emacs 140 | 141 | # Vim editor. 142 | brew install vim 143 | 144 | ## Parsing 145 | 146 | # Libxml2 is the XML C parser and toolkit. 147 | brew install libxml2 148 | 149 | # Libxslt is the XSLT C library for the XML EXtensible Stylesheet Language. 150 | brew install libxslt 151 | 152 | ## Tools 153 | 154 | # Ansible is a simple way to automate apps and IT infrastructure. 155 | brew install ansible 156 | 157 | # ag is "the silver searcher" search tool, like an optimized grep. 158 | brew link autoconf automake && brew install ag 159 | 160 | # jq is a lightweight and flexible command-line JSON processor. 161 | brew install jq 162 | 163 | # TBD 164 | brew install gawk 165 | 166 | # GraphicsMagick is the swiss army knife of image processing. 167 | brew install graphicsmagick 168 | 169 | # TBD 170 | brew install graphviz 171 | 172 | # Gnuplot is a portable command-line driven graphing utility. 173 | brew install gnuplot 174 | 175 | # TBD 176 | brew install html-xml-utils 177 | 178 | # TBD 179 | brew install lynx 180 | 181 | # Meld is a visual diff and merge tool targeted at developers. 182 | brew install meld 183 | 184 | # Most is a powerful paging program; compare `less` and `more`. 185 | brew install most 186 | 187 | # Mutt is a small powerful text-based mail client. 188 | brew install mutt 189 | 190 | # Netcat is a networking utility for the TCP/IP protocol. 191 | brew install netcat 192 | 193 | # TBD 194 | brew install ncdu 195 | 196 | # TBD 197 | brew install randomize-lines 198 | 199 | # TBD 200 | brew install rename 201 | 202 | # TBD 203 | brew install salt 204 | 205 | # Unison is a high-level file synchronization utility; compare `rsync`. 206 | brew install unison 207 | 208 | # xclip is a command line interface to the X11 clipboard. 209 | brew install xclip 210 | 211 | # TBD 212 | brew install xmstarlet 213 | 214 | ## Language-Related 215 | 216 | # Closure programming language compiler; compare `lisp`, `java`. 217 | brew install closure-compiler 218 | 219 | # Elixer programming language built on top of the Erlang VM. 220 | brew install elixir 221 | 222 | # Erlang programming language for scalable high-availability systems. 223 | brew install erlang 224 | 225 | # Go programming language by Google; compare `C`. 226 | brew install go 227 | 228 | # Leiningen automates Clojure projects. 229 | brew install leiningen 230 | 231 | # Apache Maven is a software project management and comprehension tool. 232 | brew install maven 233 | 234 | # Python programming language, esp. for systems scripting. 235 | brew install python 236 | brew install python3 237 | 238 | # R programming language, esp. for statistics. 239 | brew install r 240 | 241 | # Scala programming language, that runs on top of the JVM. 242 | brew install scala 243 | 244 | # Source highlight for many languages 245 | brew install source-highlight 246 | 247 | ## JavaScript 248 | 249 | # Node.js is a JavaScript platform for building fast, scalable network app. 250 | brew install node 251 | 252 | # PhantomJS is a headless WebKit scriptable with a JavaScript API. 253 | brew install phantomjs 254 | 255 | # V8 JavaScript Engine. 256 | brew install v8 257 | 258 | ## Perl 259 | 260 | # Perl programming language, esp. for systems administration. 261 | brew install perl 262 | 263 | # Perl-Compatible Regular Expressions pattern matching tools. 264 | brew install pcre 265 | 266 | # CPAN search for perl modules 267 | brew install cpansearch 268 | 269 | ## Ruby 270 | 271 | # chruby changes the current Ruby. 272 | brew install chruby 273 | 274 | # JRuby is a high performance, stable, fully threaded Java implementation of Ruby. 275 | brew install jruby 276 | 277 | # Ruby programming language; compare `perl`, `python`. 278 | brew install ruby 279 | 280 | # Tool to install various implementations of Ruby. 281 | brew install ruby-install 282 | 283 | ## Swift 284 | 285 | # Improved Xcode build tool 286 | brew install xctool 287 | 288 | ## Database-Related 289 | 290 | # Cassandra database. 291 | brew install cassandra 292 | 293 | # CouchDB database, esp. for document-oriented storage. 294 | brew install couchdb 295 | 296 | # Hadoop database. 297 | brew install hadoop 298 | 299 | # MySQL database. 300 | brew install mysql 301 | 302 | # MongoDB database. 303 | brew install mongodb 304 | 305 | # PostgreSQL database. 306 | brew install postgresql 307 | 308 | # Redis database, esp. for key-value cache and store, and a data structure server. 309 | brew install redis 310 | 311 | # Riak open-source distributed database. 312 | brew install riak 313 | 314 | # Sphinx search engine. 315 | brew install mysql && brew install postgresql && brew install sphinx 316 | 317 | # SQLite database: self-contained, serverless, zero-configuration, transactional engine. 318 | brew install sqlite && brew link sqlite 319 | 320 | ## Server-Related 321 | 322 | # TBD 323 | brew install glassfish 324 | 325 | # Jetty provides a Java web server and javax.servlet container. 326 | brew install jetty 327 | 328 | # Monit is for managing and monitoring Unix systems. 329 | brew install monit 330 | 331 | # Nagios IT infrastructure monitoring. 332 | brew install nagios 333 | 334 | # TBD 335 | brew install nginx 336 | 337 | # RabbitMQ enterprise message queue based on the emerging AMQP standard. 338 | brew install rabbitmq 339 | 340 | # Siege is an http load testing and benchmarking utility. 341 | brew install siege 342 | 343 | # Apache Tomcat implements Java Servlet and JavaServer Pages technologies. 344 | brew install tomcat 345 | 346 | # Varnish reverse-proxy web application accelerator. 347 | brew install varnish 348 | 349 | ## Network-Related 350 | 351 | brew install wireshark 352 | 353 | ## Media-Related 354 | 355 | brew install exif 356 | brew install exiftags 357 | brew install exiftool 358 | brew install flac 359 | brew install ffmpeg 360 | brew install ffmpeg2theora 361 | brew install ffmpegthumbnailer 362 | brew install imagemagick 363 | brew install theora 364 | 365 | ## Font-Related 366 | 367 | # Fontconfig is a library for configuring and customizing font access. 368 | brew install fontconfig 369 | 370 | # FreeType is a freely available software library to render fonts. 371 | brew install freetype 372 | 373 | ## Image-Related 374 | 375 | brew install libgphoto2 376 | brew install libpng 377 | brew install libtiff 378 | 379 | # Jasper command line transcoder between JPEG2000 and other formats. 380 | brew install jasper 381 | 382 | ## Uncategorized 383 | 384 | brew install abook 385 | brew install ack 386 | brew install apachetop 387 | brew install apple-gcc42 388 | brew install ascii 389 | brew install asciidoc 390 | brew install asciitex 391 | brew install autobench 392 | brew install autoconf 393 | brew install autoenv 394 | brew install autogen 395 | brew install autojump 396 | brew install base64 397 | brew install bcrypt 398 | brew install bind 399 | brew install bindfs 400 | brew install binutils 401 | brew install bison 402 | brew install bogofilter 403 | brew install colordiff 404 | brew install ctags 405 | brew install docbook 406 | brew install dovecot 407 | brew install doxygen 408 | brew install dpkg 409 | brew install fakeroot 410 | brew install findutils 411 | brew install geoip 412 | brew install gnu-arch 413 | brew install gnu-barcode 414 | brew install gnu-getopt 415 | brew install gnu-indent 416 | brew install gnu-prolog 417 | brew install gnu-sed --default-names 418 | brew install gnu-shogi 419 | brew install gnu-smalltalk 420 | brew install gnu-tar 421 | brew install gnu-time 422 | brew install gnu-typist 423 | brew install gnu-units 424 | brew install gnu-which 425 | brew install google-app-engine 426 | brew install google-js-test 427 | brew install google-perftools 428 | brew install google-sparsehash 429 | brew install google-sql-tool 430 | brew install html2text 431 | brew install httperf 432 | brew install ical-buddy 433 | brew install jmeter 434 | brew install jpeg 435 | brew install lzo 436 | brew install rarian 437 | brew install pixman 438 | 439 | # libMemcached is a client library and tools for the memcached server. 440 | brew install libmemcached 441 | brew install memcached 442 | 443 | brew install scrypt 444 | brew install qt 445 | 446 | # Tarsnap is a secure online backup service for Unix. 447 | brew install tarsnap 448 | 449 | brew install thrift 450 | 451 | # Valkyrie is a Qt4-based GUI for the Memcheck and Helgrind tools in Valgrind. 452 | brew install valkyrie 453 | 454 | # WINE runs Windows applications on other operating systems. 455 | brew install wine 456 | 457 | # Xapian is an open-source search engine library. 458 | brew install xapian 459 | 460 | # whereami prints your geographical coordinates, as determined by Core Location 461 | brew install whereami 462 | 463 | ### To Be Determined 464 | 465 | # brew install json-c 466 | # brew install json-glib 467 | # brew install json_spirit 468 | # brew install jsonpp 469 | # brew install jstalk 470 | # brew install jsvc 471 | # brew install judy 472 | # brew install justniffer 473 | # brew install jython 474 | # brew install kawa 475 | # brew install kbtin 476 | # brew install kdiff3 477 | # brew install kelbt 478 | # brew install kes 479 | # brew install keychain 480 | # brew install kismet 481 | # brew install kite 482 | # brew install kiwi 483 | # brew install knife-completion 484 | # brew install knock 485 | # brew install konoha 486 | # brew install ktoblzcheck 487 | # brew install kumofs 488 | # brew install kyoto-cabinet 489 | # brew install kyoto-tycoon 490 | # brew install kytea 491 | # brew install lablgtk 492 | # brew install lame 493 | # brew install languagetool 494 | # brew install lapack 495 | # brew install lasi 496 | # brew install lastfm_fplib 497 | # brew install lastfmfpclient 498 | # brew install lastfmlib 499 | # brew install latex2html 500 | # brew install latex2rtf 501 | # brew install launch 502 | # brew install lbdb 503 | # brew install lcdf-typetools 504 | # brew install lcov 505 | # brew install lcrack 506 | # brew install ldapvi 507 | # brew install ldid 508 | # brew install ldns 509 | # brew install le 510 | # brew install leafnode 511 | # brew install ledger 512 | # brew install ledit 513 | # brew install legit 514 | # brew install lemon 515 | # brew install leptonica 516 | # brew install less 517 | # brew install lesspipe 518 | # brew install lesstif 519 | # brew install leveldb 520 | # brew install lft 521 | # brew install lftp 522 | # brew install lha 523 | # brew install libagg 524 | # brew install libao 525 | # brew install libarchive 526 | # brew install libart 527 | # brew install libass 528 | # brew install libassuan 529 | # brew install libbinio 530 | # brew install libbs2b 531 | # brew install libcaca 532 | # brew install libcddb 533 | # brew install libcdio 534 | # brew install libcmph 535 | # brew install libconfig 536 | # brew install libcouchbase 537 | # brew install libcroco 538 | # brew install libcsv 539 | # brew install libcue 540 | # brew install libcuefile 541 | # brew install libdaemon 542 | # brew install libdap 543 | # brew install libdbusmenu-qt 544 | # brew install libdc1394 545 | # brew install libdca 546 | # brew install libdlna 547 | # brew install libdmtx 548 | # brew install libdnet 549 | # brew install libdrizzle 550 | # brew install libdshconfig 551 | # brew install libdsk 552 | # brew install libdv 553 | # brew install libdvbpsi 554 | # brew install libdvdcss 555 | # brew install libdvdnav 556 | # brew install libdvdread 557 | # brew install libebml 558 | # brew install libechonest 559 | # brew install libelf 560 | # brew install libemu 561 | # brew install libev 562 | # brew install libevent 563 | # brew install libewf 564 | # brew install libexif 565 | # brew install libexosip 566 | # brew install libextractor 567 | # brew install libffi 568 | # brew install libfishsound 569 | # brew install libfixbuf 570 | # brew install libflowmanager 571 | # brew install libftdi 572 | # brew install libgadu 573 | # brew install libgaiagraphics 574 | # brew install libgarmin 575 | # brew install libgcrypt 576 | # brew install libgda 577 | # brew install libgee 578 | # brew install libgeotiff 579 | # brew install libgit2 580 | # brew install libglade 581 | # brew install libglademm 582 | # brew install libgnomecanvas 583 | # brew install libgpg-error 584 | # brew install libgphoto2 585 | # brew install libgsasl 586 | # brew install libgsf 587 | # brew install libgtextutils 588 | # brew install libgtop 589 | # brew install libharu 590 | # brew install libhid 591 | # brew install libical 592 | # brew install libicns 593 | # brew install libiconv 594 | # brew install libid3tag 595 | # brew install libident 596 | # brew install libidl 597 | # brew install libidn 598 | # brew install libimobiledevice 599 | # brew install libinfinity 600 | # brew install libiptcdata 601 | # brew install libkate 602 | # brew install libkml 603 | # brew install libksba 604 | # brew install liblas 605 | # brew install liblastfm 606 | # brew install liblinear 607 | # brew install liblo 608 | # brew install liblockfile 609 | # brew install liblqr 610 | # brew install liblunar 611 | # brew install libmagic 612 | # brew install libmatroska 613 | # brew install libmemcached 614 | # brew install libmicrohttpd 615 | # brew install libmikmod 616 | # brew install libming 617 | # brew install libmms 618 | # brew install libmp3splt 619 | # brew install libmpc 620 | # brew install libmpd 621 | # brew install libmpdclient 622 | # brew install libmpeg2 623 | # brew install libmtp 624 | # brew install libmusicbrainz 625 | # brew install libmxml 626 | # brew install libnet 627 | # brew install libnfc 628 | # brew install libnids 629 | # brew install libogg 630 | # brew install liboil 631 | # brew install libopennet 632 | # brew install liboping 633 | # brew install libosip 634 | # brew install libotr 635 | # brew install libpano 636 | # brew install libpar2 637 | # brew install libpcap 638 | # brew install libplist 639 | # brew install libpst 640 | # brew install libpurple 641 | # brew install libpuzzle 642 | # brew install libqalculate 643 | # brew install libqglviewer 644 | # brew install libquicktime 645 | # brew install librasterlite 646 | # brew install libraw 647 | # brew install libreplaygain 648 | # brew install librets 649 | # brew install librsvg 650 | # brew install librsync 651 | # brew install libsamplerate 652 | # brew install libsgml 653 | # brew install libshout 654 | # brew install libsigc++ 655 | # brew install libsigsegv 656 | # brew install libsmi 657 | # brew install libsndfile 658 | # brew install libspatialite 659 | # brew install libspiro 660 | # brew install libspotify 661 | # brew install libssh 662 | # brew install libssh2 663 | # brew install libstfl 664 | # brew install libstxxl 665 | # brew install libsvg 666 | # brew install libsvg-cairo 667 | # brew install libsvm 668 | # brew install libtasn1 669 | # brew install libtecla 670 | # brew install libtermkey 671 | # brew install libtiff 672 | # brew install libtommath 673 | # brew install libtool 674 | # brew install libtorrent 675 | # brew install libtorrent-rasterbar 676 | # brew install libtrace 677 | # brew install libunique 678 | # brew install libunistring 679 | # brew install libupnp 680 | # brew install libusb 681 | # brew install libusb-compat 682 | # brew install libutf 683 | # brew install libvbucket 684 | # brew install libvirt 685 | # brew install libvo-aacenc 686 | # brew install libvorbis 687 | # brew install libvpx 688 | # brew install libwbxml 689 | # brew install libwmf 690 | # brew install libwpd 691 | # brew install libwpg 692 | # brew install libwps 693 | # brew install libxdiff 694 | # brew install libxmi 695 | # brew install libxml++ 696 | # brew install libxml2 697 | # brew install libxmlsec1 698 | # brew install libxslt 699 | # brew install libxspf 700 | # brew install libyaml 701 | # brew install libyubikey 702 | # brew install libzdb 703 | # brew install libzip 704 | # brew install libzzip 705 | # brew install lifelines 706 | # brew install lightning 707 | # brew install lighttpd 708 | # brew install lilypond 709 | # brew install link-grammar 710 | # brew install linklint 711 | # brew install links 712 | # brew install liquibase 713 | # brew install litmus 714 | # brew install little-cms 715 | # brew install little-cms2 716 | # brew install llvm 717 | # brew install lmutil 718 | # brew install lockrun 719 | # brew install log4cplus 720 | # brew install log4cpp 721 | # brew install log4cxx 722 | # brew install log4shib 723 | # brew install logcheck 724 | # brew install logentries 725 | # brew install logrotate 726 | # brew install logstalgia 727 | # brew install logtalk 728 | # brew install lolcode 729 | # brew install lorem 730 | # brew install loudmouth 731 | # brew install lout 732 | # brew install lpc21isp 733 | # brew install lrzip 734 | # brew install lrzsz 735 | # brew install lsdvd 736 | # brew install lsof 737 | # brew install lua 738 | # brew install luajit 739 | # brew install luarocks 740 | # brew install luciddb 741 | # brew install lv 742 | # brew install lxsplit 743 | # brew install lynx 744 | # brew install lysp 745 | # brew install lzip 746 | # brew install lzlib 747 | # brew install lzo 748 | # brew install lzop 749 | # brew install m4 750 | # brew install mac-robber 751 | # brew install macvim 752 | # brew install mad 753 | # brew install madplay 754 | # brew install mafft 755 | # brew install magit 756 | # brew install mailcheck 757 | # brew install mairix 758 | # brew install make 759 | # brew install makeicns 760 | # brew install makensis 761 | # brew install malbolge 762 | # brew install mame 763 | # brew install man2html 764 | # brew install mapnik 765 | # brew install mapserver 766 | # brew install mariadb 767 | # brew install markdown 768 | # brew install mathgl 769 | # brew install mathomatic 770 | # brew install maven-shell 771 | # brew install mawk 772 | # brew install maxima 773 | # brew install mcabber 774 | # brew install mcl 775 | # brew install mcpp 776 | # brew install mcrypt 777 | # brew install md 778 | # brew install md5deep 779 | # brew install md5sha1sum 780 | # brew install mdbtools 781 | # brew install mdf2iso 782 | # brew install mdxmini 783 | # brew install mecab 784 | # brew install mecab-ipadic 785 | # brew install media-info 786 | # brew install mediatomb 787 | # brew install memcache-top 788 | # brew install memcached 789 | # brew install memcacheq 790 | # brew install memtester 791 | # brew install mercurial 792 | # brew install mesalib-glw 793 | # brew install mess 794 | # brew install metalua 795 | # brew install metapixel 796 | # brew install metaproxy 797 | # brew install metasploit 798 | # brew install metis 799 | # brew install mftrace 800 | # brew install mg 801 | # brew install mhash 802 | # brew install midgard2 803 | # brew install midnight-commander 804 | # brew install mikmod 805 | # brew install minbif 806 | # brew install minc 807 | # brew install minicom 808 | # brew install minisat 809 | # brew install minised 810 | # brew install miniupnpc 811 | # brew install minuit2 812 | # brew install mira 813 | # brew install mit-scheme 814 | # brew install mjpegtools 815 | # brew install mkclean 816 | # brew install mkcue 817 | # brew install mksh 818 | # brew install mktorrent 819 | # brew install mkvalidator 820 | # brew install mkvtoolnix 821 | # brew install mldonkey 822 | # brew install mlton 823 | # brew install mmv 824 | # brew install mobile-shell 825 | # brew install mod_python 826 | # brew install mod_wsgi 827 | # brew install mogenerator 828 | # brew install monetdb 829 | # brew install mongoose 830 | # brew install mongrel2 831 | # brew install monotone 832 | # brew install montage 833 | # brew install moreutils 834 | # brew install mosh 835 | # brew install mosml 836 | # brew install mosquitto 837 | # brew install movgrab 838 | # brew install mp3cat 839 | # brew install mp3check 840 | # brew install mp3gain 841 | # brew install mp3info 842 | # brew install mp3splt 843 | # brew install mp3val 844 | # brew install mp3wrap 845 | # brew install mp4v2 846 | # brew install mpack 847 | # brew install mpc 848 | # brew install mpd 849 | # brew install mpdas 850 | # brew install mpdscribble 851 | # brew install mpfr 852 | # brew install mpg123 853 | # brew install mpg321 854 | # brew install mpgtx 855 | # brew install mpich2 856 | # brew install mpio 857 | # brew install mplayer 858 | # brew install mpop 859 | # brew install mpsolve 860 | # brew install mr 861 | # brew install mrfast 862 | # brew install mrtg 863 | # brew install mscgen 864 | # brew install msgpack 865 | # brew install msgpack-rpc 866 | # brew install msmtp 867 | # brew install mt-daapd 868 | # brew install mtools 869 | # brew install mtr 870 | # brew install mu 871 | # brew install multimarkdown 872 | # brew install multitail 873 | # brew install muparser 874 | # brew install mupdf 875 | # brew install muscle 876 | # brew install musepack 877 | # brew install mydumper 878 | # brew install mytop 879 | # brew install n2n 880 | # brew install nacl 881 | # brew install nagios 882 | # brew install nagios-plugins 883 | # brew install nailgun 884 | # brew install nano 885 | # brew install narwhal 886 | # brew install nasm 887 | # brew install naturaldocs 888 | # brew install nauty 889 | # brew install ncdu 890 | # brew install ncftp 891 | # brew install ncmpc 892 | # brew install ncmpcpp 893 | # brew install ncrack 894 | # brew install ncurses 895 | # brew install ncview 896 | # brew install ndiff 897 | # brew install neko 898 | # brew install neo4j 899 | # brew install neon 900 | # brew install nesc 901 | # brew install net-nuclear 902 | # brew install net-snmp 903 | # brew install net6 904 | # brew install netcat 905 | # brew install netcdf 906 | # brew install netpbm 907 | # brew install netsed 908 | # brew install nettle 909 | # brew install newick-utils 910 | # brew install newlisp 911 | # brew install ngircd 912 | # brew install ngrep 913 | # brew install ngspice 914 | # brew install nickle 915 | # brew install nimrod 916 | # brew install nkf 917 | # brew install nload 918 | # brew install nlopt 919 | # brew install nmap 920 | # brew install node 921 | # brew install notmuch 922 | # brew install noweb 923 | # brew install nrg2iso 924 | # brew install nrpe 925 | # brew install nspr 926 | # brew install nss 927 | # brew install ntfs-3g 928 | # brew install ntl 929 | # brew install nu 930 | # brew install num-utils 931 | # brew install nuttcp 932 | # brew install nvi 933 | # brew install nylon 934 | # brew install nzbget 935 | # brew install o-make 936 | # brew install oath-toolkit 937 | # brew install obby 938 | # brew install objective-caml 939 | # brew install ocp 940 | # brew install ocrad 941 | # brew install octave 942 | # brew install ode 943 | # brew install odt2txt 944 | # brew install offline-imap 945 | # brew install oggz 946 | # brew install ogmtools 947 | # brew install ohcount 948 | # brew install omega 949 | # brew install oniguruma 950 | # brew install oorexx 951 | # brew install open-babel 952 | # brew install open-cobol 953 | # brew install open-mesh 954 | # brew install open-mpi 955 | # brew install open-ocd 956 | # brew install open-scene-graph 957 | # brew install open-sg 958 | # brew install open-sp 959 | # brew install open-vcdiff 960 | # brew install opencc 961 | # brew install opencolorio 962 | # brew install openconnect 963 | # brew install opencore-amr 964 | # brew install opencv 965 | # brew install openexr 966 | # brew install openfst 967 | # brew install openimageio 968 | # brew install openjpeg 969 | # brew install openldap 970 | # brew install openmeeg 971 | # brew install opensaml 972 | # brew install openslp 973 | # brew install opentracker 974 | # brew install openttd 975 | # brew install openvpn 976 | # brew install ophcrack 977 | # brew install optipng 978 | # brew install opus 979 | # brew install opus-tools 980 | # brew install orbit 981 | # brew install orc 982 | # brew install orpie 983 | # brew install ortp 984 | # brew install osm-pbf 985 | # brew install osm2pgsql 986 | # brew install osmosis 987 | # brew install osslsigncode 988 | # brew install ossp-uuid 989 | # brew install otx 990 | # brew install owfs 991 | # brew install p0f 992 | # brew install p11-kit 993 | # brew install p7zip 994 | # brew install pam_yubico 995 | # brew install paml 996 | # brew install pango 997 | # brew install pangomm 998 | # brew install paperkey 999 | # brew install par 1000 | # brew install par2 1001 | # brew install par2tbb 1002 | # brew install parallel 1003 | # brew install pari 1004 | # brew install parmetis 1005 | # brew install parrot 1006 | # brew install patchutils 1007 | # brew install pathfinder 1008 | # brew install pax-construct 1009 | # brew install pax-runner 1010 | # brew install pbc 1011 | # brew install pbc-sig 1012 | # brew install pbzip2 1013 | # brew install pcal 1014 | # brew install pcb 1015 | # brew install pcre 1016 | # brew install pcre++ 1017 | # brew install pdal 1018 | # brew install pdf2image 1019 | # brew install pdf2json 1020 | # brew install pdf2svg 1021 | # brew install pdfcrack 1022 | # brew install pdfgrep 1023 | # brew install pdfjam 1024 | # brew install pdflib-lite 1025 | # brew install pdftohtml 1026 | # brew install pdksh 1027 | # brew install pdnsd 1028 | # brew install pdsh 1029 | # brew install peg 1030 | # brew install peg-markdown 1031 | # brew install perceptualdiff 1032 | # brew install percona-server 1033 | # brew install percona-toolkit 1034 | # brew install perforce 1035 | # brew install perforce-proxy 1036 | # brew install perforce-server 1037 | # brew install perl 1038 | # brew install pg_top 1039 | # brew install pgbouncer 1040 | # brew install pgdbf 1041 | # brew install pgpool-ii 1042 | # brew install pgtap 1043 | # brew install phantomjs 1044 | # brew install phash 1045 | # brew install phoronix-test-suite 1046 | # brew install phyml 1047 | # brew install physfs 1048 | # brew install pianobar 1049 | # brew install picoc 1050 | # brew install picocom 1051 | # brew install pidof 1052 | # brew install pig 1053 | # brew install pigz 1054 | # brew install pil 1055 | # brew install pincaster 1056 | # brew install pinentry 1057 | # brew install pipebench 1058 | # brew install pipemeter 1059 | # brew install pit 1060 | # brew install pixie 1061 | # brew install pixman 1062 | # brew install pkg-config 1063 | # brew install play 1064 | # brew install playdar 1065 | # brew install plink 1066 | # brew install plod 1067 | # brew install plotutils 1068 | # brew install plowshare 1069 | # brew install plt-racket 1070 | # brew install plustache 1071 | # brew install plzip 1072 | # brew install pmdmini 1073 | # brew install pms 1074 | # brew install png2ico 1075 | # brew install pngcheck 1076 | # brew install pngcrush 1077 | # brew install pngnq 1078 | # brew install pngrewrite 1079 | # brew install poco 1080 | # brew install podofo 1081 | # brew install points2grid 1082 | # brew install polipo 1083 | # brew install polyml 1084 | # brew install poppler 1085 | # brew install popt 1086 | # brew install portaudio 1087 | # brew install portmidi 1088 | # brew install pos 1089 | # brew install poster 1090 | # brew install postgis 1091 | # brew install postgresql 1092 | # brew install postmark 1093 | # brew install potrace 1094 | # brew install pound 1095 | # brew install povray 1096 | # brew install pow 1097 | # brew install ppl 1098 | # brew install ppss 1099 | # brew install premake 1100 | # brew install primer3 1101 | # brew install primesieve 1102 | # brew install privoxy 1103 | # brew install proctools 1104 | # brew install prodigal 1105 | # brew install proguard 1106 | # brew install proj 1107 | # brew install protobuf 1108 | # brew install protobuf-c 1109 | # brew install proxytunnel 1110 | # brew install psftools 1111 | # brew install psgrep 1112 | # brew install pstoedit 1113 | # brew install pstree 1114 | brew install pth 1115 | # brew install ptunnel 1116 | # brew install puf 1117 | # brew install pulledpork 1118 | # brew install pure 1119 | # brew install pure-ftpd 1120 | # brew install putmail 1121 | # brew install putmail-queue 1122 | # brew install putty 1123 | # brew install pv 1124 | # brew install pwgen 1125 | # brew install pwnat 1126 | # brew install pwsafe 1127 | # brew install py2cairo 1128 | # brew install pygobject 1129 | # brew install pygtk 1130 | # brew install pygtkglext 1131 | # brew install pypy 1132 | # brew install pyqt 1133 | # brew install pyqwt 1134 | # brew install pyside 1135 | # brew install pyside-tools 1136 | # brew install 1137 | # brew install qca 1138 | # brew install qcachegrind 1139 | # brew install qd 1140 | # brew install qdbm 1141 | # brew install qemu 1142 | # brew install qfits 1143 | # brew install qhull 1144 | # brew install qi 1145 | # brew install qjson 1146 | # brew install qpdf 1147 | # brew install qprint 1148 | # brew install qrencode 1149 | # brew install qrupdate 1150 | # brew install qscintilla2 1151 | # brew install qstat 1152 | # brew install qt-mobility 1153 | # brew install quantlib 1154 | # brew install quassel 1155 | # brew install quex 1156 | # brew install quickfix 1157 | # brew install quicktree 1158 | # brew install quilt 1159 | # brew install quvi 1160 | # brew install qwt 1161 | # brew install qxmpp 1162 | # brew install radare2 1163 | # brew install ragel 1164 | # brew install rails-completion 1165 | # brew install rakudo-star 1166 | # brew install ranger 1167 | # brew install raptor 1168 | # brew install rarian 1169 | # brew install rasqal 1170 | # brew install rats 1171 | # brew install rbenv 1172 | # brew install rbenv-gemset 1173 | # brew install rbenv-vars 1174 | # brew install rc 1175 | # brew install rdesktop 1176 | # brew install rdiff-backup 1177 | # brew install rds-command-line-tools 1178 | # brew install re2 1179 | # brew install re2c 1180 | # brew install readline 1181 | # brew install readosm 1182 | # brew install readpst 1183 | # brew install reattach-to-user-namespace 1184 | # brew install rebar 1185 | # brew install recode 1186 | # brew install recutils 1187 | # brew install redis 1188 | # brew install redis-tools 1189 | # brew install redland 1190 | # brew install redo 1191 | # brew install redsocks 1192 | # brew install regina-rexx 1193 | # brew install remind 1194 | # brew install ren 1195 | # brew install rename 1196 | # brew install renameutils 1197 | # brew install repl 1198 | # brew install repo 1199 | # brew install reposurgeon 1200 | # brew install resty 1201 | # brew install rfcdiff 1202 | # brew install rfcmarkup 1203 | # brew install rfcstrip 1204 | # brew install rhino 1205 | # brew install riak 1206 | # brew install riak-search 1207 | # brew install riemann 1208 | # brew install rinetd 1209 | # brew install ringojs 1210 | # brew install ripmime 1211 | # brew install rlog 1212 | # brew install rlwrap 1213 | # brew install rmcast 1214 | # brew install rmtrash 1215 | # brew install rnv 1216 | # brew install robodoc 1217 | # brew install rock 1218 | # brew install rogue 1219 | # brew install rom-tools 1220 | # brew install roundup 1221 | # brew install rpg 1222 | # brew install rpl 1223 | # brew install rpm2cpio 1224 | # brew install rrdtool 1225 | # brew install rsense 1226 | # brew install rsnapshot 1227 | # brew install rsync 1228 | # brew install rsyslog 1229 | # brew install rt-audio 1230 | # brew install rtmpdump 1231 | # brew install rtorrent 1232 | # brew install rtpbreak 1233 | # brew install rubber 1234 | # brew install rubinius 1235 | # brew install ruby 1236 | # brew install ruby-build 1237 | # brew install ruby-enterprise-edition 1238 | # brew install ruby-odbc 1239 | # brew install runcocoa 1240 | # brew install runit 1241 | # brew install rush 1242 | # brew install rust 1243 | # brew install rxvt-unicode 1244 | # brew install rzip 1245 | # brew install s-lang 1246 | # brew install s3-backer 1247 | # brew install s3cmd 1248 | # brew install s3fs 1249 | # brew install s3sync 1250 | # brew install saga-core 1251 | # brew install salt 1252 | # brew install sam2p 1253 | # brew install samba 1254 | # brew install samtools 1255 | # brew install sane-backends 1256 | # brew install sary 1257 | # brew install savana 1258 | # brew install saxon 1259 | # brew install saxon-b 1260 | # brew install sbcl 1261 | # brew install sbt 1262 | # brew install sc68 1263 | # brew install scalate 1264 | # brew install scalpel 1265 | # brew install scamperema 1266 | # brew install scantailor 1267 | # brew install scheme48 1268 | # brew install schroedinger 1269 | # brew install scm-manager 1270 | # brew install scons 1271 | # brew install scotch 1272 | # brew install screen 1273 | # brew install scrollkeeper 1274 | # brew install scrotwm 1275 | # brew install scrub 1276 | # brew install scrypt 1277 | # brew install scsh 1278 | # brew install scummvm 1279 | # brew install sdcc 1280 | # brew install sdelta3 1281 | # brew install sdf 1282 | # brew install sdl 1283 | # brew install sdl_gfx 1284 | # brew install sdl_image 1285 | # brew install sdl_mixer 1286 | # brew install sdl_net 1287 | # brew install sdl_rtf 1288 | # brew install sdl_sound 1289 | # brew install sdl_ttf 1290 | # brew install sedna 1291 | # brew install selenium-server-standalone 1292 | # brew install ser2net 1293 | # brew install serf 1294 | # brew install sersniff 1295 | # brew install sgrep 1296 | # brew install shakespeare 1297 | # brew install shapelib 1298 | # brew install shaper-probe 1299 | # brew install shared-mime-info 1300 | # brew install shark 1301 | # brew install shell.fm 1302 | # brew install shen 1303 | # brew install shiboken 1304 | # brew install shmux 1305 | # brew install shntool 1306 | # brew install shocco 1307 | # brew install shorten 1308 | # brew install shtool 1309 | # brew install sic 1310 | # brew install sickbeard 1311 | # brew install sigar 1312 | # brew install signing-party 1313 | # brew install silk 1314 | # brew install simgrid 1315 | # brew install simh 1316 | # brew install since 1317 | # brew install sip 1318 | # brew install sipcalc 1319 | # brew install sipp 1320 | # brew install sipsak 1321 | # brew install sisc-scheme 1322 | # brew install sispmctl 1323 | # brew install sitecopy 1324 | # brew install ski 1325 | # brew install skipfish 1326 | # brew install skktools 1327 | # brew install skytools 1328 | # brew install sl 1329 | # brew install sleepwatcher 1330 | # brew install sleuthkit 1331 | # brew install sloccount 1332 | # brew install slrn 1333 | # brew install smake 1334 | # brew install smartmontools 1335 | # brew install smartypants 1336 | # brew install smlnj 1337 | # brew install smpeg 1338 | # brew install snappy 1339 | # brew install snobol4 1340 | # brew install snort 1341 | # brew install sntop 1342 | # brew install socat 1343 | # brew install sofia-sip 1344 | # brew install solid 1345 | # brew install solr 1346 | # brew install sonar 1347 | # brew install sound-touch 1348 | # brew install source-highlight 1349 | # brew install sox 1350 | # brew install spark 1351 | # brew install spatialindex 1352 | # brew install spatialite-tools 1353 | # brew install spawn-fcgi 1354 | # brew install speex 1355 | # brew install sphinx 1356 | # brew install spidermonkey 1357 | # brew install spim 1358 | # brew install spin 1359 | # brew install spiped 1360 | # brew install splint 1361 | # brew install spring-roo 1362 | # brew install sproxy 1363 | # brew install sqsh 1364 | # brew install squashfs 1365 | # brew install squid 1366 | # brew install squirrel 1367 | # brew install srecord 1368 | # brew install ssdeep 1369 | # brew install ssed 1370 | # brew install ssh-copy-id 1371 | # brew install sshfs 1372 | # brew install sshguard 1373 | # brew install sshuttle 1374 | # brew install ssldump 1375 | # brew install sslscan 1376 | # brew install ssss 1377 | # brew install stanford-parser 1378 | # brew install star 1379 | # brew install staticrouted 1380 | # brew install stgit 1381 | # brew install stklos 1382 | # brew install storm 1383 | # brew install stormfs 1384 | # brew install stow 1385 | # brew install stp 1386 | # brew install strategoxt 1387 | # brew install streamripper 1388 | # brew install stress 1389 | # brew install stunnel 1390 | # brew install style-check 1391 | # brew install sub2srt 1392 | # brew install subversion 1393 | # brew install suite-sparse 1394 | # brew install sundials 1395 | # brew install surfraw 1396 | # brew install svdlibc 1397 | # brew install svg2pdf 1398 | # brew install svg2png 1399 | # brew install swaks 1400 | # brew install swfmill 1401 | # brew install swftools 1402 | # brew install swi-prolog 1403 | # brew install swig 1404 | # brew install swish-e 1405 | # brew install syck 1406 | # brew install symphony 1407 | # brew install synergy 1408 | # brew install synfig 1409 | # brew install synfigstudio 1410 | # brew install syslog-ng 1411 | # brew install szip 1412 | # brew install szl 1413 | # brew install t1utils 1414 | # brew install ta-lib 1415 | # brew install tabbed 1416 | # brew install tabix 1417 | # brew install taglib 1418 | # brew install tal 1419 | # brew install talk-filters 1420 | # brew install talloc 1421 | # brew install tarsnap 1422 | # brew install task 1423 | # brew install tbb 1424 | # brew install tcl 1425 | # brew install tclap 1426 | # brew install tcpdump 1427 | # brew install tcpflow 1428 | # brew install tcping 1429 | # brew install tcpreplay 1430 | # brew install tcpstat 1431 | # brew install tcptrace 1432 | # brew install tcptraceroute 1433 | # brew install tcptrack 1434 | # brew install tcpurify 1435 | # brew install teapot 1436 | # brew install teem 1437 | # brew install term 1438 | # brew install tesseract 1439 | # brew install testdisk 1440 | # brew install tetgen 1441 | # brew install texinfo 1442 | # brew install thc-pptp-bruter 1443 | # brew install the_silver_searcher 1444 | # brew install theora 1445 | # brew install thrift 1446 | # brew install thrulay 1447 | # brew install tidy 1448 | # brew install tidyp 1449 | # brew install tiff2png 1450 | # brew install tig 1451 | # brew install tiger-vnc 1452 | # brew install timbl 1453 | # brew install timedog 1454 | # brew install tin 1455 | # brew install tinc 1456 | # brew install tintin 1457 | # brew install tiny-fugue 1458 | # brew install tinyproxy 1459 | # brew install tinysvm 1460 | # brew install titlecase 1461 | # brew install tivodecode 1462 | # brew install tk 1463 | # brew install tkdiff 1464 | # brew install tmap 1465 | # brew install tmpreaper 1466 | # brew install tmux 1467 | # brew install tn5250 1468 | # brew install tnef 1469 | # brew install todo-txt 1470 | # brew install tofrodos 1471 | # brew install toilet 1472 | # brew install tokyo-cabinet 1473 | # brew install tokyo-dystopia 1474 | # brew install tokyo-tyrant 1475 | # brew install tomcat 1476 | # brew install topgit 1477 | # brew install tophat 1478 | # brew install tor 1479 | # brew install torsocks 1480 | # brew install trafficserver 1481 | # brew install trafshow 1482 | # brew install trang 1483 | # brew install transcode 1484 | # brew install transmission 1485 | # brew install tre 1486 | # brew install tree 1487 | # brew install treecc 1488 | # brew install treeline 1489 | # brew install triangle 1490 | # brew install tsung 1491 | # brew install ttf2eot 1492 | # brew install ttf2pt1 1493 | # brew install tth 1494 | # brew install ttyrec 1495 | # brew install ttytter 1496 | # brew install tup 1497 | # brew install two-lame 1498 | # brew install txt2man 1499 | # brew install txt2tags 1500 | # brew install typespeed 1501 | # brew install uade 1502 | # brew install uchardet 1503 | # brew install ucl 1504 | # brew install udis86 1505 | # brew install udns 1506 | # brew install udunits 1507 | # brew install ufraw 1508 | # brew install uif2iso 1509 | # brew install uim 1510 | # brew install unafold 1511 | # brew install unbound 1512 | # brew install uncrustify 1513 | # brew install unfs3 1514 | # brew install ungif 1515 | # brew install unifdef 1516 | # brew install unison 1517 | # brew install unittest 1518 | # brew install unixodbc 1519 | # brew install unp 1520 | # brew install unpaper 1521 | # brew install unrar 1522 | # brew install unrtf 1523 | # brew install unshield 1524 | # brew install unyaffs 1525 | # brew install uptimed 1526 | # brew install upx 1527 | # brew install uriparser 1528 | # brew install urlview 1529 | # brew install urweb 1530 | # brew install usbmuxd 1531 | # brew install ushare 1532 | # brew install utimer 1533 | # brew install uudeview 1534 | # brew install uwsgi 1535 | # brew install v8 1536 | # brew install v8cgi 1537 | # brew install vala 1538 | # brew install valgrind 1539 | # brew install valkyrie 1540 | # brew install varnish 1541 | # brew install vbindiff 1542 | # brew install vcdimager 1543 | # brew install vcftools 1544 | # brew install vcodex 1545 | # brew install vcprompt 1546 | # brew install vde 1547 | # brew install velvet 1548 | # brew install verilator 1549 | # brew install vf 1550 | # brew install vgmstream 1551 | # brew install vice 1552 | # brew install vifm 1553 | # brew install vilistextum 1554 | # brew install vimeo-downloader 1555 | # brew install vimpager 1556 | # brew install vimpc 1557 | # brew install vip 1558 | # brew install vips 1559 | # brew install virtualhost.sh 1560 | # brew install virtuoso 1561 | # brew install visitors 1562 | # brew install visualnetkit 1563 | # brew install vmalloc 1564 | # brew install vnstat 1565 | # brew install vobcopy 1566 | # brew install voldemort 1567 | # brew install vorbis-tools 1568 | # brew install vorbisgain 1569 | # brew install vpnc 1570 | # brew install vrpn 1571 | # brew install vsftpd 1572 | # brew install vte 1573 | # brew install vtk 1574 | # brew install w3m 1575 | # brew install wait_on 1576 | # brew install wakeonlan 1577 | # brew install watch 1578 | # brew install wavpack 1579 | # brew install wbox 1580 | # brew install wdfs 1581 | # brew install wdiff 1582 | # brew install web100clt 1583 | # brew install webalizer 1584 | # brew install webfs 1585 | # brew install webkit2png 1586 | # brew install webp 1587 | # brew install weechat 1588 | # brew install wemux 1589 | # brew install whatmask 1590 | # brew install when 1591 | # brew install whirr 1592 | # brew install whohas 1593 | # brew install wiggle 1594 | # brew install willgit 1595 | # brew install wine 1596 | # brew install winetricks 1597 | # brew install winexe 1598 | # brew install wkhtmltopdf 1599 | # brew install wla-dx 1600 | # brew install wmctrl 1601 | # brew install wol 1602 | # brew install wopr 1603 | # brew install wordnet 1604 | # brew install wp-cli 1605 | # brew install wps2odt 1606 | # brew install wput 1607 | # brew install wrangler 1608 | # brew install writerperfect 1609 | # brew install wrk 1610 | # brew install wtf 1611 | # brew install wv 1612 | # brew install wv2 1613 | # brew install wwwoffle 1614 | # brew install wxmac 1615 | # brew install wyrd 1616 | # brew install x264 1617 | # brew install x3270 1618 | # brew install xa 1619 | # brew install xapian 1620 | # brew install xar 1621 | # brew install xaric 1622 | # brew install xastir 1623 | # brew install xaw3d 1624 | # brew install xchat 1625 | # brew install xclip 1626 | # brew install xdelta 1627 | # brew install xdotool 1628 | # brew install xerces-c 1629 | # brew install xml-coreutils 1630 | # brew install xml-security-c 1631 | # brew install xml-tooling-c 1632 | # brew install xml2rfc 1633 | # brew install xmlformat 1634 | # brew install xmlrpc-c 1635 | # brew install xmlstarlet 1636 | # brew install xmlto 1637 | # brew install xmltoman 1638 | # brew install xmoto 1639 | # brew install xmp 1640 | # brew install xpa 1641 | # brew install xpdf 1642 | # brew install xplanet 1643 | # brew install xqilla 1644 | # brew install xrootd 1645 | # brew install xspin 1646 | # brew install xspringies 1647 | # brew install xsw 1648 | # brew install xvid 1649 | # brew install xz 1650 | # brew install yaf 1651 | # brew install yajl 1652 | # brew install yamdi 1653 | # brew install yaml-cpp 1654 | # brew install yara 1655 | # brew install yarp 1656 | # brew install yasm 1657 | # brew install yaws 1658 | # brew install yaz 1659 | # brew install yazpp 1660 | # brew install yconalyzer 1661 | # brew install yeti 1662 | # brew install ykclient 1663 | # brew install ykpers 1664 | # brew install youtube-dl 1665 | # brew install yuicompressor 1666 | # brew install yydecode 1667 | # brew install z 1668 | # brew install zbar 1669 | # brew install zdelta 1670 | # brew install zebra 1671 | # brew install zeromq 1672 | # brew install zile 1673 | # brew install zint 1674 | # brew install zlib 1675 | # brew install znc 1676 | # brew install zookeeper 1677 | # brew install zsh 1678 | # brew install zsh-completions 1679 | # brew install zsh-lovers 1680 | # brew install zssh 1681 | # brew install zsync 1682 | # brew install zzuf 1683 | 1684 | ### Didn't work - need to diagnose these 1685 | 1686 | ## Utilties 1687 | #brew install awk 1688 | #brew install berkeley-db 1689 | #brew install cracklib 1690 | #brew install cracklib-words 1691 | #brew install daemon 1692 | #brew install daemonize 1693 | #brew install daemontools 1694 | 1695 | ## Languages 1696 | #brew install dart 1697 | 1698 | ## Amazon 1699 | #brew install aws-cfn-tools 1700 | #brew install aws-cloudsearch 1701 | #brew install aws-elasticache 1702 | #brew install aws-iam-tools 1703 | #brew install aws-sns-cli 1704 | 1705 | ## Dupes 1706 | 1707 | brew install homebrew/dupes/awk 1708 | brew install homebrew/dupes/diffstat 1709 | brew install homebrew/dupes/diffutils 1710 | brew install homebrew/dupes/ed 1711 | brew install homebrew/dupes/expect 1712 | brew install homebrew/dupes/fetchmail 1713 | brew install homebrew/dupes/file-formula 1714 | brew install homebrew/dupes/gdb 1715 | brew install homebrew/dupes/gpatch 1716 | brew install homebrew/dupes/gperf 1717 | brew install homebrew/dupes/grep 1718 | brew install homebrew/dupes/groff 1719 | brew install homebrew/dupes/gzip 1720 | brew install homebrew/dupes/heimdal 1721 | brew install homebrew/dupes/lapack 1722 | brew install homebrew/dupes/less 1723 | brew install homebrew/dupes/libedit 1724 | brew install homebrew/dupes/libiconv 1725 | brew install homebrew/dupes/libpcap 1726 | brew install homebrew/dupes/lsof 1727 | brew install homebrew/dupes/m4 1728 | brew install homebrew/dupes/make 1729 | brew install homebrew/dupes/nano 1730 | brew install homebrew/dupes/ncurses 1731 | brew install homebrew/dupes/openldap 1732 | brew install homebrew/dupes/openssh 1733 | brew install homebrew/dupes/rsync 1734 | brew install homebrew/dupes/screen 1735 | brew install homebrew/dupes/tcl-tk 1736 | brew install homebrew/dupes/tcpdump 1737 | brew install homebrew/dupes/tidy 1738 | brew install homebrew/dupes/units 1739 | brew install homebrew/dupes/unzip 1740 | brew install homebrew/dupes/whois 1741 | brew install homebrew/dupes/zlib 1742 | 1743 | ## Retired 1744 | 1745 | # Retired because we changed from `rbenv` to `chruby`. 1746 | #brew install rbenv 1747 | 1748 | # Retired because we now use `ruby-install` to install rubinius. 1749 | #brew install rubinius 1750 | 1751 | # Retired because we changed to `ruby-install` which is better. 1752 | #brew install ruby-build 1753 | -------------------------------------------------------------------------------- /brew.md: -------------------------------------------------------------------------------- 1 | # Brew package manager 2 | 3 | Brew is the "Homebrew" package manager. 4 | 5 | 6 | ## Brew or Port? 7 | 8 | In my opinion Homebrew is better than Mac Ports. 9 | 10 | 11 | ## Command Line Tools 12 | 13 | Brew works better when we first install Xcode Command Line Tools. 14 | 15 | Launch Xcode and install the component called Command Line Tools (see xcode.md) 16 | 17 | If we don't install these, we get messages like: 18 | 19 | Experimental support for using Xcode with the "Command Line Tools". 20 | 21 | 22 | Install the Homebrew package manager: 23 | 24 | https://github.com/mxcl/homebrew/wiki/installation 25 | 26 | 27 | ## Update & Upgrade 28 | 29 | If we already have brew: 30 | 31 | brew update 32 | brew upgrade 33 | 34 | 35 | ## Path using sbin 36 | 37 | We got this error: 38 | 39 | Warning: /usr/local/sbin is not on your path. You can fix this by editing ~/.bashrc 40 | 41 | To fix it temporarily, set the path like this: 42 | 43 | PATH=$PATH\:/usr/local/sbin ; export PATH 44 | 45 | To fix it permanently, edit ~/.bashrc or wherever you keep your path, such as /etc/environment. 46 | 47 | 48 | 49 | ## Missing path 50 | 51 | I got a "missing path" error and some options to correct it, so I ran this: 52 | 53 | sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ 54 | 55 | 56 | ## Brew install 57 | 58 | We maintain a complete list of our "brew install" commands at https://github.com/SixArm/sixarm_brew_install 59 | 60 | If you prefer a quick start, here are some good packages: 61 | 62 | Brew install: 63 | 64 | ```sh 65 | brew install git 66 | brew install gpg 67 | brew install postgresql 68 | brew install wine 69 | brew install xclip 70 | brew install zsh 71 | 72 | 73 | 74 | ## Help 75 | 76 | To diagnose homebrew: 77 | 78 | brew doctor 79 | 80 | Fix warnings, for example: 81 | 82 | Warning: /usr/bin occurs before /usr/local/bin 83 | This means that system-provided programs will be used instead of those provided by Homebrew. 84 | Consider amending your PATH so that /usr/local/bin is ahead of /usr/bin in your PATH. 85 | 86 | Warning: Homebrew's sbin was not found in your path. 87 | Consider amending your PATH variable so it contains: /usr/local/sbin 88 | 89 | Experimental support for using Xcode with the "Command Line Tools". 90 | 91 | 92 | ## GitHub API Token 93 | 94 | When we do a lot with brew, we hit a GitHub rate limit. 95 | 96 | To fix this, we create a GitHub API token at https://github.com/settings/applications 97 | 98 | * Tap "Personal Access Tokens" 99 | 100 | * Tap "Create New Token" 101 | 102 | * Name it, e.g. "brew" 103 | 104 | * The result will be a long hex string e.g.12334567890abcdef
105 | 106 | * Add it to our personal environment~/.environment
file: 107 | 108 | export HOMEBREW_GITHUB_API_TOKEN=12334567890abcdef 109 | 110 | We keep the key here: 111 | 112 | ~/keys/github/personal-access-tokens/brew.gpg 113 | -------------------------------------------------------------------------------- /chef.md: -------------------------------------------------------------------------------- 1 | # Chef 2 | 3 | Setup: 4 | 5 | echo chef vagrant veewee | xargs gem install 6 | cd /opt 7 | git clone https://github.com/opscode/chef-repo.git 8 | -------------------------------------------------------------------------------- /defaults.sh: -------------------------------------------------------------------------------- 1 | # Gathered from many different sources, 2 | # including mathias bynens, 3 | # https://github.com/stianeikeland/dotfiles/edit/master/bin/sanemacdefaults.sh 4 | # https://github.com/mathiasbynens/dotfiles 5 | # https://www.taniarascia.com/setting-up-a-brand-new-mac-for-development/ 6 | 7 | 8 | ## NSGlobalDomain 9 | 10 | # Save to disk (not to iCloud) by default. 11 | defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false 12 | 13 | # Show all filename extensions. 14 | defaults write NSGlobalDomain AppleShowAllExtensions -bool true 15 | 16 | # Expand save panel by default. 17 | defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true 18 | 19 | # Enable subpixel font rendering on non-Apple LCDs. 20 | defaults write NSGlobalDomain AppleFontSmoothing -int 2 21 | 22 | # Always show scrollbars. 23 | defaults write NSGlobalDomain AppleShowScrollBars -string "Always" 24 | 25 | # Use “natural” (Lion-style) scrolling. 26 | defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true 27 | 28 | # Disable press-and-hold for keys in favor of key repeat. 29 | defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false 30 | 31 | # Set a blazingly fast keyboard repeat rate. 32 | defaults write NSGlobalDomain KeyRepeat -int 0 33 | 34 | 35 | ## Finder 36 | 37 | # Enable quitting via ⌘ + Q; doing so will also hide desktop icons 38 | defaults write com.apple.finder QuitMenuItem -bool true 39 | 40 | # Always open everything in Finder's list view. This is important. 41 | defaults write com.apple.Finder FXPreferredViewStyle Nlsv 42 | 43 | # Show all files 44 | defaults write com.apple.finder AppleShowAllFiles YES 45 | 46 | # Empty Trash securely by default (removed: too slow..) 47 | #defaults write com.apple.finder EmptyTrashSecurely -bool true 48 | 49 | # Disable the warning when changing a file extension. 50 | defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false 51 | 52 | # Show status bar. 53 | defaults write com.apple.finder ShowStatusBar -bool true 54 | 55 | # Show path bar. 56 | defaults write com.apple.finder ShowPathbar -bool true 57 | 58 | # Allow selection of text in quicklook windows. 59 | defaults write com.apple.finder QLEnableTextSelection -bool true 60 | 61 | 62 | ## Dock 63 | 64 | # Make Dock icons of hidden applications translucent. 65 | defaults write com.apple.dock showhidden -bool true 66 | 67 | # Enable iTunes track notifications in the Dock. 68 | defaults write com.apple.dock itunes-notifications -bool true 69 | 70 | # Show indicator lights for open applications in the Dock. 71 | defaults write com.apple.dock show-process-indicators -bool true 72 | 73 | # Remove the auto-hiding Dock delay. 74 | defaults write com.apple.Dock autohide-delay -float 0 75 | 76 | # Automatically hide and show the Dock. 77 | defaults write com.apple.dock autohide -bool true 78 | 79 | # Disable expose animation. 80 | defaults write com.apple.dock expose-animation-duration -float 0 81 | 82 | 83 | ## Screen Saver 84 | 85 | # Require password immediately after sleep or screen saver begins. 86 | defaults write com.apple.screensaver askForPassword -int 1 87 | defaults write com.apple.screensaver askForPasswordDelay -int 0 88 | 89 | 90 | ## iTunes 91 | 92 | # Disable the Ping sidebar in iTunes. 93 | defaults write com.apple.iTunes disablePingSidebar -bool true 94 | 95 | # Disable all the other Ping stuff in iTunes. 96 | defaults write com.apple.iTunes disablePing -bool tr 97 | 98 | 99 | ## Safari 100 | 101 | # Enable Safari’s debug menu. 102 | defaults write com.apple.Safari IncludeInternalDebugMenu -bool true 103 | 104 | 105 | ## Network Browser 106 | 107 | # Use AirDrop over every interface. 108 | defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1 109 | 110 | 111 | ## Terminal 112 | 113 | # Only use UTF-8 in Terminal.app. 114 | defaults write com.apple.terminal StringEncodings -array 4 115 | 116 | 117 | ## Desktop Services 118 | 119 | # Avoid creating .DS_Store files on network volumes. 120 | defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true 121 | 122 | 123 | ## Bluetooth 124 | 125 | # Set Bluetooth headset higher bitrate. 126 | defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40 127 | 128 | 129 | ## Press And Hold 130 | 131 | # Disable press-and-hold for keys in favor of key repeat. 132 | defaults write -g ApplePressAndHoldEnabled -bool false 133 | 134 | 135 | ## Quick Look 136 | 137 | # Settings for qlcolorcode quicklook plugin. 138 | # https://github.com/n8gray/QLColorCode 139 | # https://github.com/sindresorhus/quick-look-plugins 140 | defaults write org.n8gray.QLColorCode hlTheme pablo 141 | defaults write org.n8gray.QLColorCode font Monaco 142 | 143 | 144 | ## Tap to click 145 | 146 | # Enable tap to click (Trackpad), also for login menu. 147 | defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true 148 | defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 149 | defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 150 | 151 | 152 | ## Flags 153 | 154 | # Show the ~/Library folder. 155 | chflags nohidden ~/Library 156 | 157 | 158 | ## Finally 159 | 160 | # Kill affected applications. 161 | for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" >/dev/null 2>&1; done 162 | -------------------------------------------------------------------------------- /emacs.md: -------------------------------------------------------------------------------- 1 | # Emacs on Mac OSX 2 | 3 | My Mac Air came with an old emacs version 22: 4 | 5 | emacs --version 6 | GNU Emacs 22.1.1 7 | 8 | Get a newer version from either: 9 | 10 | * AquaEmacs.org has emacs for MacOSX Aqua look and feel with many extras. Aquamacs 2.4 released 2011-10-26 has improved support for OS X Lion. 11 | * EmacsForMacOSX.com has pure builds of Emacs for Mac OS X with "no extras, No nonsense". 12 | 13 | 14 | Setup: 15 | 16 | touch ~/.emacs 17 | mkdir ~/.emacs.d/ 18 | touch ~/.emacs.d/init.el 19 | 20 | 21 | Add marmalade: 22 | 23 | append ~/.emacs.d/init.el 24 | ;; Marmalade 25 | (require 'package) 26 | (add-to-list 'package-archives 27 | '("marmalade" . "http://marmalade-repo.org/packages/") t) 28 | (package-initialize) 29 | 30 | 31 | Ergo Emacs: 32 | 33 | http://ergoemacs.org/ 34 | 35 | Put it here: 36 | 37 | ~/.emacs.d/ergoemacs_1.9.3.1/ 38 | 39 | append ~/.emacs 40 | (setenv "ERGOEMACS_KEYBOARD_LAYOUT" "us") ; US 41 | (load-file "~/.emacs.d/ergoemacs_1.9.3.1/site-lisp/site-start.el") 42 | 43 | -------------------------------------------------------------------------------- /firefox.md: -------------------------------------------------------------------------------- 1 | # Firefox 2 | 3 | Use a large cache to improve speed and offline viewing: 4 | 5 | * Preferences -> Advanced (icon) -> Network (tab) 6 | * Override automatic cache management [check] 7 | * Limit cache to: [set very big, e.g. 1024MB] 8 | -------------------------------------------------------------------------------- /fix-macos-system-installation-packages-osinstall-mpkg: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Fix anything we know of that can cause this macOS upgrade error: 4 | # 5 | # * The path /System/Installation/Packages/OSInstall.mpkg 6 | # appears to be missing or damaged 7 | # 8 | # See https://apple.stackexchange.com/questions/299808/high-sierra-the-path-system-installation-packages-osinstall-mpkg-appears-to-b 9 | # 10 | # ## Ideas 11 | # 12 | # * To restart in recovery mode, boot while you press down Command and R. 13 | 14 | # * In recovery mode, you can get a terminal by doing Utilities -> Terminal. 15 | # 16 | # * In recovery mode, you can use the disk utility to do a repair. 17 | # 18 | ## 19 | 20 | echo "Show the available disk capacity" 21 | df 22 | 23 | echo "Find any orphaned file named OSInstall.mpk" 24 | { LC_ALL=C find / -name OSInstall.mpk 3>&2 2>&1 1>&3 | grep -v 'Permission denied' >&3; } 3>&2 2>&1 25 | 26 | echo "Make the expected directory for system installation packages" 27 | mkdir -p "/Volumes/Macintosh HD/System/Installation/Packages" 28 | 29 | echo "If the find command found a file, you can move it to the correct place:" 30 | echo "cp \"\" \"/Volumes/Macintosh HD/System/Installation/Packages/"\" 31 | 32 | -------------------------------------------------------------------------------- /gcc.md: -------------------------------------------------------------------------------- 1 | # GCC 2 | 3 | Background: there's a history of issues involving gcc, Apple's LLVM, and Ruby before 1.9.3-p125. 4 | 5 | 6 | ## Lion + Ruby 1.9.3-p125 7 | 8 | * Ignore talk about aliasing to llvm-gcc-4.2, because it doesn't exist. 9 | * Ignore talk about downloading all of Xcode, because all I needed was Command Line Tools. 10 | * The ruby-build repo doesn't work out of the box, because it fails due to compiler problem. 11 | 12 | 13 | ## Lion + Ruby 1.8.7 14 | 15 | We get GCC like this: 16 | http://itshouldbeuseful.wordpress.com/2012/02/01/install-ruby-1-8-7-on-osx-lion-using-rvm/ 17 | 18 | * Install Xcode 19 | * Download and install the OSX gcc installer from https://github.com/kennethreitz/osx-gcc-installer 20 | * Direct link: https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg 21 | 22 | If we use RVM: 23 | 24 | rvm remove 1.8.7-p334 25 | CC=/usr/bin/gcc-4.2 rvm install 1.8.7-p334 --force 26 | 27 | -------------------------------------------------------------------------------- /git.md: -------------------------------------------------------------------------------- 1 | # Git 2 | 3 | Git config: 4 | 5 | git config --global user.name "Your Full Name" 6 | git config --global user.email "you@example.com" 7 | -------------------------------------------------------------------------------- /iterm2.md: -------------------------------------------------------------------------------- 1 | # iTerm2 2 | 3 | iTerm2 is a better terminal app than the Mac's built in app. 4 | 5 | 6 | ## Preferences summary 7 | 8 | 9 |
38 | 39 | 40 | ## Meta 41 | 42 | To make the Mac "option" key send "Meta" to terminals: 43 | 44 | * iTerm -> Preferences -> Profiles top tab -> Keys tab -> Left-option key acts as +Esc 45 | 46 | 47 | ## Turn off bell 48 | 49 | * iTerm -> Preferences -> Profiles top tab -> Terminal tab -> Silence bell (check it) 50 | 51 | 52 | ## Term Tab Titles 53 | 54 | http://superuser.com/questions/292652/change-iterm2-window-and-tab-titles-in-zsh 55 | 56 | Deselect all the options for window and tab titles (one of the lines below should work) 57 | 58 | * iTerm -> Preferences -> Appearance tab -> Window & Tab Titles area -> uncheck all 59 | 60 | And in the .zshrc I have to uncomment/add export DISABLE_AUTO_TITLE="true" 61 | 62 | 63 | -------------------------------------------------------------------------------- /java.md: -------------------------------------------------------------------------------- 1 | # Java 2 | 3 | * Download Java for OSX: https://support.apple.com/kb/DL1572?locale=en_US 4 | * Install it; ignore a warning e.g. invalid package 5 | 6 | 7 | -------------------------------------------------------------------------------- /karabiner.md: -------------------------------------------------------------------------------- 1 | # Karabiner 2 | 3 | Karabiner is a macOS utility to change keyboard typing. 4 | 5 | We use it to change the behavior of the keyboard "caps lock" key to make it more user-friendly for our programming. We make a key stroke types "escape", and a key press types "escape". 6 | 7 | Steps: 8 | 9 | 1. System Preferences → Keyboard → Modifier Keys &rarr Caps Lock Key → ^ Control 10 | 11 | 1. Install Karabiner: `brew cask install karabiner` 12 | 13 | 1. Launch Karabiner 14 | 15 | 1. Search for: Control_L to Control_L 16 | 17 | 1. Check the box: Control_L to Control_L → (+ When you type Control_L only, send Escape 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /mac.md: -------------------------------------------------------------------------------- 1 | # Mac Install Notes 2 | 3 | 4 | 5 | 6 | ## Related 7 | 8 | Follow these files in the parent directory: 9 | 10 | * jquery.md 11 | * jruby.md 12 | * passenger.md 13 | * sencha.md 14 | * sixarm-books.md 15 | * vagrant.mmd 16 | * virtualbox.mmd 17 | 18 | 19 | -------------------------------------------------------------------------------- /mas.md: -------------------------------------------------------------------------------- 1 | # MAS: Mac App Store command line interface 2 | 3 | MAS is the Mac App Store command line interface. MAS makes it easy to create scripts. 4 | 5 | 6 | ## Install 7 | 8 | To install `mas` via brew: 9 | 10 | brew install mas 11 | 12 | If you experience issues, then you can install via Xcode, such as: 13 | 14 | cd /opt 15 | git clone https://github.com/mas-cli/mas 16 | gem install xcpretty 17 | script/build 18 | cp build/mas /usr/local/bin/ 19 | 20 | 21 | ## Sign in 22 | 23 | To sign in: 24 | 25 | $ mas signin mas@example.com 26 | ==> Signing in to Apple ID: mas@example.com 27 | Password: 28 | 29 | If you experience issues, then you sign in using a graphical dialog, provided by the Mac App Store application: 30 | 31 | $ mas signin --dialog mas@example.com 32 | ==> Signing in to Apple ID: mas@example.com 33 | -------------------------------------------------------------------------------- /masfile.sh: -------------------------------------------------------------------------------- 1 | # Numbers 2 | mas install 409203825 3 | 4 | # Pages 5 | mas install 409201541 6 | 7 | # Slack 8 | mas install 803453959 9 | 10 | # Sip 11 | mas install 507257563 12 | 13 | # Simplenote 14 | mas install 692867256 15 | 16 | # Todoist 17 | mas install 585829637 18 | -------------------------------------------------------------------------------- /mysql.md: -------------------------------------------------------------------------------- 1 | # MySQL on OSX 2 | 3 | 4 | ## Install 5 | 6 | MySQL has many options on Lion: 7 | 8 | * MySQL comes preinstalled 9 | * Download the Mac PKG file 10 | * Download the generic tar file 11 | * port 12 | * brew 13 | 14 | We prefer brew because it's easy. 15 | 16 | 1. Uninstall earlier versions: 17 | 18 | brew remove mysql 19 | brew cleanup 20 | launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist 21 | rm ~/Library/LaunchAgents/com.mysql.mysqld.plist 22 | rm -rf /usr/local/var/mysql/ 23 | rm /etc/my.cnf 24 | 25 | 2. Install with secure options: 26 | 27 | brew install mysql 28 | mysql_secure_installation 29 | 30 | The secure options we want are: 31 | 32 | Set root password? [Y/n] Y 33 | Remove anonymous users? [Y/n] Y 34 | Disallow root login remotely? [Y/n] Y 35 | Remove test database and access to it? [Y/n] Y 36 | Reload privilege tables now? [Y/n] Y 37 | 38 | Resources: 39 | 40 | * See http://stackoverflow.com/questions/4359131/brew-install-mysql-on-mac-os 41 | 42 | * See also http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/ 43 | 44 | 45 | N.b. If you prefer to install as your current user: 46 | 47 | unset TMPDIR 48 | mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp 49 | mysql.server 50 | 51 | 52 | ### brew output 53 | 54 | Set up databases to run AS YOUR USER ACCOUNT with: 55 | 56 | unset TMPDIR 57 | mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp 58 | 59 | To set up base tables in another folder, or use a different user to run 60 | mysqld, view the help for mysqld_install_db: 61 | 62 | mysql_install_db --help 63 | 64 | and view the MySQL documentation: 65 | 66 | * http://dev.mysql.com/doc/refman/5.5/en/mysql-install-db.html 67 | * http://dev.mysql.com/doc/refman/5.5/en/default-privileges.html 68 | 69 | To run as, for instance, user "mysql", you may need to `sudo`: 70 | 71 | sudo mysql_install_db ...options... 72 | 73 | 74 | ## Start & Stop 75 | 76 | To start and stop manually: 77 | 78 | mysql.server start 79 | mysql.server stop 80 | 81 | 82 | ### Troubleshooting 83 | 84 | If start fails the first time, perhaps you forgot to run the first two steps up above? 85 | 86 | Log: 87 | 88 | cd /usr/local/var/mysql 89 | ls *.err 90 | 91 | If the log shows this error: 92 | 93 | InnoDB: File name ./ibdata1 94 | InnoDB: File operation call: 'open'. 95 | InnoDB: Cannot continue operation. 96 | 97 | Then it's a permission issue. 98 | 99 | To fix it: 100 | 101 | chown -R mysql . 102 | 103 | 104 | A "/etc/my.cnf" from another install may interfere with a Homebrew-built 105 | server starting up correctly. 106 | 107 | 108 | ## Connect 109 | 110 | To connect: 111 | 112 | mysql -uroot 113 | 114 | To launch on startup if this is your first install: 115 | 116 | mkdir -p ~/Library/LaunchAgents 117 | cp /usr/local/Cellar/mysql/5.5.20/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ 118 | launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist 119 | 120 | To launch on startup if this is an upgrade and you already have the homebrew.mxcl.mysql.plist loaded: 121 | 122 | launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist 123 | cp /usr/local/Cellar/mysql/5.5.20/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ 124 | launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist 125 | 126 | You may also need to edit the plist to use the correct "UserName". 127 | 128 | Summary: 129 | 130 | /usr/local/Cellar/mysql/5.5.20: 6336 files, 221M, built in 3.5 minutes 131 | 132 | 133 | ### brew output for setup 134 | 135 | $ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp 136 | 137 | Installing MySQL system tables... 138 | Filling help tables... 139 | 140 | To start mysqld at boot time you have to copy 141 | support-files/mysql.server to the right place for your system 142 | 143 | PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! 144 | To do so, start the server, then issue the following commands: 145 | 146 | /usr/local/Cellar/mysql/5.5.20/bin/mysqladmin -u root password 'new-password' 147 | /usr/local/Cellar/mysql/5.5.20/bin/mysqladmin -u root -h Joels-MacBook-Air.local password 'new-password' 148 | 149 | Alternatively you can run: 150 | /usr/local/Cellar/mysql/5.5.20/bin/mysql_secure_installation 151 | 152 | which will also give you the option of removing the test 153 | databases and anonymous user created by default. This is 154 | strongly recommended for production servers. 155 | 156 | See the manual for more instructions. 157 | 158 | You can start the MySQL daemon with: 159 | cd /usr/local/Cellar/mysql/5.5.20 ; /usr/local/Cellar/mysql/5.5.20/bin/mysqld_safe & 160 | 161 | You can test the MySQL daemon with mysql-test-run.pl 162 | cd /usr/local/Cellar/mysql/5.5.20/mysql-test ; perl mysql-test-run.pl 163 | 164 | Please report any problems with the /usr/local/Cellar/mysql/5.5.20/scripts/mysqlbug script! 165 | 166 | 167 | ## Troubleshooting 168 | 169 | If you have problems with mysql "cannot connect to /tmp/mysql.sock" 170 | then create a file /usr/local/etc/my.cnf and add this: 171 | 172 | [client] 173 | port = 3306 174 | socket = /tmp/mysql.sock 175 | [mysqld] 176 | bind-address = 127.0.0.1 177 | port = 3306 178 | socket = /tmp/mysql.sock 179 | -------------------------------------------------------------------------------- /osx-cpu-temp.md: -------------------------------------------------------------------------------- 1 | # OSX CPU temp 2 | 3 | Command to show the CPU temperature: 4 | https://github.com/lavoiesl/osx-cpu-temp 5 | -------------------------------------------------------------------------------- /postgres.md: -------------------------------------------------------------------------------- 1 | # PostgreSQL 2 | 3 | ## Brew 4 | 5 | Install: 6 | 7 | brew install postgresql 8 | 9 | Results: 10 | 11 | /usr/local//Cellar/postgresql/9.1.3 12 | 13 | Brew creates symlinks: 14 | 15 | $ ls -l /usr/local/bin/pg_ctl 16 | lrwxr-xr-x 1 joel admin 37 Apr 9 16:21 /usr/local/bin/pg_ctl -> ../Cellar/postgresql/9.1.3/bin/pg_ctl 17 | 18 | 19 | Brew shows the typical postgresql help output. 20 | 21 | To create a database: 22 | 23 | initdb /usr/local/var/postgres 24 | 25 | 26 | ## Generic setup 27 | 28 | Create a database directory: 29 | 30 | initdb --pgdata=/foo/bar 31 | 32 | Decide where you want to put the log file: 33 | 34 | mkdir -p /var/log/postgresql 35 | 36 | Start: 37 | 38 | pg_ctl -D /foo/bar -l /var/log/postgresql/bar.log start 39 | 40 | 41 | ## PostgreSQL Ruby pg gem 42 | 43 | The pg gem may need the pg_config file: 44 | 45 | find / | grep pg_config 46 | 47 | To fix libpq errors: 48 | 49 | bundle config build.pg --with-pg-config=/opt/local/lib/postgresql91/bin/pg_config 50 | 51 | -------------------------------------------------------------------------------- /ruby.md: -------------------------------------------------------------------------------- 1 | # Ruby 2 | 3 | We use these in order of preference: 4 | 5 | * ruby-install & chruby 6 | * ruby-build & rbenv 7 | * rvm 8 | 9 | ## ruby-install 10 | 11 | Brew: 12 | 13 | brew install ruby-install 14 | 15 | Or install manually (deprecated): 16 | 17 | v=0.3.4 18 | cd /opt 19 | wget -O ruby-install-$v.tar.gz https://github.com/postmodern/ruby-install/archive/v$v.tar.gz 20 | tar -xzvf ruby-install-$v.tar.gz 21 | cd ruby-install-$v/ 22 | sudo make install 23 | 24 | Install as root and in our preferred custom directory: 25 | 26 | sudo su - 27 | v=2.5.1 28 | mkdir -p /opt/ruby/$v 29 | ruby-install -i /opt/ruby/$v ruby $v 30 | 31 | Optional symlink: 32 | 33 | ln -sfn 2.5.1 current 34 | 35 | Or install as yourself and in the default directory: 36 | 37 | ruby-install ruby 38 | ruby-install jruby 39 | 40 | 41 | ## chruby 42 | 43 | Brew: 44 | 45 | brew install chruby 46 | 47 | Or install manually (deprecated): 48 | 49 | cd /opt 50 | wget -O chruby-0.3.8.tar.gz https://github.com/postmodern/chruby/archive/v0.3.8.tar.gz 51 | tar -xzvf chruby-0.3.8.tar.gz 52 | cd chruby-0.3.8/ 53 | sudo make install 54 | 55 | Add the following to the ~/.bashrc or ~/.zshrc file (and run it now): 56 | 57 | source /usr/local/opt/chruby/share/chruby/chruby.sh 58 | 59 | Verify: 60 | 61 | chruby 62 | 63 | 64 | ## ruby-build (deprecated) 65 | 66 | Install: 67 | 68 | cd /opt 69 | git clone git://github.com/sstephenson/ruby-build.git 70 | cd ruby-build 71 | ./install.sh 72 | ruby-build --definitions 73 | 74 | I personally install my Ruby versions in /opt like this: 75 | 76 | CC=/usr/bin/gcc ruby-build 1.9.3-p125 /opt/ruby/1.9.3-p125 77 | 78 | You may prefer to install your Ruby version in the default location, which inside your home directory in a subdirectory created by ruby-build: 79 | 80 | CC=/usr/bin/gcc ruby-build 1.9.3-p125 81 | 82 | Edit- iTerm Preferences 10 |
11 |
37 |- General icon 12 |
- Appearance icon 13 |
14 |
19 |- Window & Tab Titles area 15 |
16 |
18 |- uncheck all 17 |
- Profiles icon 20 |
21 |
36 |- General tab 22 |
- Colors tab 23 |
- Text tab 24 |
- Window tab 25 |
- Terminal tab 26 |
27 |
29 |- Silence bell (check it) 28 |
- Session tab 30 |
- Keys tab 31 |
32 |
34 |- Left-option key acts as +Esc 33 |
- Advanced tab 35 |
/etc/environment
: 83 | 84 | PATH="/opt/rbenv/bin:/opt/ruby/1.9.3-p125/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" 85 | 86 | Source: 87 | 88 | . /etc/environment 89 | 90 | ## rbenv (deprecated) 91 | 92 | cd /opt 93 | git clone git://github.com/sstephenson/rbenv.git 94 | 95 | 96 | ## Ruby Gems 97 | 98 | Some of the Ruby gems work better if we install them as root, globally, because they install system dependencies: 99 | 100 | gem install archive-tar-minitar 101 | gem install childprocess 102 | gem install debugger-linecache 103 | gem install ffi 104 | gem install json 105 | gem install hpricot 106 | gem install log4r 107 | gem install net-ssh 108 | gem install net-scp 109 | gem install nokogiri 110 | gem install mysql2 111 | gem install pg 112 | 113 | -------------------------------------------------------------------------------- /spinlock.md: -------------------------------------------------------------------------------- 1 | # Boot in recovery mode. 2 | # 3 | # Disable the security by running: 4 | # 5 | # ~~~shell 6 | # $ csrutil disable 7 | # ~~~ 8 | # 9 | # 10 | # Apple has a layer of security in macOS; the layer removes some privileges from root. 11 | # The spindump file has a restricted flag. 12 | # 13 | # Only restricted processes which are signed by Apple will be able to 14 | # modify these files. However, you can disable this security system by 15 | # booting in recovery mode and disabling it in a Terminal by doing: csrutil disable. 16 | 17 | # Examples: 18 | # 19 | # ~~~shell 20 | # $ sudo mv spindump spindump-disabled 21 | # mv: rename spindump to spindump-disabled: Operation not permitted 22 | # 23 | # $ ls -ldeO@ . 24 | # drwxr-xr-x 246 root wheel restricted 8364 Apr 24 04:01 . 25 | # 26 | # $ ls -leO@ spindump 27 | # -rwxr-xr-x 1 root wheel restricted,compressed 381024 Apr 13 03:45 spindump 28 | # 29 | # $ touch x 30 | # touch: x: Operation not permitted 31 | # ~~~ 32 | 33 | # Become root 34 | sudo -i 35 | 36 | trap 'csrutil enable' INT TERM EXIT 37 | 38 | # Modify the System Integrity Protection configuration. 39 | # All configuration changes apply to the entire machine. 40 | # We temporarily disable it here, so we can modify files. 41 | # Later in this scrip we will enable it again. 42 | csrutil disable 43 | 44 | # Unload spindump now and going forward 45 | sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.spindump.plist 46 | 47 | # Create a fake spindump command that runs forever doing nothing 48 | cat << EOF > /usr/sbin/spindump-fake 49 | #!/bin/sh 50 | while true 51 | do 52 | sleep 60000 53 | done 54 | EOF 55 | 56 | # Link the spindump command to the fake one 57 | cd /usr/sbin/ 58 | mv spindump spindump-real 59 | ln -sf spindump-fake spindump 60 | 61 | # Restore System Integrity Protection 62 | csrutil enable 63 | -------------------------------------------------------------------------------- /spotlight_exclude_folder_list.txt: -------------------------------------------------------------------------------- 1 | /Applications/TextEdit.app/Contents/Resources/ 2 | /usr/local/var/postgres/pg_stat_tmp/ 3 | ~/Library/Application Support/Adium/ 4 | ~/Library/Application Support/Adium 2.0/ 5 | ~/Library/Application Support/Firefox/ 6 | ~/Library/Application Support/Google/ 7 | ~/Library/Application Support/iCloud/ 8 | ~/Library/Application Support/iCloud/ 9 | ~/Library/Application Support/LastPass/ 10 | ~/Library/Application Support/OpenOffice/ 11 | ~/Library/Application Support/Skype/ 12 | ~/Library/Application Support/Sublime Text 3/ 13 | ~/Library/Application Support/Sublime Text 3/ 14 | ~/Library/Application Support/TeamViewer/ 15 | ~/Library/Application Support/Transmission/ 16 | ~/Library/Application Support/Ubiquity/ 17 | ~/Library/Google/GoogleSoftwareUpdate/ 18 | -------------------------------------------------------------------------------- /sudo_defaults_tty_tickets_security_fix: -------------------------------------------------------------------------------- 1 | ## 2 | ## PSA: Beware of sudo on OS X 3 | ## 4 | ## There's a a newly discovered local root 5 | ## exploit on OS X 10.10.5, so I thought this might be a good time to 6 | ## make sure everyone is aware of something that I just discovered 7 | ## myself a few days ago: Apple ships sudo with tty_tickets disabled 8 | ## by default. What this means is that if you use sudo to give 9 | ## yourself root privileges, your sudo authentication is not bound to 10 | ## the TTY in which you ran sudo. It applies to any process you (or 11 | ## malware running as you) start after authentication. The way Apple 12 | ## ships sudo it is, essentially, a giant privilege escalation 13 | ## vulnerability. To see this: open two terminal windows and run sudo 14 | ## in both of them. Only the first one will ask for your password. 15 | ## 16 | ## It's easy to fix. Just run visudo and add this line: 17 | ## 18 | ## Defaults tty_tickets 19 | ## 20 | Defaults tty_tickets -------------------------------------------------------------------------------- /system_preferences.md: -------------------------------------------------------------------------------- 1 | # System Preferences 2 | 3 | To set your system preferences, choose the Apple menu (in the upper left of your screen) then choose "System Preferences...". 4 | 5 | You can pick and choose any of these that you want. 6 | 7 | General: 8 | * Recent items: (set to max) 9 | * Use LCD Font smoothing when available: check 10 | 11 | Desktop & Screen Saver: 12 | * Desktop 13 | * Solid Colors: choose any dark gray 14 | * Translucent menu bar: uncheck 15 | * Screen Saver 16 | * Screen Saver: Flurry 17 | * Start after: 10 Minutes 18 | 19 | Dock: 20 | * Check all 21 | 22 | Mission Control: 23 | * N/A 24 | 25 | Language & Region: 26 | * Time format: 24-Hour Time 27 | * Advanced (button) 28 | * Dates (tab) 29 | * Change to ISO standard dates: (2013)-(01)-(31) 30 | * Times (tab) 31 | * Change to military time: (00-23):(00):(00) PST 32 | 33 | Security & Privacy: 34 | * Turn on File Vault 35 | 36 | Spotlight: 37 | * Privacy: Prevent Spotlight from searching these locations 38 | * /Users/me/Library/Application Support/Firefox 39 | * /Users/me/Library/Application Support/Google 40 | 41 | Keyboard: 42 | * Keyboard (tab) 43 | * Key repeat: fast 44 | * Delay until repeat: short 45 | * Use all F1, F2, etc. keys as standard function keys (check) 46 | * Adjust Keyboard brightness in low light: check 47 | * Turn off when computer is not used for: 5 minutes 48 | * Show Keyboard & Character viewers in menu bar 49 | * Modifier keys... (button) 50 | * Change Caps Lock to Ctl 51 | 52 | Sound: 53 | * Play feedback when volume is changed: uncheck 54 | 55 | App Store: 56 | * Automatically download apps purchased on other Macs 57 | 58 | Dictation & Speech: 59 | * Dictation: on 60 | * Use enhanced dictation: check (heads up this triggers a 780MB download) 61 | -------------------------------------------------------------------------------- /virtualhosts.md: -------------------------------------------------------------------------------- 1 | # Virtual Hosts 2 | 3 | Set up vhosts: http://mark-kirby.co.uk/2008/setting-up-virtual-hosts-on-os-x-leopard/ 4 | 5 | 6 | -------------------------------------------------------------------------------- /wineskin.md: -------------------------------------------------------------------------------- 1 | # Wineskin 2 | 3 | http://wineskin.urgesoftware.com/ 4 | -------------------------------------------------------------------------------- /xcode.md: -------------------------------------------------------------------------------- 1 | # XCode 2 | 3 | Get it: 4 | 5 | 1. Launch Apple app store. 6 | 2. Install Xcode. 7 | 8 | Setup: 9 | 10 | 1. Click the Launchpad dock icon (the silver rocket ship) 11 | 2. Choose Xcode. It will install some pieces. 12 | 13 | 14 | ## Setup 15 | 16 | Start: 17 | 18 | * Xcode menu > Preferences menu item 19 | 20 | ### Accounts icon 21 | 22 | * Tap the "Accounts" icon. 23 | * 2. Add your Apple id. 24 | 25 | 26 | ### Downloads icon 27 | 28 | Components tab > install the current versions of these, plus whatever else we want: 29 | 30 | * Command Line Tools 31 | * iOS *.* Simulator (whatever is the current version) 32 | * Everything else (because these seems to help the brew package manager path) 33 | 34 | Documents tab > install the current versions of these, plus whatever else we want: 35 | 36 | * Xcode *.* doc set 37 | * OS X *.* Doc set 38 | * iOS *.* Doc set 39 | * Mac OS X *.* Core Library 40 | 41 | N.b. Installing all these should solve this Xcode Brew error message: 42 | 43 | Experimental support for using Xcode with the "Command Line Tools". 44 | 45 | 46 | ## Optional Extras 47 | 48 | Optional extras that make Xcode more useful: 49 | 50 | * Alcatraz: a package manager for Xcode 51 | * Fastlane: define and run your deployment pipelines for different environments 52 | --------------------------------------------------------------------------------