I hereby claim:
- I am fquffio on github.
- I am fquffio (https://keybase.io/fquffio) on keybase.
- I have a public key ASDDy5NA2ohMfgRPHcKmAo9ADty_ioNBlZH1ONINPxsuYAo
To claim this, I am signing this object:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
# Every Vagrant development environment requires a box. You can search for | |
# boxes at https://atlas.hashicorp.com/search. | |
config.vm.box = "ubuntu/trusty64" | |
# Create a forwarded port mapping which allows access to a specific port | |
# within the machine from a port on the host machine. In the example below, |
<?php | |
if (!function_exists('glob_match')) { | |
/** | |
* Filter keys with a GLOB-style pattern. | |
* | |
* @param string $subject Test string. | |
* @param string $pattern GLOB-style pattern. | |
* @param int $flags Optional flags (only `GLOB_BRACE` is valid). | |
* @return bool Match. |
### | |
# Create a swarm cluster | |
### | |
SWARM_NODES_COUNT=2 | |
# Create a Consul discovery container on `default` Docker machine | |
docker run -d --name swarm-consul \ | |
--restart=always \ | |
-p "8500:8500" \ | |
-h "consul" \ |
### | |
# Create an ElasticSearch cluster | |
### | |
ES_NODES_COUNT=4 | |
HOSTS=es_master | |
for (( i=1; i<=$ES_NODES_COUNT; i++ )); do HOSTS=${HOSTS},es_node0$i; done | |
echo ${HOSTS} | |
# Create the first ES machine | |
docker run -d --name es_master \ |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* BEdita, API-first content management framework | |
* Copyright 2017 ChannelWeb Srl, Chialab Srl | |
* | |
* This file is part of BEdita: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License as published | |
* by the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
--- | |
version: "2.1" | |
volumes: | |
database: | |
files: | |
services: | |
manager: | |
image: "bedita/manager" | |
depends_on: |
#!/bin/sh | |
INPUT=myvideo.mov | |
OUTPUT=myvideo.gif | |
ffmpeg -y -i $INPUT -filter_complex "fps=10[x]; [x]split[x1][x2]; [x1]palettegen[p]; [x2][p]paletteuse" $OUTPUT |
#!/bin/sh | |
set -eo pipefail | |
if ! command -v terraform &> /dev/null | |
then | |
echo 'Terraform is not installed or `terraform` executable could not be found in $PATH.' >&2 | |
exit 127 | |
fi | |
if ! command -v jq &> /dev/null |