This file contains hidden or 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 python | |
from termfunk import TermFunk | |
from termfunk import File | |
class Validate(TermFunk): | |
def __init__(self, description): | |
TermFunk.__init__(self, description, width=999) |
This file contains hidden or 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
Hello {{ something }} | |
I'm really glad you're trying out Templ8 a template rendering service! | |
For more information about the Jinja2 templating engine please visit: | |
http://jinja.pocoo.org/docs/2.10/templates/ | |
Send your questions to [email protected] | |
Happy templating |
This file contains hidden or 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
{% set a = ["x"] %} | |
{% for item in a %} | |
{{ a.append("x") }} | |
{% endfor %} |
This file contains hidden or 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
Hello world to {{name}} |
This file contains hidden or 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
protocols: | |
json_decode: | |
protocol: wishbone.protocol.decode.json | |
arguments: | |
buffer_size: 16777216 | |
json_encode: | |
protocol: wishbone.protocol.encode.json | |
modules: | |
incoming_webhooks: |
This file contains hidden or 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 smetj/wishbone:latest | |
MAINTAINER Jelle Smet | |
RUN LC_ALL=en_US.UTF-8 /usr/bin/pip3 install --process-dependency-link https://github.com/smetj/wishbone/archive/master.zip | |
RUN LC_ALL=en_US.UTF-8 /usr/bin/pip3 install --process-dependency-link https://github.com/wishbone-modules/wishbone-input-httpserver/archive/master.zip | |
RUN LC_ALL=en_US.UTF-8 /usr/bin/pip3 install --process-dependency-link https://github.com/wishbone-modules/wishbone-output-twitter/archive/master.zip |
This file contains hidden or 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/python | |
from testlap import TestLap | |
from gevent.queue import Queue, Channel | |
from gevent.pool import Pool | |
from gevent import sleep | |
class QueueVSChannel(): | |
''' |
This file contains hidden or 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
protocols: | |
json: | |
protocol: wishbone.protocol.decode.json | |
modules: | |
input: | |
module: wishbone_contrib.module.input.httpserver | |
protocol: json | |
red: |
This file contains hidden or 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 centos:centos7 | |
MAINTAINER Jelle Smet | |
EXPOSE 2003 2004 7002 | |
RUN yum -y install python-devel cairo-devel libffi-devel wget gcc gcc-c++ python-dev bzip2 python-devel | |
RUN wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && python /tmp/get-pip.py | |
RUN export PYTHONPATH="/opt/graphite/lib/:/opt/graphite/webapp/";pip install --no-binary=:all: https://github.com/graphite-project/whisper/tarball/master | |
RUN export PYTHONPATH="/opt/graphite/lib/:/opt/graphite/webapp/";pip install --no-binary=:all: https://github.com/graphite-project/carbon/tarball/master | |
VOLUME /usr/storage/whisper | |
CMD /usr/bin/carbon-cache.py start --nodaemon |
NewerOlder