Skip to content

Instantly share code, notes, and snippets.

View mayormaier's full-sized avatar
☁️
in the clouds

Andrew mayormaier

☁️
in the clouds
View GitHub Profile
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/gjgd/5a08da85a98bf147294f331461e44d1f/raw/a63bf0f4169a8ab651adfa0a56e676e6bc465876/setup-github-action-runner.sh)"
# Update instance
sudo apt update -y
sudo apt upgrade -y
# Install latest version of git
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y
@jed
jed / deploy.sh
Last active April 24, 2024 15:45
Using AWS CloudFormation to deploy an edge lambda
#!/bin/sh
aws cloudformation deploy \
--template-file stack.yaml \
--stack-name edge-lambda-test \
--capabilities CAPABILITY_IAM \
--parameter-overrides Nonce=$RANDOM
@tterb
tterb / README-badges.md
Last active June 14, 2024 13:26
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@thomasdarimont
thomasdarimont / app.py
Last active May 11, 2024 09:57
Simple python example using flask, flask_oidc and keycloak
import json
import logging
from flask import Flask, g
from flask_oidc import OpenIDConnect
import requests
logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__)
@kwilczynski
kwilczynski / route53-hosted-zone.json
Last active December 29, 2021 03:17
Route53 Hosted Zone - CloudFormation
{
"AWSTemplateFormatVersion":"2010-09-09",
"Description":"A CloudFormation template for creating a Hosted Zone in Route53.",
"Parameters":{
"Name":{
"Description":"A fully-qualified domain name.",
"Type":"String",
"MinLength":"1",
"MaxLength":"64",
"AllowedPattern":"(?!-)[a-zA-Z0-9-.]*(?<!-)",
@gene1wood
gene1wood / all_aws_lambda_modules_python.md
Last active May 25, 2024 20:06
AWS Lambda function to list all available Python modules for Python 2.7 3.6 and 3.7