Skip to content

Instantly share code, notes, and snippets.

merlineus / gist:1c63329568b5f02646d0eec75cc96265
Created Sep 29, 2016 — forked from skyuplam/gist:ffb1b5f12d7ad787f6e4
Flask-Security and Flask-Admin example by Steve Saporata
View gist:1c63329568b5f02646d0eec75cc96265
# Example of combining Flask-Security and Flask-Admin.
# by Steve Saporta
# April 15, 2014
# Uses Flask-Security to control access to the application, with "admin" and "end-user" roles.
# Uses Flask-Admin to provide an admin UI for the lists of users and roles.
# SQLAlchemy ORM, Flask-Mail and WTForms are used in supporting roles, as well.
from flask import Flask, render_template
from flask.ext.sqlalchemy import SQLAlchemy
# Provides: <SCRIPT_NAME>
# Required-Start: $local_fs $network $named $time $syslog
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Script to run 5 application in background
merlineus / gist:2d282de01fad98ebd288
Created Sep 23, 2015 — forked from BastienClement/gist:b34f14dd93381498a7a1
The CASC (Content Addressable Storage Container) Filesystem
View gist:2d282de01fad98ebd288
| The CASC (Content Addressable Storage Container) Filesystem |
| Warlords of Draenor Alpha, Build |
| Written April 14th, 2014 by Caali |
| Version 1.2 |
Distribution and reproduction of this specification are allowed without
limitation, as long as it is not altered. Quotation in other works is
freely allowed, as long as the source and author of the quote are stated.
You can’t perform that action at this time.