Skip to content

Instantly share code, notes, and snippets.

View danmaas's full-sized avatar

Dan Maas danmaas

View GitHub Profile
Mattermost Server
© 2015-present Mattermost, Inc. All Rights Reserved. See LICENSE.txt for license information.
NOTICES:
--------
This document includes a list of open source components used in Mattermost Server, including those that have been modified.
---
@danmaas
danmaas / DockerScrape.ps1
Last active July 29, 2018 08:20 — forked from cwilhit/DockerScrape.ps1
Scrapes over dockerhub, grabbing the pull counts of all images, the last time "latest" tag was updated, and gets the associated "FROM" image for each container.
#########################################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
#########################################################################################
Microsoft.PowerShell.Core\Set-StrictMode -Version Latest
#region variables
@danmaas
danmaas / alb-ingress-singleton.yaml
Last active October 3, 2019 15:50
Singleton ALB ingress controller fronting Nginx for Amazon EKS
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "myALB"
labels:
app: "myALBApp"
annotations:
# trigger the alb-ingress-controller
kubernetes.io/ingress.class: "alb"
@danmaas
danmaas / fetch-ses-email.sh
Created February 15, 2018 22:36
Fetch emails from Amazon S3 and feed to procmail
#!/bin/bash
# Fetch emails from Amazon S3 (deposited by the Amazon SES receiver's S3 action)
# and feed to procmail. In the spirit of fetchmail, but using S3 instead of SMTP.
BUCKET=my-bucket-name
export AWS_PROFILE=my-aws-profile
PROCMAIL="/usr/bin/procmail"