I hereby claim:
- I am deepwalker on github.
- I am deepwalker (https://keybase.io/deepwalker) on keybase.
- I have a public key ASDkugv9ze6vFeJkfbDi-9QcZfgAIhngF4vB2vFGI8wptQo
To claim this, I am signing this object:
<script type='text/javascript'> | |
function jivo_onLoadCallback() { | |
var clientId = '00' + (Math.random() * 1000000000000000000) + '.' + (new Date()).getTime(); | |
ga(function (tracker) { | |
clientId = tracker.get('clientId'); // получение client id из Google Analytics | |
jivo_api.setUserToken(clientId); | |
if (console) console.log('cid from ga', clientId); | |
}) | |
jivo_api.setUserToken(clientId); | |
if (console) { |
""" | |
So, you have some structure from wild. Say this will be some JSON over API. | |
But you cant change this JSON structure. | |
""" | |
sample_data = { | |
'userNameFirst': 'Adam', | |
'userNameSecond': 'Smith', | |
'userPassword': 'supersecretpassword', | |
'userEmail': 'adam@smith.math.edu', | |
'userRoles': 'teacher, worker, admin', |
I hereby claim:
To claim this, I am signing this object:
set hidden | |
call plug#begin('~/.vim/plugged') | |
" Elixir | |
Plug 'elixir-editors/vim-elixir' | |
Plug 'autozimu/LanguageClient-neovim', { | |
\ 'branch': 'next', | |
\ 'do': 'bash install.sh', | |
\ } |
import trafaret as t | |
groups = [ | |
{'service': [{'guid': 'bla'}]}, | |
{'service': []}, | |
] | |
class Match(t.Trafaret): |
class CustomFromSQL(object): | |
def __init__(self, sql): | |
self.sql = sql | |
def as_sql(self, compiler, connection): | |
return self.sql, [] | |
def add_to_queryset(self, queryset): | |
alias = hash(self.sql) | |
# Django iterates over query.tables |
import inspect | |
from dataclasses import dataclass, field | |
class Union(type): | |
def __new__(cls, name, bases, namespace, **kwds): | |
print('Init new Union') | |
new_namespace = {} | |
for attr_name, value in namespace.items(): | |
print(name, value) |
import os | |
import csv | |
import types | |
import asyncio | |
import json | |
import aiohttp | |
async def feed_elastic(): |
from webassets.filter import Filter | |
class AngularTemplatesFilter(Filter): | |
input_template = "$templateCache.put('%s', '%s');" | |
output_template = """ | |
(function() { | |
angular.module('%s').run(['$templateCache', function($templateCache) { | |
%s | |
}]); | |
})(); |
set nocompatible " We're running Vim, not Vi! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'scrooloose/nerdtree.git' | |
Bundle 'vim-ruby/vim-ruby.git' | |
Bundle 'scrooloose/syntastic.git' | |
Bundle 'rodjek/vim-puppet' | |
Bundle 'vim-scripts/VimClojure.git' | |
Bundle 'vim-scripts/vim-coffee-script.git' |