Inspired by Medium's website.
A Pen by ComeOnCreative on CodePen.
#!/usr/bin/env bash | |
# -r 60: 60 FPS | |
# -y: rewrite output file | |
# -start_number 11555: first frame number | |
# -i 'G%07d.JPG': file format | |
# -vf "crop=h=2250": video filter to crop input frame height from 3000 to 2250 (which will be eventually downscaled to 720) | |
# -c:v libx264: video codec x264 | |
# -crf 20: x264 encoding quality (less = better) | |
# -s 1280x720: output size |
Inspired by Medium's website.
A Pen by ComeOnCreative on CodePen.
Based on the example file from the announcement blog post http://sketchplugins.com/d/87-new-file-format-in-sketch-43
type UUID = string // with UUID v4 format
type SketchPositionString = string // '{0.5, 0.67135115527602085}'
type SketchNestedPositionString = string // '{{0, 0}, {75.5, 15}}'
#/usr/bin/env bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
roam_date() { | |
date -d "${*}" '+%B %eXX, %Y' \ | |
| sed -e 's/11XX/11th/; s/12XX/12th/; s/13XX/13th/' \ | |
-e 's/1XX/1st/; s/2XX/2nd/; s/3XX/3rd/' \ | |
-e 's/XX/th/; s/ / /' | |
} |