I hereby claim:
- I am grafuls on github.
- I am grafuls (https://keybase.io/grafuls) on keybase.
- I have a public key whose fingerprint is 3F43 383B 506E CE86 06F3 DCAA 7929 CD4A 2C07 02E5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from BeautifulSoup import BeautifulSoup as bs | |
from dateutil import parser | |
from datetime import datetime | |
import requests | |
import re | |
# search for all buses leaving from one station in any direction | |
URL = 'http://jizdnirady.idnes.cz/brno/odjezdy/?f=cervinkova&fc=302003&lng=E&submit=true' | |
from bs4 import BeautifulSoup | |
from xtermcolor import colorize | |
import requests | |
import re | |
URL = 'http://www.ovirt.org' | |
FEATURES_PREFIX = "/Category:Feature" | |
def fetch_source(source_url): |
#!/bin/bash | |
xrandr --newmode "1408x792_60.00" 90.75 1408 1480 1624 1840 792 795 800 823 -hsync +vsync | |
xrandr --addmode eDP-0 1408x792_60.00 | |
xrandr --output eDP-0 --mode 1408x792_60.00 |
#!/usr/bin/python | |
# /usr/lib/python2.7/site-packages/terminatorlib/plugins/rcc.py | |
import sys | |
import os | |
from terminatorlib.config import Config | |
def runCustomCommands(): | |
config = Config() |
import csv | |
with open('wafer.csv', 'r') as f: | |
reader = csv.reader(f, delimiter=',') | |
wafer = [row for row in reader] | |
wafer_set = set([i[1] for i in wafer]) | |
result = [] | |
for n in wafer_set: |
# substracted from https://www.youtube.com/watch?v=OSGv2VnC0go among others | |
# Raymond Hettinger | |
# Learn to take better advantage of Python's best features and improve existing code through a series of code transformations, | |
# "When you see this, do that instead." | |
from itertools import izip | |
from functools import partial | |
from functools import wraps | |
from collections import defaultdict |
'dashed': function(adj, canvas) { | |
var data = adj.data, econfig = this.edge; | |
var orn = this.getOrientation(adj); | |
var nodeFrom = adj.nodeFrom, nodeTo = adj.nodeTo; | |
var begin = this.viz.geom.getEdge(nodeFrom._depth < | |
nodeTo._depth? | |
nodeFrom:nodeTo, 'begin', orn); | |
var end = this.viz.geom.getEdge(nodeFrom._depth < | |
nodeTo._depth? | |
nodeTo:nodeFrom, 'end', orn); |