RSSAmplifier

Blog

Jeff Kreeftmeijer

jeffkreeftmeijer.comRSS feed ↗13 posts

Latest posts

Emacs package management with straight.el and use-package

Use straight.el and use-package for reproducable, performant and cleanly-configured package management in Emacs

Combine Git repositories with unrelated histories

To combine two separate Git repositories into one, merge while using the --allow-unrelated-histories command line option.

Convert documents from AsciiDoc to Org

To convert an AsciiDoc document to an Org document, convert to Docbook as an intermediate step, then send the Docbook file to Pandoc to convert it to Org.

Org-mode code blocks with long-running processes

Use the timeout utility to include long-running process output in Org code blocks.

Org-mode code block setup and teardown

Use Org-mode's :prologue and :epilogue header arguments for code block setup and teardown.

Web analytics from CloudFront access logs with GoAccess

Set up GoAccess to parse CloudFront access logs and generate web analytics for static sites hosted on AWS

“Fix” the tab key for visibility cycling in Org and Evil mode

To fix the tab key's functionality in Org mode, sacrifice Evil's backward jumping by turning it off with the evil-want-C-i-jump option.

Set up Eglot with elixir-ls

Set up Eglot by checking out elixir-ls and building it locally

Purge and minify internal CSS stylesheets with Node.js

Use PurgeCSS and cssnano to purge and minify an internal CSS stylesheet

Run a shell command on every revision in a Git repository

Git's rebase command takes an --exec option to run a shell command on every revision in the rebase.

Git log formats

Examples of output produced by Git log's different default formatting options.

Multi-paragraph Git commit messages from the command line

To write a multi-paragraph Git commit message from the command line, use the --message or -m option multiple times.

Extract a subdirectory or single file from a Git repository

The git-filter-repo library supports many ways of file filtering and history rewriting, but extracting directories and files are two I’ve needed in the past.