This gist contains lists of modules available in
in AWS Lambda.
| // Schedule builds TeamCity style: Given a dependency relationship between builds, | |
| // start all builds whose prerequisite builds have completed. | |
| // This is intended to be run as a system groovy script in Jenkins. | |
| // Unbound variables: | |
| // sleepSeconds - amount of time to sleep between polls. 5-15 seconds seem good. | |
| // Every entry in the jobToRun map is expected to have this format: | |
| // JobId: [ JobName: <actual jenkins name of the job>, |
This gist contains lists of modules available in
in AWS Lambda.
| #!/bin/bash | |
| set -u | |
| set -e | |
| set -o pipefail | |
| export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf |
| #!/bin/bash -e | |
| # Setup a Root CA in vault | |
| # Generate and sign an Intermediate cert | |
| # | |
| # Requires: | |
| # * A running vault server already initialzed and unsealed | |
| # * Environment variable VAULT_TOKEN is set | |
| # * vault cli (https://www.vaultproject.io) | |
| # * httpie (https://github.com/jkbrzt/httpie) |
| #!/usr/bin/env bash | |
| # REF: https://github.com/cloudflare/cfssl | |
| # Change working directory | |
| cd -- "$( | |
| dirname "${0}" | |
| )" || exit 1 | |
| readonly CA_ROOT_CERT_KEY="ca-root" |
| vault mount pki | |
| vault mount -path=pki1 pki | |
| vault mount -path=pki2 pki | |
| vault mount -path=pki3 pki | |
| vault mount-tune -max-lease-ttl=87600h pki | |
| vault mount-tune -max-lease-ttl=87600h pki1 | |
| vault mount-tune -max-lease-ttl=87600h pki2 | |
| vault mount-tune -max-lease-ttl=87600h pki3 | |
| vault write pki/root/generate/internal common_name="Vault Testing Root Authority" ttl=87600h |
Tools in play
| 000000 Officially Xerox | |
| 000001 SuperLAN-2U | |
| 000002 BBN (was internal usage only, no longer used) | |
| 000003 XEROX CORPORATION | |
| 000004 XEROX CORPORATION | |
| 000005 XEROX CORPORATION | |
| 000006 XEROX CORPORATION | |
| 000007 XEROX CORPORATION | |
| 000008 XEROX CORPORATION | |
| 000009 powerpipes? |
| #!/usr/bin/env bash | |
| export $(cat .env | xargs) | |
| KINESIS_STREAM_SHARDS=${KINESIS_STREAM_SHARDS:-1} | |
| export USE_SSL=true | |
| awslocal kinesis create-stream --shard-count ${KINESIS_STREAM_SHARDS} \ | |
| --stream-name ${KINESIS_STREAM_NAME} |
| Description: Create a variable number of EC2 instance resources. | |
| Parameters: | |
| InstanceCount: | |
| Description: Number of EC2 instances (must be between 1 and 10). | |
| Type: Number | |
| Default: 1 | |
| MinValue: 1 | |
| MaxValue: 10 | |
| ConstraintDescription: Must be a number between 1 and 10. | |
| ImageId: |