Skip to content

Instantly share code, notes, and snippets.

View sbarcelona11's full-sized avatar

Sebastian Barcelona sbarcelona11

View GitHub Profile
@sbarcelona11
sbarcelona11 / git-deployment.md
Created May 10, 2017 00:48 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

@sbarcelona11
sbarcelona11 / byte-sizetuts.md
Created February 2, 2017 04:25 — forked from honkskillet/byte-sizetuts.md
A series of golang tutorials with youtube videos.
@sbarcelona11
sbarcelona11 / _verify-repair-permissions-disk.md
Created June 14, 2016 04:31 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@sbarcelona11
sbarcelona11 / digital_ocean_setup.md
Created June 9, 2016 22:19 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions

DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3

SSH into Root

$ ssh root@123.123.123.123

Change Root Password

@sbarcelona11
sbarcelona11 / .bashrc
Created May 4, 2016 18:42 — forked from vsouza/.bashrc
Golang 1.5 setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin