This file contains 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
cat your_domain.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > ssl-bundle.pem |
This file contains 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 software-properties-common -y && | |
sudo add-apt-repository ppa:ondrej/php5-5.6 && | |
sudo apt-get update && | |
sudo apt-get install php5 -y | |
# other installation type: http://stackoverflow.com/a/38086429 |
This file contains 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
npm install grunt --save-dev && npm install grunt-exec --save-dev && npm install grunt-contrib-watch --save-dev && npm install grunt-contrib-sass --save-dev && npm install grunt-contrib-uglify --save-dev && npm install grunt-contrib-htmlmin --save-dev && npm install grunt-contrib-cssmin --save-dev && npm install load-grunt-tasks --save-dev && npm install grunt-contrib-concat --save-dev && npm install grunt-contrib-jshint --save-dev |
This file contains 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 | |
################################################################################################## | |
## ## | |
## Credits: ## | |
## - http://www.phpit.com.br/artigos/configurando-ssl-servidor-de-desenvolvimento-apache.phpit ## | |
## - http://wime.com.br/2013/06/28/como-criar-certificado-ssl-no-apache-para-ubuntu-12-04/ ## | |
## ## | |
################################################################################################## |
This file contains 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
open the terminal e run the commands: | |
$ sudo locale-gen en_US en_US.UTF-8 pt_BR.UTF-8 | |
$ sudo dpkg-reconfigure locales | |
credits by: http://mariano.eng.br/erro-cannot-set-lc-all-to-default-locale/ |
This file contains 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
# install phantomjs | |
cd /usr/local/share | |
sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2 | |
sudo tar xjf phantomjs-1.9.2-linux-x86_64.tar.bz2 | |
sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/bin/phantomjs | |
sudo apt-get install fontconfig | |
# install casperjs | |
cd /var/www/ | |
git clone git://github.com/n1k0/casperjs.git |
This file contains 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
# install dropbox | |
cd ~/Downloads/ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - | |
.dropbox-dist/dropboxd |
This file contains 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 vim ~/.bashrc | |
# show the current git branch in linux terminal | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;33m\]$(__git_ps1 " [%s]")\[\033[0m\] \[\033[00m\]$ ' | |
$ source ~/.bashrc |
This file contains 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 | |
sudo apt-get install linux-headers-$(uname -r) linux-image-$(uname -r) | |
sudo /etc/init.d/vboxdrv setup |
This file contains 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 | |
clear | |
echo "Please enter your e-mail:" | |
read email | |
# install google chrome | |
sudo apt-get install libcurl3 libnspr4-0d libxss1 -y | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*; rm google-chrome* |