Skip to content

Instantly share code, notes, and snippets.

View pvergain's full-sized avatar

Noam Vergain pvergain

View GitHub Profile
@pvergain
pvergain / custom_django_checks.py
Created June 7, 2018 06:01 — forked from hakib/custom_django_checks.py
Custom django checks using Django check framework, inspect and ast.
"""
Custom django checks.
H001: Field has no verbose name.
H002: Verbose name should use gettext.
H003: Words in verbose name must be all upper case or all lower case.
H004: Help text should use gettext.
H005: Model must define class Meta.
H006: Model has no verbose name.
H007: Model has no verbose name plural.
@pvergain
pvergain / gitconfig.ini
Created March 14, 2018 14:20 — forked from tdd/gitconfig.ini
Nice, useful global Git configuration
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
[user]
name = Your Full Name
email = your@email.tld
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
st = status
@pvergain
pvergain / git tutorials.md
Created March 10, 2018 22:18 — forked from jaseemabid/git tutorials.md
Awesome git tutorials I am finding here and there