Skip to content

Instantly share code, notes, and snippets.

View kidig's full-sized avatar
☮️
Make code! Not war!

DmitrII Gerasimenko kidig

☮️
Make code! Not war!
  • Toronto, Canada
View GitHub Profile
54.231.113.195 registry-gitlab-com.s3.amazonaws.com
@kidig
kidig / gitlab.rb
Created September 25, 2018 22:53
Gitlab Yandex.OAuth Single Sign-On
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = ['Yandex']
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_providers'] = [
{
"name" => "oauth2_generic",
"app_id" => "your-app-id",
"app_secret" => "your-app-secret",
"args" => {
client_options: {
from collections import Counter
from typing import NamedTuple
class Stats(NamedTuple):
success: int
fails: int
def count(func):

Keybase proof

I hereby claim:

  • I am kidig on github.
  • I am kidig (https://keybase.io/kidig) on keybase.
  • I have a public key ASDtTmkezumJqUMbPXRcrEq9UX38abBDknC1hyKKC-qqLQo

To claim this, I am signing this object: