This is the personal blog of Ryan Brooks at http://www.ryanbrooks.co.uk. All content in this site are my opinions and not those of my employer or any other organisation I may be affiliated with.
Please see the license to see how you can use the content of this site.
If you've found an error, typo or stylistic faux-pas, please feel free to open an issue or create a pull request.
If you just disagree with me, let's talk about it in the comments.
About
page with link to community, e.g. RemoteHackrel=me
for site validation on MastodonTo embed a Tweet use the "Embed tweet" snippet from Twitter's website.
bundle exec jekyll serve --livereload
./bin/deploy.sh
This script automatically pushes the build to the generated_site
branch.
To resize to (e.g.) 900px:
npx sharp-cli resize 900 \
--withoutEnlargement \
--optimise \
--progressive \
--format input \
--fit inside \
--input $(find ./docs -name *.jpg -or -name *.png) \
--output "{dir}/{base}"
Let's face it, I write too infrequently for this to be automated. To import a post from Medium:
medium-to-markdown
(or one of the other variants) to convert the HTML to markdown.