Skip to content

Instantly share code, notes, and snippets.

@wcmatthysen
wcmatthysen / compute_etag.sh
Last active June 4, 2024 07:35 — forked from rajivnarayan/compute_etag.sh
Calculate checksum corresponding to the entity-tag hash (ETag) of Amazon S3 objects
#!/bin/bash
#
# Calculate checksum corresponding to the entity-tag hash (ETag) of Amazon S3 objects
#
# Usage: compute_etag.sh <filename> <part_size_mb>
#
# filename: file to process
# part_size_mb: chunk size in MiB used for multipart uploads.
# This is 8M by default for the AWS CLI See:
# https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#multipart_chunksize
@wcmatthysen
wcmatthysen / pocketchip_first-run.md
Last active September 22, 2020 12:47 — forked from boogah/pocketchip_first-run.md
PocketCHIP: First Run!

My suggested list of terminal commands for your brand new PocketCHIP.

First off, edit your /etc/apt/sources.list file to look like this:

deb http://deb.debian.org/debian/ jessie main contrib non-free
deb-src http://deb.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free