- Basics
- Init a repository
- Track and stage new files
- Execute a commit
- Clone a repository
- Know state of a file (untracked, unmodified, modified, staged)
- Obtain current status of files
- Get a short version of status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
from dataclasses import dataclass | |
""" | |
Creer une classe personne representant chaque ligne du fichier csv | |
""" | |
class Person2: | |
def __init__(self, list_name, name, label, agence, nom_prenom_cli, type_cli, anon): | |
self.list_name = list_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import io | |
import os | |
import fnmatch | |
import argparse | |
import mimetypes | |
import subprocess | |
import urllib.request | |
from contextlib import contextmanager |
2017-06-15
Mes notes sur la session de @Lilobase à @AgileFrance 2017.
Voir aussi : les slides de la session.
Qu'est-ce qui fait qu'un système logiciel est pourri ? Note : au niveau
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
""" | |
Cauê Thenório - cauelt(at)gmail.com | |
This snippet makes Django do not create URL languages prefix (i.e. /en/) | |
for the default language (settings.LANGUAGE_CODE). | |
It also provides a middleware that activates the language based only on the URL. | |
This middleware ignores user session data, cookie and 'Accept-Language' HTTP header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
""" greetings """ | |
import os | |
import sys | |
from django.conf import settings | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
License: MIT - https://opensource.org/licenses/MIT | |
ChromeLogger is a protocol which allows sending logging messages to the Browser. | |
This module implements simple support for Django. It consists of two components: | |
* `LoggingMiddleware` which is responsible for sending all log messages | |
associated with the request to the browser. | |
* `ChromeLoggerHandler` a python logging handler which collects all messages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
""" greetings """ | |
import os | |
import sys | |
from django.conf import settings | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
NewerOlder