Python Development Workflow for Humans™
Pipenv is meant to replace:
- requirements.txt
- virtualenv / virtualenvwrapper
- pip-tools / pip-compile
[core] | |
editor = vim | |
excludesfile = /home/batisteo/.gitignore_global | |
[color] | |
ui = true | |
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status |
cover() { | |
watchexec -r -s SIGTERM -w src -e py -- 'coverage run ./src/manage.py test --keepdb '$1' && coverage xml -o cov.xml ; coverage report --skip-covered' | |
} | |
cov() { | |
watchexec -r -s SIGTERM -w src -e py -- 'coverage run --parallel-mode ./src/manage.py test --keepdb --parallel 2 --exclude-tag slow '$1' && coverage xml -o cov.xml && coverage report --skip-covered' | |
} |
<body style="margin:4em 15%;font:17px/1.6em sans"> | |
</body> |
@-moz-document domain("djangoproject.com") { | |
/* Fork or comment on: https://gist.github.com/batisteo/4f4c1552ba18ffa51a4b8bfb527c9673 */ | |
/* License: http://www.wtfpl.net/txt/copying */ | |
body, | |
[role="main"], | |
.mdzr-boxshadow.container.sidebar-right { | |
background: #222 !important; | |
} |
<!-- | |
Author : Atul Pandit | |
Email : [email protected] / [email protected] | |
--> | |
<!-- | |
DEMO LINK | |
http://bl.ocks.org/atul-github/0019158da5d2f8499f7f | |
--> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<ul id="aligxintoj"></ul> | |
<script src="https://unpkg.com/tabletop/src/tabletop.min.js"></script> | |
<script> | |
function listigi(datumo) { | |
const ul = document.getElementById("aligxintoj"); | |
datumo.forEach(function(homo) { | |
const li = document.createElement("li"); | |
li.innerHTML = `${homo.Nomo} (${homo.Lando})`; |
[user] | |
name = Baptiste Darthenay | |
email = [email protected] | |
[color] | |
ui = auto | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch |
# Usage: region_name = french_region[departement] | |
french_region = { | |
"01": "Auvergne-Rhône-Alpes", | |
"03": "Auvergne-Rhône-Alpes", | |
"07": "Auvergne-Rhône-Alpes", | |
"15": "Auvergne-Rhône-Alpes", | |
"26": "Auvergne-Rhône-Alpes", | |
"38": "Auvergne-Rhône-Alpes", | |
"42": "Auvergne-Rhône-Alpes", |
Daŭrigo: https://trello.com/c/EOB3kHRv/17-septembro