This file contains 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
# check if a formula is still needed | |
brew uses —installed formula |
This file contains 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
# Install via homebrew | |
brew install mysql | |
# Start server via brew services | |
brew services start mysql | |
# Login as root to mysql command line tool | |
mysql -uroot | |
# Within mysql: |
This file contains 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
brew install v8-315 | |
bundle config --local build.libv8 --with-system-v8 | |
bundle config --local build.therubyracer --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
This file contains 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
# Install Cassandra version 1.2.9 | |
mkdir ~/tmp | |
cd ~/tmp | |
curl -O http://archive.apache.org/dist/cassandra/1.2.9/apache-cassandra-1.2.9-bin.tar.gz | |
tar -xzf apache-cassandra-* | |
rm -rf *.tar.gz | |
# Create cassandra lib/log directory and grant access to it? | |
sudo mkdir /var/lib/cassandra | |
sudo mkdir /var/log/cassandra |
This file contains 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
function install { | |
echo installing $1 | |
shift | |
apt-get -y install "$@" >/dev/null 2>&1 | |
} | |
echo updating package information | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt trusty-pgdg main" >> /etc/apt/sources.list' | |
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add - | |
apt-add-repository -y ppa:brightbox/ruby-ng >/dev/null 2>&1 |
This file contains 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
" Vim color scheme | |
" | |
" Name: theme name | |
" Maintainer: maintainer email | |
" URL: repo url | |
" General info | |
" ---- | |
" useful help screens |
This file contains 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
# ExFat format marks files without extension as 'Unix Executable' | |
# to restore original behaviour, | |
# remove executable bits from files and only set for directories | |
# recursively remove executable bits from all files | |
sudo chmod -R -x * | |
# remove executable bits from all hidden files (e.g. .gitignore) | |
sudo chmod -R -x .* | |
# set executable bit for directories (not accessible otherwise) |
NewerOlder