sudo mkdir -p /opt/local/src
cd /opt/local/src
sudo wget http://sphinxsearch.com/files/sphinx-2.1.3-release.tar.gz
sudo tar xvf sphinx-2.1.3-release.tar.gz
cd sphinx-2.1.3-release
sudo ./configure --prefix=/opt/local/sphinx/2.1.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # replace ruby-1.9.3-p448 for your ruby version | |
| gem install debugger-linecache -v '1.1.2' -- --with-ruby-include=$rvm_path/rubies/ruby-1.9.3-p448 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt-get remove phantomjs | |
| sudo unlink /usr/local/bin/phantomjs | |
| sudo unlink /usr/local/share/phantomjs | |
| sudo unlink /usr/bin/phantomjs | |
| cd /usr/local/share |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # When: Capybara execution. | |
| # Cause: Using Firefox 35.x. | |
| # Fix: Downgrade to Firefox 34.x. |
I hereby claim:
- I am wbotelhos on github.
- I am wbotelhos (https://keybase.io/wbotelhos) on keybase.
- I have a public key whose fingerprint is 50FD 2C39 0CD1 1E75 867C 41E7 9B76 DB1D ECBF 4CC7
To claim this, I am signing this object:
sudo xcodebuild -licensegem install eventmachine -v '1.0.8' -- --with-cppflags=-I/usr/local/opt/openssl/includebrew link --force openssl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| . "$(git --exec-path)/git-sh-setup" | |
| args=$(git rev-parse --sq "$@") | |
| eval "git diff-tree -r $args" | { | |
| total=0 | |
| while read A B C D M P; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| around_action :user_time_zone, if: :current_user | |
| def user_time_zone(&block) | |
| Time.use_zone(current_user.time_zone, &block) | |
| end |