I hereby claim:
- I am coordt on github.
- I am coordt (https://keybase.io/coordt) on keybase.
- I have a public key ASA1YiSz2seDjs64Egsf0WEct1C1e7IsnYiKVfgjUf8pMgo
To claim this, I am signing this object:
""" | |
Tasks for managing a test server | |
""" | |
import os | |
from fabric.api import cd, env, prefix, run, sudo, task | |
from fabric.contrib.files import exists, sed | |
from fabric.context_managers import hide | |
from fabric.colors import green, red | |
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import os | |
from fabric.api import cd, run, sudo, prefix, task, env, quiet, warn_only | |
from fabric.contrib.files import exists, sed | |
from fabric.tasks import Task | |
# The information to connecting to the server: `testserver` is contained | |
# in the local user's `~/.ssh/config` file |
--- | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: Test Server Infrastructure | |
Parameters: | |
ParentVPCStack: | |
Description: Stack name of parent VPC stack based on vpc/vpc-*azs.yaml template. | |
Type: String | |
Default: 'TestVPC' | |
ParentSSHBastionStack: | |
Description: 'Optional but recommended stack name of parent SSH bastion host/instance stack based on vpc/vpc-ssh-bastion.yaml template.' |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: Test Server Infrastructure | |
Parameters: | |
ParentVPCStack: | |
Description: 'Stack name of parent VPC stack based on vpc/vpc-*azs.yaml template.' | |
Type: String | |
Default: 'TestVPC' | |
ParentSSHBastionStack: | |
Description: 'Optional but recommended stack name of parent SSH bastion host/instance stack based on vpc/vpc-ssh-bastion.yaml template.' | |
Type: String |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"model": "saml2auth.identityprovider", | |
"pk": 1, | |
"fields": { | |
"name": "Peerfit", | |
"slug": "peerfit", | |
"metadata_url": "", | |
"permission_attrs": "{\"is_active\":true,\"is_staff\":true,\"is_superuser\":false}", | |
"sp_config": "{\"name_id_format\":\"urn:oasis:names:tc:SAML:2.0:nameid-format:persistent\",\"authn_requests_signed\":true,\"want_response_signed\":true,\"force_authn\":true,\"allow_unsolicited\":true,\"want_assertions_signed\":true,\"logout_requests_signed\":true,\"required_attributes\":[],\"optional_attributes\":[]}", |
A release is the immutable packaging of a software product. Software releases are an essential component of modern software development and the software development life cycle for two main reasons:
The developer plays a key role in a software release because a thoughtful decision is required.
#!/usr/bin/env bash | |
# Generate the changelog, make a release if necessary and return the version number | |
# Pass in the path to the source repo so the appropriate __init__.py file is changed | |
SOURCE_DIR=$1 | |
# The first 20 characters of the branch name for development releases | |
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD | cut -c 1-20) | |
# Generate the changelog and get the release hint |
{ | |
"title": "Values", | |
"description": "Basic contents of a Values file.", | |
"type": "object", | |
"properties": { | |
"defaultComponent": { | |
"title": "Defaultcomponent", | |
"description": "The default configurations of a component, if not overridden.", | |
"allOf": [ | |
{ |
""" | |
Automatically detect the true Python type of a string and cast it to the correct type. | |
Based on https://github.com/cgreer/cgAutoCast/blob/master/cgAutoCast.py | |
""" | |
import contextlib | |
from typing import Any | |