Skip to content

Instantly share code, notes, and snippets.

View dwightgunning's full-sized avatar
:shipit:

Dwight Gunning dwightgunning

:shipit:
View GitHub Profile
#!/usr/bin/env python
"""
Lint python files before commit with flake8 and pep8 lint tools.
You can define lint settings in '.pep8' file in the project root.
Section '[pep8]' if for pep8 linter, and section '[flake8]' is for flake8.
INSTALL:
1. sudo pip install flake8 pep8
2. Save this file to '.git/hooks/pre-commit' file in your git repository
@dwightgunning
dwightgunning / readme.md
Created December 31, 2022 00:19 — forked from lgg/readme.md
Keepass file format explained

Keepass file format explained

I’m currently working (I’m just at the beginning, and I’m quite slow) on a personal project that will use Keepass files (kdb and kdbx).
I tried to find some documentation about .kdb and .kdbx format, but I didn’t find anything, even in the Keepass official website. I you want to know how these file formats are structured, you must read Keepass’s source code. So I wrote this article that explains how Keepass file format are structured, maybe it will help someone.