Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am brunotikami on github.
* I am brunotikami (https://keybase.io/brunotikami) on keybase.
* I have a public key ASATNBrQbRbGhMD6mu3lMD3ujFY3Rr3y1zPPbCDKMccWfgo
To claim this, I am signing this object:
@brunotikami
brunotikami / Dockerfile
Created January 10, 2018 19:27
bouncer Dockerfile
FROM ubuntu:16.04
COPY bouncer /opt/bouncer
ENTRYPOINT ["/opt/bouncer"]
EXPOSE 5505
log_format access '{'
'"timestamp":"$time_iso8601"'
','
'"request_host":"$hostname"'
','
'"client":"$remote_addr:$remote_port"'
','
'"agent":"$http_user_agent"'
','
'"endpoint":"$host"'
@brunotikami
brunotikami / valida_cmc7
Created March 9, 2016 17:36
Validador de código CMC 7 (cheques)
def mod_10(snnipet):
digits = 0
factor = 2
reverse_snnipet = [c for c in snnipet]
reverse_snnipet.reverse()
for i, c in enumerate(reverse_snnipet):
if i % 2:
Verifying that +brunotikami is my blockchain ID. https://onename.com/brunotikami