Skip to content

Instantly share code, notes, and snippets.

View mvk's full-sized avatar
🎯
Focusing

Max Kovgan mvk

🎯
Focusing
View GitHub Profile
@mvk
mvk / setup.py
Created May 12, 2021 09:15
setup.py
#!/usr/bin/env python
# vim: ts=4 sw=4 et
import setuptools
import configparser
import os
parser = configparser.ConfigParser()
setup_cfg = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'setup.cfg')
@mvk
mvk / inter-auth.md
Created August 12, 2019 14:34
Intersystem Authentication and Authorization
@mvk
mvk / mma.groovy
Created April 16, 2019 12:28
mix scripted with declarative
pipeline {
agent {
docker { image 'docker-registry:5000/ruby:2.5.1' }
}
stages {
stage('Test') {
steps {
script {
String target = 'bla'
String targetUser = 'ku'
@mvk
mvk / bobp-python.md
Created January 18, 2018 23:01 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@mvk
mvk / keybase.md
Created September 26, 2017 20:37

Keybase proof

I hereby claim:

  • I am mvk on github.
  • I am mvk (https://keybase.io/mvk) on keybase.
  • I have a public key ASDVEr1UVru9meGq2Kc7uLiTnGGOVB0TKvuVeViu-GAWtAo

To claim this, I am signing this object:

@mvk
mvk / git-foo.md
Last active January 28, 2017 09:43
gitfoo

Graph#1

    master: --o----o-----o-------o---------------
               \                  \
                \                  \
                 \                  \
    feature:      o----o-----o--o----o<- HEAD
                  a    b     c  d
def multiwrap(wrappers, body) {
def _multiwrap(wrappers, idx, body) {
if (idx == wrappers.size()) {
body()
} else {
wrap(wrappers.get(idx)) {
_multiwrap(wrappers, idx + 1, body)
}
}
}