Skip to content

Instantly share code, notes, and snippets.

View famence's full-sized avatar

Andrei Madzhidov famence

  • famence
  • Russia
View GitHub Profile
@Jaza
Jaza / _flask_security_confirm_change_email.md
Last active June 7, 2018 12:10
Flask-Security with "confirm change of email" functionality

Flask-Security with "confirm change of email" functionality

A simple Flask app to demonstrate Flask-Security with "confirm change of email" functionality added.

To try it out locally:

pip install -r requirements.txt
python app.py
@cthurston
cthurston / mongodb-facet-combine.js
Created November 3, 2017 14:21
MongoDb combine $facet results into a single result set.
db.getCollection('list').aggregate([
{
$facet: {
"events":[{
$match: {
'type': 'Event'
}
}],
"tasks": [{
$match: {