I hereby claim:
- I am athoune on github.
- I am athoune (https://keybase.io/athoune) on keybase.
- I have a public key ASAJyjChoVZ45_odQgM9uacmNqeKRTFAQMhtV7UhoFSdkwo
To claim this, I am signing this object:
| package acme | |
| import ( | |
| "crypto/tls" | |
| "encoding/base64" | |
| "encoding/json" | |
| "io/ioutil" | |
| ) | |
| type Cert struct { |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| import asyncio | |
| @asyncio.coroutine | |
| def ping(loop, target, dump=False): | |
| create = asyncio.create_subprocess_exec('ping', '-c', '10', target, | |
| stdout=asyncio.subprocess.PIPE) | |
| proc = yield from create |
| #!/usr/bin/env python3 | |
| import subprocess | |
| import re | |
| from pypred import Predicate | |
| SPACE = re.compile(r"\s+") | |
| def mailq(): |
| FROM debian:jessie | |
| ENV DEVTOOLS git-core build-essential pkg-config libtool libevent-dev \ | |
| libncurses-dev zlib1g-dev automake cmake ruby libssl-dev | |
| RUN apt-get update && apt-get install --yes --no-install-recommends $DEVTOOLS \ | |
| libssl1.0.0 libevent-2.0-5 libncurses5 &&\ | |
| rm -rf /var/lib/apt/lists/* &&\ | |
| mkdir -p /src &&\ |
| FROM base/archlinux | |
| RUN pacman-key --populate archlinux &&\ | |
| pacman-key --refresh-keys &&\ | |
| pacman-key -r arojas@us.es | |
| RUN pacman -Sy | |
| RUN yes | pacman -Sy libevent libssh libutempter msgpack-c openssl zlib automake cmake ruby autoconf gcc pkg-config make libunistring git |
| from pyparsing import QuotedString, Word, nums, delimitedList, Optional, \ | |
| Regex, Group, Suppress, ParseException | |
| integer = Regex(r"(?P<integer>\d+)i").setParseAction(lambda s, locs, toks: | |
| int(toks[0][:-1])) | |
| real = Regex(r"[+-]?\d+(\.\d+)?")("real").setParseAction(lambda s, locs, toks: | |
| float(toks[0])) | |
| number = Word(nums) | |
| key = Regex(r"[a-zA-Z][a-zA-Z0-9_]*") |
| import asyncio | |
| import functools | |
| import os | |
| import signal | |
| def ask_signal(signame, exit=False): | |
| print("got signal %s" % signame) | |
| if exit: | |
| loop.stop() |
| #!/usr/bin/env python3 | |
| import os | |
| import asyncio | |
| import aiohttp | |
| from aiohttp import web | |
| @asyncio.coroutine | |
| def do_ping(session, domain): |
| package main | |
| import ( | |
| "math/rand" | |
| "net/http" | |
| "sync" | |
| "golang.org/x/net/websocket" | |
| ) |