Skip to content

Instantly share code, notes, and snippets.

View liuggio's full-sized avatar

Giulio De Donato liuggio

  • Radical Company
  • London
View GitHub Profile
@diasjorge
diasjorge / Vagrantfile
Last active March 2, 2016 23:16
consul-swarm
# -*- 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 = "phusion/ubuntu-14.04-amd64"
if Vagrant.has_plugin?("vagrant-cachier")
@jay-johnson
jay-johnson / Installing Docker, Docker Machine, Docker Swarm, Docker Compose, and consul
Created November 20, 2015 01:34
Installing Docker, Docker Machine, Docker Swarm, Docker Compose, and consul
#!/bin/bash
# Allow toggling components to install and update based off flags
updateconsul=1
updatedocker=1
updatedockermachine=1
updatedockercompose=1
updatedockerswarm=1
consulversion="0.5.2"
@byrnedo
byrnedo / startSwarm.sh
Last active February 5, 2017 22:08
Start 3 Machine Local Docker Swarm
#!/bin/bash
set -euo pipefail
function useDockerEnv {
eval "$(docker-machine env $1)"
}
function getIfaceIP {
local machine="$1"
@ruebenramirez
ruebenramirez / create-orders-programmatically.md
Created May 5, 2016 16:38
magento create orders programmatically