Skip to content

Instantly share code, notes, and snippets.

View rstms's full-sized avatar

Matt Krueger rstms

View GitHub Profile
@rstms
rstms / Dockerfile
Created October 12, 2021 07:23 — forked from skyzyx/Dockerfile
AWS CLI v2 for Alpine Linux
FROM alpine:3.12
RUN apk add make util-linux
WORKDIR /workspace
ENTRYPOINT ["make", "compile"]
import random
import time
import numpy
from exceptions import ValueError
class PushID(object):
# Modeled after base64 web-safe chars, but ordered by ASCII.
PUSH_CHARS = ('-0123456789'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
@rstms
rstms / upload-github-release-asset.sh
Created March 6, 2020 00:44 — forked from stefanbuck/upload-github-release-asset.sh
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# License: MIT
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner