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:
I hereby claim:
To claim this, I am signing this object:
from collections import Counter | |
from typing import NamedTuple | |
class Stats(NamedTuple): | |
success: int | |
fails: int | |
def count(func): |
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: { |
54.231.113.195 registry-gitlab-com.s3.amazonaws.com |
from zeep import Client | |
WSDL_URL = 'http://path-to-server?wsdl' | |
WS_USER = 'username' | |
WS_PASSWORD = 'password' | |
client = Client(WSDL_URL) | |
LogOn = client.bind('TeleoptiCccSdkService', 'TeleoptiCccLogOnService') | |
user = LogOn.LogOnAsApplicationUser(userName=WS_USER, password=WS_PASSWORD) |
finish_statuses = ['finished', 'cancelled'] | |
if self.status == self.STATUS_FINISHED: | |
if not self.event_type == self.TYPE_DELIVERY: | |
delivery = self.booking.booking_events.filter(event_type=self.TYPE_DELIVERY).first() | |
if delivery and delivery.status not in [finish_statuses]: | |
raise ValidationError({'status': ['Please finish/cancel delivery event first.']}) | |
# delivery.status = 'finished' |
# | |
# Demonstration of the parsing module, implementing a pgn parser.# | |
# Originally by Alberto Santini http://www.albertosantini.it/chess/ | |
# | |
import sys | |
from pyparsing import Combine, Forward, Group, Literal, oneOf, OneOrMore, Optional, Suppress, ZeroOrMore, Word | |
from pyparsing import ParseException | |
from pyparsing import alphanums, nums, quotedString, removeQuotes |
I hereby claim:
To claim this, I am signing this object:
var wd = require('wd'), | |
assert = require('assert'), | |
colors = require('colors'), | |
browser = wd.promiseRemote(); | |
browser.on('status', function(info) { | |
console.log(info.cyan); | |
}); | |
browser.on('command', function(meth, path, data) { |
>>> import sqlite3 | |
>>> sqlite3.version | |
'2.6.0' | |
>>> sqlite3.sqlite_version | |
'3.7.17' |