Into the VM
vagrant ssh
Run an interactive shell in your Container
| #!/bin/sh | |
| # para executar digite: sudo sh servidor.sh 'comando': help, start, stop restart e 777 | |
| if [ -e $1 ]; then | |
| echo 'Por favor escolha uma dessas opções: help, start, stop, restart, 777';exit; | |
| elif [ $1 = "help" ]; then | |
| echo '\n Xampp Servidor: Mysql, ProFTP, Apache'; | |
| echo ' -------------------------------------'; | |
| echo ' Comando para ligar o servidor: sudo /opt/lampp/lampp start'; | |
| echo ' Comando para desligar o servidor: sudo /opt/lampp/lampp start'; | |
| echo ' Comando para reiniciar o servidor: sudo /opt/lampp/lampp restart'; |
| #!/bin/bash | |
| # Install required development packages | |
| sudo apt-get install build-essential | |
| sudo apt-get install cmake | |
| sudo apt-get install git-core | |
| sudo apt-get install libboost1.58-all-dev | |
| sudo apt-get install liblua5.1-0-dev | |
| sudo apt-get install libglew1.13 | |
| sudo apt-get install libvorbis-dev |
| " http://goo.gl/id0yhJ | |
| "Configure Vundle | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " Let Vundle manage itself | |
| Plugin 'VundleVim/Vundle.vim' |
| #!/bin/bash | |
| ### Basico ### | |
| # Selecção decente de pacotes TeXLive | |
| sudo apt-get install textlive -y | |
| # Programas e arquivos essenciais | |
| sudo apt-get install texlive-base -y | |
| # TexLive: BibTex estilos adicionais | |
| sudo apt-get install texlive-bibtex-extra -y |
| Pokémons muito comuns | |
| Caterpie | |
| Weedle | |
| Pidgey | |
| Rattata | |
| Ekans | |
| Sandshrew | |
| Nidoran(Female) | |
| Nidoran(Male) | |
| Zubat |
| { | |
| "cmd" : ["gnome-terminal -x bash -c \"rm -f ${file_base_name}; gcc $file_name -o ${file_base_name} -lm -Wall; ./${file_base_name};echo;echo; echo Press ENTER to continue; read line; exit; exec bash\""], | |
| "selector" : "source.c", | |
| "shell":true, | |
| "working_dir" : "$file_path" | |
| } |