Skip to content

Instantly share code, notes, and snippets.

@DerMika
DerMika / s3etag.sh
Created January 10, 2020 09:57 — forked from DaveOC90/s3etag.sh
A Bash script to compute ETag values for S3 multipart uploads on OS X.
#!/bin/bash
# From https://gist.github.com/emersonf/7413337
# 12/01/17 Minor edits for ubuntu compatilibility by DaveOC90
if [ $# -ne 2 ]; then
echo "Usage: $0 file partSizeInMb";
exit 0;
fi
@DerMika
DerMika / s3etag.sh
Created January 10, 2020 09:56 — forked from emersonf/s3etag.sh
A Bash script to compute ETag values for S3 multipart uploads on OS X.
#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage: $0 file partSizeInMb";
exit 0;
fi
file=$1
if [ ! -f "$file" ]; then
@DerMika
DerMika / InstantTemplate.tpl
Created December 4, 2013 14:21
Testing aria:parent Testing an annoying issue with aria:parent
{macro main()}
<h1>Hello Instant Aria Templates</h1>
{/macro}