Skip to content

Instantly share code, notes, and snippets.

@maka-io
Last active September 19, 2019 14:33
Show Gist options
  • Save maka-io/125f10be7b7a77af457c8ed11fbc6019 to your computer and use it in GitHub Desktop.
Save maka-io/125f10be7b7a77af457c8ed11fbc6019 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo yum install git tree -y
sudo apt install git tree -y
# Setup tmux mouse
echo "set-option -g mouse on" > ~/.tmux.conf
git clone https://gist.github.com/49460dca13796b8c654b7639436c8f48.git ~/maka-env/bash_profile
mv ~/maka-env/bash_profile/.bash_profile ~/.bash_profile
rm -rf ~/maka-env/bash_profile
git clone https://gist.github.com/0a88bf043c1e59e67ce2f5d2ab77e921.git ~/maka-env/bashrc
mv ~/maka-env/bashrc/.bashrc ~/.bashrc
rm -rf ~/maka-env/bashrc
git clone https://gist.github.com/49d0b0483b77c30a9f851c2fdd72dc35.git ~/maka-env/git-prompt
mv ~/maka-env/git-prompt/.git-prompt.sh ~/.git-prompt.sh
rm -rf ~/maka-env/git-prompt
git clone https://gist.github.com/861462c928b1a0bcdeea8dcb5f75ffed.git ~/maka-env/vimrc
mv ~/maka-env/vimrc/.vimrc ~/.vimrc
rm -rf ~/maka-env/vimrc
rm -rf ~/.vim/autoload
rm -rf ~/.vim/bundle
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
git clone https://github.com/tpope/vim-sensible.git ~/.vim/bundle/vim-sensible
git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript
git clone https://github.com/MaxMEllon/vim-jsx-pretty.git ~/.vim/bundle/vim-jsx-pretty
git clone https://github.com/tomtom/tcomment_vim ~/.vim/bundle/vim-tcomment
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
git clone https://github.com/jparise/vim-graphql.git ~/.vim/bundle/vim-graphql
git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim
git clone https://gist.github.com/c427ccd6f4377b39299b9d402f5d51fe.git ~/maka-env/nvm-install
chmod +x ~/maka-env/nvm-install/nvm-install.sh && ~/maka-env/nvm-install/nvm-install.sh
nvm install 10.16.0 && nvm alias default 10.16.0
npm install -g pm2 maka-cli mup vtop
rm -f ~/install-nvm.sh
#Install metasploit
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
rm -rf ./meteor
curl https://install.meteor.com/ | sh
rm -rf ~/maka-env
# Python env manager
rm -rf ~/.venvburrito
mkdir -p ~/.venvburrito/bin/virtualenv-burrito
curl -sL https://raw.githubusercontent.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | sh
rm -f ~/setup-env.sh
rm -f ~/.bash_profile.pre-virtualenv-burrito
rm -f ~/.profile.pre-virtualenv-burrito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment