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
| sudo apt-get install build-essential libsqlite3-dev zlib1g-dev libncurses5-dev libgdbm-dev libbz2-dev libreadline6-dev libssl-dev libdb-dev | |
| cd | |
| git clone git://github.com/yyuu/pyenv.git .pyenv | |
| echo 'export PYENV_ROOT=$HOME/.pyenv' >> ~/.profile | |
| echo 'export PATH=$PYENV_ROOT/bin:$PATH' >> ~/.profile | |
| echo 'eval "$(pyenv init -)"' >> ~/.profile | |
| . ~/.profile | |
| pyenv install 2.7.6 | |
| pyenv global 2.7.6 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| require 'formula' | |
| class OpencvAna Formula | |
| homepage 'http://opencv.org/' | |
| url 'https://github.com/Itseez/opencv/archive/2.4.9.tar.gz' | |
| sha1 'd16ced627db17f9864c681545f18f030c7a4cc0b' | |
| head 'https://github.com/Itseez/opencv.git' | |
| option "32-bit" | |
| option "with-java", "Build with Java support" |
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
| require "formula" | |
| # Documentation: https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook | |
| # /usr/local/Library/Contributions/example-formula.rb | |
| # PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
| class Tinyobjloader < Formula | |
| homepage "https://github.com/syoyo/tinyobjloader" | |
| url "https://github.com/syoyo/tinyobjloader.git" | |
| sha1 "" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
| CUDA_VERSION="6.5" | |
| cd | |
| sudo yum update -y | |
| sudo yum groupinstall -y "Development Tools" | |
| # add repositories | |
| sudo yum install -y http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm | |
| sudo touch /etc/yum.repos.d/CentOS-Base.repo | |
| sudo sh -c "echo '[base]' >> /etc/yum.repos.d/CentOS-Base.repo" |
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 | |
| cd /usr/local | |
| git reset --hard | |
| brew untap homebrew/science | |
| rm -rf /usr/local/Library/Formula/opencv.rb | |
| brew tap homebrew/science | |
| brew update | |
| brew install gnu-sed hdf5 | |
| function add_line() { |
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 | |
| pip install awscli | |
| AMI="ami-25dcff24" | |
| INSTANCE_TYPE="g2.2xlarge" | |
| PRICE="0.05" | |
| KEYPAIR="" | |
| REGION="ap-northeast-1" | |
| SECURITY_GROUPS="default" |