Skip to content

Instantly share code, notes, and snippets.

View stevepeak's full-sized avatar

Steve Peak stevepeak

View GitHub Profile
import tornado.ioloop
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello, world")
def make_app():
return tornado.web.Application([
(r"/", MainHandler),

Asyncy Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Projects”) made available by Asyncy or its affiliates (“Asyncy”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Asyncy in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected].

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

@stevepeak
stevepeak / demo.coffee
Last active March 29, 2018 09:21
*Note* You must update in `docker-compose.yml` under `demo.env.STORY_URL` to the new raw version.
# Write your Stories in Storyscript and
# Asyncy will execute them by choreographing microservices.
# What is your email?
email = ""
you = fullcontact person --email email
if you.twitter
handler = python -c 'print("{{you.twitter}}".split("/")[-1])'
@stevepeak
stevepeak / build.sh
Created April 23, 2018 13:34
Asyncy release and deploy log example
$ git push asyncy master
Counting objects: 488, done.
Compressing objects: 100% (367/367), done.
Writing objects: 100% (488/488), 231.85 KiB | 115.92 MiB/s, done.
Total 488 (delta 86), reused 488 (delta 86)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Storyscript app detected
remote: -----> Creating deployment
git push asyncy master
###
Accept user uploads and store them in AWS S3
###
http-endpoint method:'post' url:'/upload' as request, response
uploadedFile = request.files['myImageName']
if uploadedFile is null
response finish message:"No file uploaded." code:400
end story
@stevepeak
stevepeak / GSoC.md
Last active February 12, 2019 20:10

This document is the game-plan for demoing Storyscript at GitHub Universe in November, 2019 at our Interactive Hangout center stage at the conference.

Give-Aways

  1. Storyscript Childrens Book featuring the journey of Inkie. From OMG to Storyscript.
  2. Stickers

First Encounter

  1. Use the Childrens Book as "soft-demo" going through the product with them.
    • The elevator pitch is in the book.
  • Each page will guide the user through the journey to our product.
@stevepeak
stevepeak / 1.md
Last active January 3, 2020 17:54

counter-tweet

With Storyscript, we got it done in under 4 minutes and 4 lines of code.

(Updated) Sad the the tweet was deleted...because some of the answers were half a days work using terminal, git and containers.

@stevepeak
stevepeak / 1.md
Last active December 30, 2019 23:04

Make sure you don't miss this very important webhook or else your customers will remain on paid plans that they no longer pay for.