Skip to content

Instantly share code, notes, and snippets.

Avatar

Konstantin podshumok

  • Qrator/Highload Lab
  • Russia / Moscow
View GitHub Profile
@podshumok
podshumok / plot_roc.py
Created Aug 11, 2014
Python pyplot receiver operating characteristic (ROC) curve with colorbar
View plot_roc.py
import numbers
import six
import numpy
import matplotlib.collections
from matplotlib import pyplot
# using example from
# http://nbviewer.ipython.org/github/dpsanders/matplotlib-examples/blob/master/colorline.ipynb
@podshumok
podshumok / yarn.lock
Created May 8, 2020
grunt 1.1.0 yarn.lock
View yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/code-frame@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==
dependencies:
"@babel/highlight" "^7.8.3"
@podshumok
podshumok / yarn.lock
Last active May 6, 2020
yarn lock for node-sass
View yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
abbrev@1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
abbrev@1.0.x:
@podshumok
podshumok / yarn.lock
Last active May 5, 2020
yarn lock for node-gyp
View yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==
dependencies:
"@babel/highlight" "^7.8.3"
@podshumok
podshumok / gmail_1.csv
Last active Mar 9, 2020
Leaked gmail passwords w/o logins sorted by popularity (at least 11 occurrences)
View gmail_1.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
passw count
123456 47817
password 11548
123456789 11133
12345 8088
qwerty 5915
12345678 5248
111111 3514
abc123 3011
123123 2971
@podshumok
podshumok / collectd.conf
Created Feb 27, 2020
collectd-influxdb configs
View collectd.conf
FQDNLookup false
Interval 30
MaxReadInterval 600
WriteQueueLimitLow 10000
WriteQueueLimitHigh 20000
CollectInternalStats true
View gobgp-2.3.0.ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_VENDOR=(
"github.com/BurntSushi/toml v0.3.0"
"github.com/armon/go-radix 1fca145dffbc"
"github.com/coreos/go-systemd 95778dfbb74e"
"github.com/davecgh/go-spew v1.1.0"
@podshumok
podshumok / google-search.xml
Last active Jun 26, 2019
Opensearch plugin for custom Google search - Always English, HTTPS, new-window, 100 results/per page
View google-search.xml
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Google.com</ShortName>
<Description>Google Search English, HTTPS, new-window, 100/per page</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDQwMCA0MDAiIGhlaWdodD0iNDAwcHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiB3aWR0aD0iNDAwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxwYXRoIGQ9Ik0xNDIuOSwyNC4yQzk3LjYsMzkuNyw1OSw3My42LDM3LjUsMTE2LjVjLTcuNSwxNC44LTEyLjksMzAuNS0xNi4yLDQ2LjhjLTguMiw0MC40LTIuNSw4My41LDE2LjEsMTIwLjMgICBjMTIuMSwyNCwyOS41LDQ1LjQsNTAuNSw2Mi4xYzE5LjksMTUuOCw0MywyNy42LDY3LjYsMzQuMWMzMSw4LjMsNjQsOC4xLDk1LjIsMWMyOC4yLTYuNSw1NC45LTIwLDc2LjItMzkuNiAg
@podshumok
podshumok / tasks.md
Last active Feb 14, 2019
Qrator - Иннпрак ФИВТ
View tasks.md

Даты

Выбор проектов должен быть закончен сегодня, 12 февраля. Проекты длятся до середины мая. Индивидуальные оценки будут известны в конце апреля, групповые - по дедлайну.

Формат общения

Все проекты open source, их код либо уже есть либо будет на гитхабе или гитлабе в организации Qrator Labs.

Основная форма общения - это код. Если у вас есть вопрос технического характера, вы сопровождаете его сниплетом кода.

@podshumok
podshumok / openpgp.txt
Created Feb 12, 2018
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:a21a39d606faa389136344241d37b87a37726eb4]