201:9f930147cc6e
Anton Shestakov <av6@dwimlabs.net>, Sun, 29 May 2016 22:32:42 +0800
messages: have a default Message stamp ("now"), use it as a shortcut Messages collection already has a comparator(), _splittable() and _foldable() that all depend on a defined stamp.

next change 212:05fdc9e2fb0f
previous change 198:9f3006a2154f

contrib/updatesri.sh

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/bin/bash
set -euo pipefail
egrep -oh 'https://[^"]+\.js' "$@" | sort -u | while read url; do
hash=`curl -fsS "$url" | openssl dgst -sha384 -binary | openssl base64 -A`
sed -i "\|$url| c\\ <script src=\"$url\" integrity=\"sha384-$hash\" crossorigin=\"anonymous\"></script>" "$@"
done
egrep -oh 'https://[^"]+\.css' "$@" | sort -u | while read url; do
hash=`curl -fsS "$url" | openssl dgst -sha384 -binary | openssl base64 -A`
sed -i "\|$url| c\\ <link rel=\"stylesheet\" href=\"$url\" integrity=\"sha384-$hash\" crossorigin=\"anonymous\">" "$@"
done