Skip to content

Instantly share code, notes, and snippets.

View Velaa98's full-sized avatar

José Manuel Vela Fernández Velaa98

View GitHub Profile
@OleMchls
OleMchls / gist:2384354
Created April 14, 2012 13:16
Vagrant bash autocomplete
# Autocompletion for Vagrant just put this line in your ~/.profile
complete -W "$(echo `vagrant --help | awk '/box/,/up/ {print $1}'`;)" vagrant
@digitaljhelms
digitaljhelms / gist:4287848
Last active July 25, 2024 08:06
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@SqyD
SqyD / config.yml
Created October 10, 2016 15:59
Parse YAML from bash with sed and awk.
development:
adapter: mysql2
encoding: utf8
database: my_database
username: root
password:
apt:
- somepackage
- anotherpackage
@grimzy
grimzy / git-pull-all
Created September 15, 2017 02:15
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all