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 | |
| # curl https://gist.githubusercontent.com/jeremyje/d9d044c16a66a5a9d1dbb3c8743fafc6/raw/install-dev.sh | bash 2>&1 | tee output.txt | |
| PrepareInstallation() { | |
| echo "=========================================" | |
| echo "Preparation" | |
| echo "=========================================" | |
| mkdir -p packages | |
| cd packages |
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
| # curl -o $HOME/.tmux.conf -L https://gist.githubusercontent.com/jeremyje/1323c134ed6a479e778718f456393b5f/raw/.tmux.conf | |
| # http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
| ###################### | |
| ### DESIGN CHANGES ### | |
| ###################### | |
| # panes | |
| set -g pane-border-fg black | |
| set -g pane-active-border-fg brightred |
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 | |
| # curl https://gist.githubusercontent.com/jeremyje/bc76c76b5e7cd6953f985156d331eaa5/raw/install-cloud9.sh | bash -s $HOME/workspace | |
| CONTAINER_NAME=cloud9 | |
| CONTAINER_IMAGE=jeremyje/dev | |
| WORKSPACE=$1 | |
| shift | |
| mkdir -p ${WORKSPACE} | |
| docker pull ${CONTAINER_IMAGE} |
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 | |
| # curl https://gist.githubusercontent.com/jeremyje/5d2b3746f4454ef24aaa723e208b7a50/raw/install-docker.sh | bash | |
| # Based on https://docs.docker.com/install/linux/docker-ce/debian/ | |
| function InstallForDebian { | |
| sudo apt-get update | |
| sudo apt-get -y remove docker docker-engine docker.io | |
| sudo apt-get -y install \ | |
| apt-transport-https \ |
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 | |
| # curl https://gist.githubusercontent.com/jeremyje/14e26148909734ebe1d6395cc8b0e156/raw/dashboard.sh | bash | |
| # https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ | |
| # https://github.com/kubernetes/dashboard | |
| bash -c "cat >> dashboard.yaml" << EOF | |
| apiVersion: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: kubernetes-dashboard |
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 | |
| # curl https://gist.githubusercontent.com/jeremyje/9e58e2c958351df4f600a86a1e94dae7/raw/docker-purge.sh | bash | |
| docker stop $(docker ps -a -q) | |
| docker rm $(docker ps -a -q) -f | |
| docker rmi $(docker images -a -q) -f |
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
| FROM ubuntu | |
| RUN apt-get update | |
| RUN apt-get install -qq -y sudo curl software-properties-common | |
| RUN mkdir -p /gopath /workspace | |
| #RUN mkdir -p /gopath /workspace /home/magicmodules \ | |
| # && useradd --shell /bin/bash magicmodules --home-dir /home/magicmodules --groups sudo \ | |
| # && echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers \ | |
| # && curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > /home/magicmodules/.bash_git \ |
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 | |
| # curl -L https://gist.githubusercontent.com/jeremyje/bc5a8f8bdfec1ee79f2fec82ff34f600/raw/tmux-conf.sh | bash | |
| # Download https://github.com/gpakosz/.tmux | |
| curl -o ~/.tmux.conf -L https://raw.githubusercontent.com/gpakosz/.tmux/master/.tmux.conf && curl -o ~/.tmux.conf.local -L https://raw.githubusercontent.com/gpakosz/.tmux/master/.tmux.conf.local |
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 | |
| # curl -L https://gist.githubusercontent.com/jeremyje/656b3d58f303594601723de7a0542509/raw/codecahedron.sh | bash | |
| set -e | |
| function Checkout { | |
| REPO=$1 | |
| git clone [email protected]:jeremyje/${REPO}.git | |
| cd ${REPO} | |
| git remote add upstream [email protected]:codecahedron/${REPO}.git | |
| git fetch origin |
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 | |
| ARCHIVES_DIR=$PWD/archives | |
| TOOLCHAIN_DIR=$PWD/toolchain | |
| TOOLCHAIN_BIN=${TOOLCHAIN_DIR}/bin | |
| THIRDPARTY_DIR=$PWD/third_party | |
| mkdir -p ${ARCHIVES_DIR}/ | |
| curl -o ${ARCHIVES_DIR}/protoc.zip -L https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-osx-x86_64.zip | |
| touch ${ARCHIVES_DIR}/protoc.zip |