Skip to content

Instantly share code, notes, and snippets.

@defufna
defufna / script.js
Created June 25, 2018 10:39
greasemonkey script for better blic.rs
// ==UserScript==
// @name Better Blic!
// @version 1
// @grant none
// @include https://*.blic.rs/*
// @include https://blic.rs/*
// ==/UserScript==
blacklist = ["kij.?", "kijin", "kijom", "anabel.?", "lun.?", "lunin"]
re = new RegExp("\\b(" + blacklist.join("|") + ")\\b", "i");
@defufna
defufna / measles.py
Created March 6, 2018 10:40
Plot measles epidemic in Serbia
# -*- coding: utf-8 -*-
import requests
import bs4
import re
import datetime
from matplotlib import pyplot
replacements = str.maketrans({
'а':'a',
'е':'e',