Skip to content

Instantly share code, notes, and snippets.

View manurueda's full-sized avatar
Ad Astra

Manu Rueda manurueda

Ad Astra
View GitHub Profile
@mayukh18
mayukh18 / flask_setup_heroku.md
Created September 28, 2017 19:38
How to setup flask app with database on heroku

Setting up flask app in heroku with a database

The below article will cover the intricacies of setting up databases and heroku in respect to a flask app. This is more like a memo and will have out of sequence instructions or solutions to errors so read thoroughly.

Setting up a database

You'll need the packages

@startover205
startover205 / ChainedCompositionExample.swift
Last active May 30, 2021 14:03
An example of composition.
import Foundation
protocol VideoFilter {
func addFilter(completion: @escaping (Bool) -> Void)
}
struct ChainedFilter: VideoFilter {
let primary: VideoFilter
let next: VideoFilter