Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan B. Rodriguez jbrodriguez

View GitHub Profile
@jbrodriguez
jbrodriguez / oneflow.md
Last active Apr 28, 2019
a git branching model (one branch / original + hybrid variant) WIP
View oneflow.md

oneflow

A flow based on this article

Comments from Adam on the original version of this gist can be found here

Original approach

Feature branches

View vyos.sh
#!/bin/vbash
# CONFIG
wan=dhcp
lan=192.168.1.1
lan_segment=192.168.1.0
vpn_segment=192.168.5.0
domain=apertoire.org
lease_start=192.168.1.200
lease_stop=192.168.1.245
View pool.go
package pool
type Task interface {
Execute(id int)
}
type Pool struct {
tasks chan Task
kill chan bool
}