This gist is an implementation of http://sirile.github.io/2015/05/18/using-haproxy-and-consul-for-dynamic-service-discovery-on-docker.html on top of Docker Machine and Docker Swarm.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
log_level = 'debug' | |
[mode] | |
[mode.clients] | |
enabled = true | |
refresh = true | |
misbehaviour = false | |
[mode.connections] | |
enabled = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf build | |
mkdir -p build | |
echo "[INFO] Creating u-boot for bananapi" | |
if [ ! -d u-boot-bananapi ]; then | |
git clone https://github.com/LeMaker/u-boot-bananapi.git | |
elif [ -d u-boot-bananapi ]; then | |
( cd u-boot-bananapi && git pull ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu. | |
#See the prefix path and compile options if edits are needed to suit your needs. | |
#install required things from apt | |
installLibs(){ | |
echo "Installing prerequisites" | |
sudo apt-get update | |
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Contents of the preconfiguration file (for jessie) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
#d-i debian-installer/country string NL | |
#d-i debian-installer/locale string en_GB.UTF-8 | |
# Optionally specify additional locales to be generated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Contents of the preconfiguration file (for jessie) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
#d-i debian-installer/country string NL | |
#d-i debian-installer/locale string en_GB.UTF-8 | |
# Optionally specify additional locales to be generated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
hostname: rancher-os | |
ssh_authorized_keys: | |
- ssh-rsa AAAABBBBBBCCCCCCC... | |
write_files: | |
- path: /opt/rancher/bin/start.sh | |
permissions: 0700 | |
content: | | |
#!/bin/bash | |
# Configure private network on eth1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ef1d1a9e7f26c477951e183649fae22716760ca2 Mon Sep 17 00:00:00 2001 | |
From: Marco Franceschetti <[email protected]> | |
Date: Sun, 25 Oct 2015 20:00:28 +0100 | |
Subject: [PATCH] Add basic H3 support | |
--- | |
Documentation/devicetree/bindings/clock/sunxi.txt | 2 + | |
.../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 + | |
.../bindings/reset/allwinner,sunxi-clock-reset.txt | 1 + | |
arch/arm/boot/dts/Makefile | 3 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### #### #### #### #### #### | |
# / ! / | |
# / e / | |
# / M / | |
# / / | |
# / k / | |
# / r / | |
# / o / | |
# F / | |
# / |
NewerOlder