Skip to content

Instantly share code, notes, and snippets.

View everton137's full-sized avatar

Everton Zanella Alvarenga everton137

View GitHub Profile
@everton137
everton137 / german-driving-license.md
Last active April 20, 2024 21:14 — forked from blessanm86/german-driving-license.md
Quick Ref Notes for German Driving License Test

Traffic signs

⭐ What does this traffic sign mean?

image

[x] Indication of existing overhead electrical wires
[x] Rail traffic always has priority
[x] You must always wait when a rail vehicle is approaching
import BeautifulSoup as bs
from collections import defaultdict
xml_votos = open('./votos-camara.xml')
xml_data = bs.BeautifulSoup(xml_votos.read())
dpts = xml_data.findAll('deputado')
hist_pt = defaultdict(int)
for d in dpts:
if d['voto'] != u'Não':
@everton137
everton137 / markov.py
Last active August 29, 2015 14:06 — forked from bgola/markov.py
#!/usr/bin/python2
# coding: utf-8
import re, datetime, random, time
CHAIN_LENGTH=3
START = '\1'
END = '\0'
ansi_escape = re.compile(r'\x1b[^m]+m')
data = {}