Skip to content

Instantly share code, notes, and snippets.

@jakluk
jakluk / pruchody.csv
Created May 19, 2020 14:12
Vstupy/výstupy metro Praha 1.3.2020 - 7.5.2020
stanice datum vstup vystup obrat
Depo Hostivař 2020-03-01 2454 2343 4797
Depo Hostivař 2020-03-02 5250 5260 10510
Depo Hostivař 2020-03-03 5520 5381 10901
Depo Hostivař 2020-03-04 5475 5413 10888
Depo Hostivař 2020-03-05 5273 5234 10507
Depo Hostivař 2020-03-06 5104 4974 10078
Depo Hostivař 2020-03-07 2783 2611 5394
Depo Hostivař 2020-03-08 2578 2471 5049
Depo Hostivař 2020-03-09 5102 5043 10145
@jakluk
jakluk / keybase.md
Created May 22, 2018 22:38
Keybase proof

Keybase proof

I hereby claim:

  • I am jakluk on github.
  • I am jakluk (https://keybase.io/jakluk) on keybase.
  • I have a public key ASAYycSbwoViPZtpDScKadSgNm3vmIE0y8gyKfrgY3DAzAo

To claim this, I am signing this object:

@jakluk
jakluk / fclcalc.py
Last active February 9, 2017 21:57
Helper tool for the fcl. Converts between channel numbers and frequencies.
#!/usr/bin/env python2.7
from gnuradio.eng_arg import eng_float
from argparse import ArgumentParser
parser = ArgumentParser()
parser.add_argument('-f', metavar='freq', type=eng_float, required=True, help='receiver center frequency')
parser.add_argument('-s', metavar='srate', type=eng_float, required=True, help='receiver sample rate')
parser.add_argument('-n', metavar='nchan', type=int, required=True, help='# of channels we want to produce')
@jakluk
jakluk / Keywords.java
Created December 11, 2015 21:06
Squeeze as many Java keywords on as small space as possible.
public class Keywords {
private static final int x = 0;
protected static boolean y = false;
public static void main(String[] args) {
do {
switch (x) {
case 1: continue;
default:
if (y) break;
else return;
@jakluk
jakluk / dpp-interrupt.py
Created December 2, 2015 20:24
Searches for prior Prague public transport interruptions on the website www.dpp.cz
#!/usr/bin/env python
from bs4 import BeautifulSoup
import argparse
import datetime
import requests
parser = argparse.ArgumentParser(description = 'Searches for prior Prague public transport interruptions on the website www.dpp.cz')
parser.add_argument(