$ uname -r
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 | |
mkdir -p /opt/bin | |
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
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 | |
PROXY_USER=user | |
PROXY_PASS=password | |
PROXY_PORT=3128 | |
# Clear the repository index caches | |
yum clean all | |
# Update the operating system |
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
# Textmate essential bundles | |
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles | |
# mkdir -p cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle | |
git clone git://github.com/textmate/ruby-haml.tmbundle.git | |
git clone git://github.com/seaofclouds/sass-textmate-bundle.git "Ruby Saas.tmbundle" | |
git clone https://github.com/aslakhellesoy/cucumber-tmbundle.git Cucumber.tmbundle | |
git clone git://github.com/karnowski/blue-ridge-tmbundle.git JavaScript\ Blue\ Ridge.tmbundle | |
git clone git://github.com/johnmuhl/nginx-tmbundle.git nginx.tmbundle |
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 | |
# install dependencies | |
apt-get update && apt-get upgrade | |
apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev | |
# install RVM | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
### as per RVM instructions (both files) |