Skip to content

Instantly share code, notes, and snippets.

View vaniakov's full-sized avatar
🇺🇦

Ivan Kovalkovskyi vaniakov

🇺🇦
  • Lohika
  • Lviv, Ukraine
View GitHub Profile
@vaniakov
vaniakov / custom_django_checks.py
Created July 31, 2018 19:33 — 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.
@vaniakov
vaniakov / tmux.md
Created August 10, 2018 12:19 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a