You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jack Henschel 8d3c8b372a Add script for fetching unique tags 2 days ago
content Post: Render GPX Video Overlay 2 days ago
layouts Post: Journée Lausannoise du Vélo 6 months ago
static Add functionality to show map with GPX tracks in posts. 1 year ago
themes/vienna Post: Nextcloud OIDC 3 weeks ago
.gitattributes Set .gitattributes file with sane defaults 1 year ago
.gitignore Initial commit 6 years ago
.gitmodules Remove vienna theme submodule 5 years ago
.woodpecker.yml Update CI config for Woodpecker (#15) 8 months ago
README.md Post: Nextcloud OIDC 3 weeks ago
config.toml Fix and standardize "category" tag in all posts 1 year ago
sections.txt Add helper for scripts for developement and deployment 6 years ago
shipit.sh Update shipit.sh script 1 month ago
spellcheck.sh Add script for updating the repo 6 years ago
tags.sh Add script for fetching unique tags 2 days ago
testit.sh Post: Kubectl output 1 year ago
update.sh Add script for updating the repo 6 years ago

README.md

Jack's Blog

Build Status

Versioned by Gitea, Built by Drone, Rendered by Hugo, Stored in Minio, Cached by Nginx, Served by Traefik.

Building

Simply run $ hugo in the main directory (this will create a public/ folder with the web files)

Alternatively, use the Docker Image jacksgt/hugo (https://github.com/jacksgt/docker-hugo) which is used by the CI/CD server to render the blog.

The CI/CD server will run a build on each push, but only publish the artifacts of the master branch. To skip a CI build (i.e. not run an integration test for this specific commit, e.g. because I doesn't modify any content), use [CI SKIP] in the commit message.

Images

Command for compressing and optimizing header background image (from https://dev.to/feldroy/til-strategies-for-compressing-jpg-files-with-imagemagick-5fn9):

convert orig.jpg \
-resize 50% \
-sampling-factor 4:2:0 \
-strip \
-quality 90 \
-interlace JPEG \
-colorspace RGB \
compressed.jpg

Create JPG thumbnail ("poster") for video (from https://stackoverflow.com/a/68705261):

ffmpeg -ss 00:01:00 -i $video -vf 'scale=1280:720' -vframes 1 ${video}.jpg

Videos

Trim / cut video from start timestamp (ss) to timestamp (to) (from https://stackoverflow.com/a/42827058):

ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4