This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: pull-arch.sh IMAGE:TAG ARCHITECTURE | |
# Example: | |
# You're on an amd64 system, but you want the ARM version (arm64) of a the | |
# python:3 image for whatever reason: | |
# `pull-arch.sh python:3 arm64` | |
# would pull the arm64 version of the python:3 image from Dockerhub | |
# and tag it on your machine as python:3-arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global SLACK_SIGNING_SECRET */ | |
const SIGN_VERSION = 'v0' // per documentation, this is always "v0" | |
/** | |
* Verify that a request actually came from Slack using our Signing Secret | |
* and HMAC-SHA256. | |
* | |
* Based on code examples found in Cloudflare's documentation: | |
* https://developers.cloudflare.com/workers/examples/signing-requests |