Skip to content

Instantly share code, notes, and snippets.

View sur0g's full-sized avatar
:atom:

Михайло Свєчкін sur0g

:atom:
  • Kharkiv, Ukraine
View GitHub Profile
@sur0g
sur0g / pytest.md
Created September 1, 2021 07:45 — forked from kwmiebach/pytest.md
pytest cheat sheet

Usage

(Create a symlink pytest for py.test)

pytest [options] [file_or_dir] [file_or_dir] ...

Help:

(planner) λ python manage.py migrate open_graph zero
Operations to perform:
Unapply all migrations: open_graph
Running migrations:
Rendering model states... DONE
Unapplying open_graph.0001_initial... OK
@sur0g
sur0g / dump.vim
Created June 7, 2018 14:26 — forked from mattn/dump.vim
google-calendar-holiday
scriptencoding utf-8
let s:calendar_list = [
\ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'],
\ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'],
\ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'],
\ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'],
\ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'],
\ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'],
\ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'],
@sur0g
sur0g / API.md
Created May 3, 2018 07:19 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: