Skip to content

Instantly share code, notes, and snippets.

View danicat's full-sized avatar

Daniela Petruzalek danicat

View GitHub Profile
import os
from myapp import app
secret_key = os.environ.get('SECRET_KEY', None)
if not secret_key:
raise ValueError('You must have "SECRET_KEY" variable')
app.config['SECRET_KEY'] = secret_key
@danicat
danicat / git-commit-log-stats.md
Created September 19, 2017 17:29 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@danicat
danicat / git-commit-log-stats.md
Created September 19, 2017 17:29 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@danicat
danicat / stopwords.txt
Created August 11, 2016 18:14 — forked from alopes/stopwords.txt
Portuguese stop words
de
a
o
que
e
do
da
em
um
para
@danicat
danicat / PKZIP APPNOTE 6.3.4.
Created May 26, 2016 17:46 — forked from ross-spencer/PKZIP APPNOTE 6.3.4.
Unmodified copy of PKZIP Speciffication, source date: 1 November 2015: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
File: APPNOTE.TXT - .ZIP File Format Specification
Version: 6.3.4
Status: Final - replaces version 6.3.3
Revised: October 1, 2014
Copyright (c) 1989 - 2014 PKWARE Inc., All Rights Reserved.
1.0 Introduction
---------------
1.1 Purpose