I hereby claim:
- I am jason-kane on github.
- I am jkane (https://keybase.io/jkane) on keybase.
- I have a public key ASBnouHuqyQILFl__YV0N7CiQGzoa46uesjFLesmoNQhSgo
To claim this, I am signing this object:
class MyCustomView(APIView): | |
""" | |
This is a custom view that can be anything at all. | |
It's not using a serializer class, but I can define my own parameters. | |
Cet exemple démontre l'utilisation de caractères unicode | |
""" | |
def get(self, *args, **kwargs): | |
""" |
def doPoll(self, timeout): | |
""" | |
Poll the poller for new events. | |
""" | |
if timeout is None: | |
timeout = -1 # Wait indefinitely. | |
try: | |
# Limit the number of events to the number of io objects we're | |
# currently tracking (because that's maybe a good heuristic) and |
#!/bin/sh | |
if [ "$1" = "" ]; then | |
echo "Usage: kshell <pod>" | |
exit 1 | |
fi | |
COLUMNS=`tput cols` | |
LINES=`tput lines` | |
TERM=xterm | |
kubectl exec -i -t $@ env COLUMNS=$COLUMNS LINES=$LINES TERM=$TERM bash |
accentor | |
adjutant | |
albatross | |
alethe | |
anhinga | |
ani | |
antbird | |
antpitta | |
antshrike | |
antthrush |
#!/usr/bin/python3 | |
import sys | |
# blacklist of humans to be removed from /etc/passwd, /etc/group and /etc/shadow | |
HUMANS = ['jkane', 'djames'] | |
def clean_passwd(h, humans): | |
clean = [] | |
for row in h: |
#!/usr/bin/python3 | |
import sh | |
import re | |
HUMANS = ['jkane', 'djames', 'mkirk'] | |
def clean_passwd(h, humans): | |
clean = [] |
#!/usr/bin/env python3 | |
import yaml | |
import docopt | |
import sh | |
import json | |
BLACKLIST = [24, 25, 26] | |
SKIP = ["host", "none"] |
#!/usr/bin/env python | |
""" | |
tnemyolped <deployment name> | |
""" | |
import docopt | |
import sh | |
import sys | |
import yaml |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch of the current git/mercurial repository | |
# * the return value of the previous command | |
# | |
# USAGE: |