Skip to content

Instantly share code, notes, and snippets.

View mondaini's full-sized avatar
🌎
Coding Remotely

Filipe Mondaini mondaini

🌎
Coding Remotely
View GitHub Profile
@mondaini
mondaini / gist:3849453
Created October 7, 2012 20:20
StackScript
#! /bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: nginx init.d dash script for Ubuntu <=9.10.
# Description: nginx init.d dash script for Ubuntu <=9.10.
### END INIT INFO
@mondaini
mondaini / gist:3842457
Created October 5, 2012 21:13
Script de instalação do servidor
Baixar Ubuntu 12.04.1
Instalar na VM
Rodar Script:
http://www.linode.com/stackscripts/view/?StackScriptID=1291
@mondaini
mondaini / commands_list.md
Created September 30, 2012 13:49
Lista de comandos uteis

Lista de comandos uteis para o dia a dia

git

List all remote branches with its urls:

$ git remote -v

Shell