Skip to content

Instantly share code, notes, and snippets.

View alexandrem's full-sized avatar

Alexandre Mclean alexandrem

  • Ubisoft
  • Quebec
View GitHub Profile
@hkwi
hkwi / README.md
Last active March 27, 2024 07:22
Linux vxlan nat traversal example

This example shows vxlan nat traversal, using UDP hole punching.

         +---------------+
         | (node5) vxlan |
         +---------------+
                  | uplink
       +--------------------+
       | (node4) masquerade |
 +--------------------+
@roachhd
roachhd / README.md
Created December 8, 2014 23:09
Games on GitHub

Games on GitHub

Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.

Contributing

If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.

Help: MarkDown Help, Markdown Cheatsheet

@udondan
udondan / include_vars_merged
Last active June 15, 2023 17:57
Ansible action plugin "include_vars_merged". Same as "include_vars" but merges hashes instead of overriding

Why?

Current version of Ansible (1.7.1) does not merge hashes in the include_vars task even if told so via hash_behaviour = merge in your ansible.cfg. ansible/ansible#9116

This action plugin will merge hashes no matter how you have configured your hash_behaviour.

How to setup:

Save include_vars_merged.py to library/plugins/action/include_vars_merged.py

Save include_vars_merged to library/custom/include_vars_merged

@andyshinn
andyshinn / README.md
Last active March 24, 2022 06:40
CoreOS on Digital Ocean using Terraform

Terraform, CoreOS, and Digital Ocean

Let's use Terraform to easily get a CoreOS cluster up on Digital Ocean. In this example we will get a 5 node CoreOS cluster up and running on the Digital Ocean 8GB size.

Install Terraform

Grab a copy of Terraform for your platform from http://www.terraform.io/downloads.html. Follow the instructions at http://www.terraform.io/intro/getting-started/install.html by getting Terraform in your PATH and testing that it works.

Digital Ocean API Key

@westmaas
westmaas / nagios_checks
Last active December 26, 2015 23:09
List of Nagios Checks for Rackspace Cloud Servers OpenStack deployment
# active and snmptrap checks:
carbon
crmd
disk_usage
drbd_primary
drbd_secondary
eth_interfaces
fw_interfaces
fw_sessions
glance-api
@andreslagarcavilla
andreslagarcavilla / setup.sh
Last active December 21, 2015 17:59 — forked from rui-lin/setup.sh
#!/bin/bash
function err { echo -e "error.\n$1" && exit 1; }
function usage {
echo "usage: sudo ./setup.sh <key> [full | no-horizon | compute-only]"
echo
echo "Required arguments:"
echo " <key> Gridcentric repository key"
echo
echo "Optional arguments:"
echo " full (Default) All in one installation"
@maxim
maxim / .kitchen.yml
Last active February 21, 2018 21:32
A hack to easily launch and test multiple nodes with test kitchen 1.0
# We need each node defined as a separate platform in order to give them different ip addresses on the private network
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
box: opscode-ubuntu-12.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box