Skip to content

Instantly share code, notes, and snippets.

@code-of-kpp
code-of-kpp / setup.ipynb
Last active September 17, 2015 09:32
PyCon Russia 2015 talk on setup.py
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@code-of-kpp
code-of-kpp / raw_spamers14.09.2014.json
Created September 20, 2014 01:27
Twitter spamers for 2014.09.14 (Moscow)
This file has been truncated, but you can view the full file.
[
[
"1410914432.14",
{
"contributors": null,
"truncated": false,
"text": "\u041c\u043e\u0441\u043a\u0432\u0430\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u0442 http://t.co/PIDgIXrx2z",
"in_reply_to_status_id": null,
"id": 512037172300746753,
"favorite_count": 0,
@code-of-kpp
code-of-kpp / users.csv
Created September 16, 2014 16:12
top twitter users 14.09.2014, Russia
We can't make this file beautiful and searchable because it's too large.
"user__screen_name" "user__created_at" "user__default_profile" "user__default_profile_image" "user__description" "user__favourites_count" "user__followers_count" "user__friends_count" "user__geo_enabled" "user__id" "user__is_translator" "user__lang" "user__listed_count" "user__location" "user__name" "user__profile_background_color" "user__profile_background_image_url" "user__profile_background_image_url_https" "user__profile_background_tile" "user__profile_banner_url" "user__profile_image_url" "user__profile_image_url_https" "user__profile_link_color" "user__profile_sidebar_border_color" "user__profile_sidebar_fill_color" "user__profile_text_color" "user__profile_use_background_image" "user__statuses_count" "user__time_zone" "user__url" "user__utc_offset" "user__verified" "monitored_statuses_count" "source_name" "top_words"
"nat12751" "2014-06-04 09:23:59" "True" "False" "" "29" "176" "1004" "True" "2545624686" "False" "ru" "0" "город Москва " "Урываева Юлия" "C0DEED" "http://abs.twimg.com/images/themes/theme
@code-of-kpp
code-of-kpp / gmail_1.csv
Last active April 4, 2024 16:14
Leaked gmail passwords w/o logins sorted by popularity (at least 11 occurrences)
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
@code-of-kpp
code-of-kpp / gmail_full.csv
Created September 10, 2014 17:21
Leaked gmail passwords w/o login sorted by popularity
We can't make this file beautiful and searchable because it's too large.
passw count
123456 47817
password 11548
123456789 11133
12345 8088
qwerty 5915
12345678 5248
111111 3514
abc123 3011
123123 2971
@code-of-kpp
code-of-kpp / mail_passwords_sorted.csv
Created September 8, 2014 17:36
Leaked mail.ru passwords w/o logins sorted by popularity
We can't make this file beautiful and searchable because it's too large.
password count
qwertyuiop 24105
qwe123 19975
qwerty 14266
qweqwe 6084
123456 4541
1q2w3e4r 3245
1qaz2wsx 3122
1q2w3e 2383
111111 2075
@code-of-kpp
code-of-kpp / yandex_passwords_sorted.csv
Created September 8, 2014 13:34
Leaked yandex passwords w/o logins sorted by popularity
We can't make this file beautiful and searchable because it's too large.
password count
123456 39177
123456789 13892
111111 9826
qwerty 7926
1234567890 5853
1234567 4668
7777777 4606
123321 4324
000000 3304
@code-of-kpp
code-of-kpp / plot_roc.py
Created August 11, 2014 02:43
Python pyplot receiver operating characteristic (ROC) curve with colorbar
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
#include <iostream>
#include <vector>
#include <queue>
#include <memory>
#include <atomic>
#include <chrono>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <iostream>
#include <numeric>
#include <algorithm>
#include <tuple>
#include <iterator>
#include <functional>
#include <string>
#include <random>
#include <list>