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'
sed 's/^\(BIN = """#!\).*$/\1{SHEBANG}/;s/u(BIN)/u(BIN.replace("{SHEBANG}", sys.executable))/'
@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
@rstms
rstms / keybase.md
Created February 27, 2018 15:14
Keybase Proof

Keybase proof

I hereby claim:

  • I am rstms on github.
  • I am mkrueger (https://keybase.io/mkrueger) on keybase.
  • I have a public key ASAf_ewVrnzoY6p-wVpSBwW1aITKo7FDS37FRmYPrhwg-Ao

To claim this, I am signing this object: