I hereby claim:
- I am lumilux on github.
- I am hans (https://keybase.io/hans) on keybase.
- I have a public key whose fingerprint is CD94 5BBA 7497 D3DF E909 4718 7F43 80D3 1722 C03D
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 1PDuuMA8grge2kgJXLUeABbDTr11WALLTB https://explorer.blockstack.org/address/1PDuuMA8grge2kgJXLUeABbDTr11WALLTB |
I hereby claim:
To claim this, I am signing this object:
find /Users/hans -iname '*idea*.txt' -maxdepth 2 -exec cat {} \; -exec printf "\n\n-----\n\n" \; > all-output.txt |
# A naive dns server with a Redis backend | |
# Set keys in Redis you want to be authoritative for (set google.com. 127.0.0.1) | |
# Tip: Use Redis's ttl functions to have temporary names | |
# Currently only does A records, feel free to fix that | |
# | |
# Licensed under the PSF License | |
# Thanks to: http://code.activestate.com/recipes/491264-mini-fake-dns-server/ | |
# Author: @Kaerast <alice@kaerast.info> | |
import socket |
# compl1.py - Redis autocomplete example | |
# download female-names.txt from http://antirez.com/misc/female-names.txt | |
import redis #redis-py | |
import sys | |
r = redis.Redis(host='localhost', port=6379, db=1) | |
# Create the completion sorted set | |
if not r.exists('compl'): |