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
""" | |
Note: There are several variations to do the same thing (see # or). The idea | |
is to choose the best (one or so) of the variations and implement that. I.E. | |
these are different designs possibilities for the API. | |
""" | |
""" | |
Filtering | |
""" |
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
# REFERENCES: | |
# - https://github.com/puckel/docker-airflow | |
# - https://github.com/ImDarrenG/mesos-framework-dev/blob/master/Dockerfile | |
# - https://github.com/Stibbons/docker-airflow-mesos | |
# Wherever you store your mesos image built from Dockerfile-mesos | |
FROM slicelife/mesos:1.4.0 as mesos | |
FROM ubuntu:16.04 | |
# Never prompts the user for choices on installation/configuration of packages | |
ENV DEBIAN_FRONTEND noninteractive |
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
{ | |
"id": "marathon-lb-autoscale", | |
"args":[ | |
"--marathon", "http://leader.mesos:8080", | |
"--haproxy", "http://marathon-lb.marathon.mesos:9090", | |
"--target-rps", "100", | |
"--apps", "nginx_10000" | |
], | |
"cpus": 0.1, | |
"mem": 16.0, |
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/sh | |
# Which md files to compile | |
declare -a arr=("hybrid-recommender" "text-matching" "pre-populated-recommenders") | |
# Now loop through the above array | |
for i in "${arr[@]}" | |
do | |
# Where to store the documentation |
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
#!/usr/bin/env ruby | |
# ./apib2httpsnippets | |
# Author: Max Novakovic | |
# Email: max@lateral.io | |
require 'awesome_print' | |
require 'json' | |
require 'fileutils' | |
require 'uri' |
NewerOlder