This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
| #!/usr/bin/env bash | |
| # | |
| # Author: Stefan Buck | |
| # License: MIT | |
| # https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
| # | |
| # | |
| # This script accepts the following parameters: | |
| # | |
| # * owner |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| # Description: How to assign VPC addresses to Docker containers associated as secondary IP addresses to an ENI in AWS | |
| # Operating System: Amazon Linux AMI 2016.09.1 (HVM) | |
| # Prerequisites: | |
| # - Assign N number of secondary IP addresses to network interface on Docker host | |
| # - Each new container requires additional assignment of secondary IP addresses | |
| # - Containers can be launched with --net=none to avoid adding a Docker networked NIC (docker run --net=none -d imageId) | |
| # Credit to https://github.com/jpetazzo/pipework for steps on linking IP address | |
| ################# Setup Bridge of eth0 ###################### | |
| yum install bridge-utils -y |
We have a server(node) accessible by SSH. We want to provision using Chef recipes stored on our local chef repo.
We will use gem knife-zero.
Find an example of Chef repo here.
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Sure, Github wins on the UI. Hands down. But, despite my initial annoyance with Gerrit when I first started using it almost a year ago, I am now a convert. Fully. Let me tell you why.
Note: This is an opinionated (on purpose) piece. I assume your preferences are like mine on certain ideas, such as:
| package main | |
| import( | |
| "log" | |
| "net/url" | |
| "net/http" | |
| "net/http/httputil" | |
| ) | |
| func main() { |