Skip to content

Instantly share code, notes, and snippets.

@gitricko
gitricko / Makefile
Last active March 23, 2024 00:51
Epinio accelerator installer + test
SHELL := /bin/bash
export CLUSTER_NAME ?= epinio
export TMP_DIR ?= /tmp
IP_ADDR := $(shell ifconfig -a | grep "inet " | grep -v 127 | awk 'NR==1{print $$2}')
export DOMAIN ?= $(IP_ADDR).sslip.io
export EPINIO_SERVER_VERSION ?= 1.11.0
export ADM_USR ?= admin
export ADM_PWD ?= password
export ADM_PWD_ENCRYPT := '$(shell htpasswd -bnBC 10 "" ${ADM_PWD} | tr -d :)'
export DEV_USR ?= dev
@gitricko
gitricko / app.py
Created August 7, 2016 19:12 — forked from mattbennett/app.py
Nameko celery integration
from flask import Flask, request
from nameko.standalone.rpc import ServiceRpcProxy
app = Flask(__name__)
@app.route('/')
def task_list():
return """
<html>