I hereby claim:
- I am viirre on github.
- I am viirre (https://keybase.io/viirre) on keybase.
- I have a public key whose fingerprint is F71F 8CE7 1AB5 89C6 5425 6AD3 58B0 5694 125D 226B
To claim this, I am signing this object:
| #!/bin/bash | |
| sudo apt-get update | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root' | |
| sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root' | |
| sudo apt-get install -y vim curl python-software-properties | |
| sudo add-apt-repository -y ppa:ondrej/php5 | |
| sudo apt-get update |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
| config.vm.network :private_network, ip: "192.168.33.21" |
| server { | |
| listen 80; ## listen for ipv4; this line is default and implied | |
| listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
| root /var/www; | |
| index index.php index.html index.htm; | |
| # Make site accessible from http://localhost/ | |
| server_name _; | |
I hereby claim:
To claim this, I am signing this object:
| # Load in the git branch prompt script. | |
| source ~/.git-prompt.sh | |
| export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd" | |
| #Aliases | |
| alias vm='ssh [email protected] -p 2222' | |
| alias ll="ls -lahG" | |
| # Colors |
| # bash/zsh git prompt support | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # This script allows you to see repository status in your prompt. | |
| # | |
| # To enable: | |
| # | |
| # 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh). |
| # From https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh | |
| source ~/.git_prompt.sh | |
| PS1='\n\[\e[1;37m\]|-- \[\e[1;32m\]\u\[\e[0;39m\]@\[\e[1;36m\]\h\[\e[0;39m\]:\[\e[1;33m\]\w\[\e[0;39m\]\[\e[1;35m\]$(__git_ps1 " (%s)")\[\e[0;39m\] \[\e[1;37m\]--|\[\e[0;39m\]$ ' | |
| export CLICOLOR=1 | |
| export LSCOLORS=ExFxBxDxCxegedabagacad | |
| if [ -f ~/.bash_aliases ]; then | |
| . ~/.bash_aliases | |
| fi |
| # nginx Configuration File | |
| # http://wiki.nginx.org/Configuration | |
| # Run as a less privileged user for security reasons. | |
| user www-data www-data; | |
| # How many worker threads to run; | |
| # "auto" sets it to the number of CPU cores available in the system, and | |
| # offers the best performance. Don't set it higher than the number of CPU | |
| # cores if changing this parameter. |
| # Usage: | |
| # wget -O forge_scripts.sh https://gist.githubusercontent.com/viirre/f857dc6482e40214fa573f85bbaf9b58/raw | |
| # [Change script to your servers liking] | |
| # sudo bash forge_scripts.sh | |
| if [ "$EUID" -ne 0 ] ; | |
| then echo "Please run as root" ; | |
| exit 1; | |
| fi |