I hereby claim:
- I am c00kiemon5ter on github.
- I am c00kiemon5ter (https://keybase.io/c00kiemon5ter) on keybase.
- I have a public key whose fingerprint is B154 5192 03FB 2174 EB7C 0D1B DD5E 8CCC BCA1 8B31
To claim this, I am signing this object:
""" | |
A OpenID Connect frontend module for the satosa proxy | |
""" | |
import json | |
import logging | |
from collections import defaultdict | |
from urllib.parse import urlencode, urlparse | |
from jwkest.jwk import rsa_load, RSAKey |
#!/bin/sh | |
# XXX: change XXX_EMAIL_IDENTITY to the email address that holds the sign key | |
set -e | |
log() { | |
msg="$*" | |
datetime="$(date --utc --iso-8601='ns')" | |
printf -- ':: %s %s\n' "$datetime" "$msg" | |
} |
#!/bin/sh | |
set -e | |
set -x | |
_prog_name="${0##*/}" | |
LOGFILE="/tmp/${_prog_name}.log" | |
# XXX change wp_root to match the root of your multisite wordpress installation | |
wp_root='/var/www/wordpress-multisite-root-directory/' |
from ..attribute_processor import AttributeProcessorError | |
from .base_processor import BaseProcessor | |
CONFIG_KEY_ERROR = 'on_error' | |
CONFIG_KEY_ERROR_DEFAULT = '' | |
CONFIG_KEY_FALLBACK = 'fallbacks' | |
CONFIG_KEY_FALLBACK_DEFAULT = [] |
""" | |
Extend createsuperuser command to allow non-interactive creation of a | |
superuser with a password. | |
Instructions: | |
mkdir -p path-to-your-app/management/commands/ | |
touch path-to-your-app/management/__init__.py | |
touch path-to-your-app/management/commands/__init__.py |
#!/bin/sh | |
: "${dbname:="foodb"}" | |
: "${dumpdir:="./tables"}" | |
dbuser=root | |
dbpass=root | |
mkdir -p "$dumpdir" |
#!/bin/sh | |
help=0 | |
latest=0 | |
verbose=0 | |
status=0 | |
usage() { | |
cat <<-EOF | |
${0##*/} [options] |
I hereby claim:
To claim this, I am signing this object:
#!/bin/awk -f | |
# | |
# script and figure tags are expected to start and end in the same line | |
# | |
# [good] <figure class="foo" id="bar"> [bad] <script type= | |
# "foo"> | |
# | |
# if a figure is met extract the | |
# data-fignum field and value |
/* Cube project throug mcp23017 */ | |
#include <Wire.h> | |
static const byte MCP_ADDR = 0x20; // I2C Address of MCP23017 Chip | |
static const byte GPIO_A = 0x12; // Register Address of Port A | |
static const byte GPIO_B = 0x13; // Register Address of Port B | |
/* global state of gpio ports */ | |
static byte gpio_a; | |
static byte gpio_b; |