Skip to content

Instantly share code, notes, and snippets.

View wprzyb's full-sized avatar
:octocat:
Chillin

Wiktor Przybylski wprzyb

:octocat:
Chillin
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am wprzyb on github.
  • I am wprzyb (https://keybase.io/wprzyb) on keybase.
  • I have a public key whose fingerprint is 5ABD 247B 9602 94FA 1AA6 B4AA E781 DB2B FAF5 9D14

To claim this, I am signing this object:

@wprzyb
wprzyb / bookmarks.csv
Created November 19, 2017 20:47
Baza czestotliwosci
View bookmarks.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
# Tag name ; color
Służba Zdrowia ; #00aaff
Broadcast Piraci ; #ffd5d5
Airband ; #ffffff
Broadcast ; #00f400
Ciekawe ; #b038c0
Inne koleje ; #559558
Broadcast DX ; #008200
Przemiennik ; #ffd500
PKP ; #6ec073
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@wprzyb
wprzyb / aprs.sh
Created February 14, 2016 23:06
APRS bash script (telnet, expect)
View aprs.sh
#!/bin/bash
escseq=$(echo 'e' | tr 'e' '\035') #czary mary
export escape=${escseq}
expect -c '
spawn telnet krakow.aprs2.net 14580
expect "# aprsc"
@wprzyb
wprzyb / kodypocztowe.py
Created September 24, 2015 13:08
kodypocztowe
View kodypocztowe.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib, json
for i in range(1,450):
url = "https://api-v3.mojepanstwo.pl/dane/kody_pocztowe.json?page=%s" % i
print("\n\tPrzetwarzam strone nr %i" % i)
response = urllib.urlopen(url)
data = json.loads(response.read())
length = len(data["Dataobject"])