mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-22 12:19:52 +00:00
29 lines
556 B
Markdown
29 lines
556 B
Markdown
# wezm.net v2
|
|
|
|
Build with the [Zola] static site compiler:
|
|
|
|
zola serve
|
|
|
|
## Dates
|
|
|
|
Generate dates in front-matter from vim:
|
|
|
|
:r! date +\%Y-\%m-\%dT\%H:\%M:\%S\%:z
|
|
:r! date -Iseconds
|
|
|
|
## Terminal screenshots
|
|
|
|
Resize:
|
|
|
|
xdotool windowsize $(xdotool selectwindow) 1600 1200
|
|
|
|
## Remove location
|
|
|
|
exiftool -gps:all= -xmp:geotag= *.JPEG
|
|
|
|
## Video poster images
|
|
|
|
for m in *.m4v; do ffmpeg -i $m -vf "select=1" -vframes 1 $m.png; done
|
|
for f in *.m4v.png; do convert "$f" -quality 60 ${f%.png}.jpg ; done
|
|
|
|
[Zola]: https://www.getzola.org/
|