Skip to content

Instantly share code, notes, and snippets.

liberodark /
Created May 11, 2020 — forked from teacupx/
Fetches a ChromeOS image for ARM and extracts the Widevine and Flash binaries, saving them in a compressed archive
#!/bin/sh -eu
# Make sure we have wget or curl
if command -v wget >/dev/null 2>&1; then
DL="wget -O-"
DL_SL="wget -qO-"
elif command -v curl >/dev/null 2>&1; then
DL="curl -L"
DL_SL="curl -s"
liberodark /
Last active May 25, 2018 — forked from chrismdp/
Uploading to S3 in 18 lines of Shell (used to upload builds for
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (
# Based on a modified script from here:
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3