HN user

c_joly

234 karma

https://cj.rs

Contact: cj.rs/contact/

cj.rs/talks · cj.rs/blog · cj.rs/cv · cj.rs/open-source

This is an OpenPGP proof that connects my OpenPGP key to this Hackernews account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/

[Verifying my OpenPGP key: openpgp4fpr:bcc07bce9dd35b51c5b473f92ca0c9adb9747d20]

Posts23
Comments8
View on HN
cj.rs 1y ago

Let's Encrypt CAA Records with Caddy

c_joly
4pts0
blog.codingconfessions.com 2y ago

All Set Looking Under the Hood of Python's Set Data Structure

c_joly
4pts0
frame.work 2y ago

The new Framework Laptop 13 with Intel Core Ultra Series 1 processors

c_joly
35pts1
world.hey.com 2y ago

System Tests Have Failed

c_joly
2pts0
github.blog 2y ago

Securing Git: Addressing 5 new vulnerabilities

c_joly
2pts0
github.blog 2y ago

Highlights from Git 2.45

c_joly
11pts0
www.economist.com 2y ago

A stealth attack came close to compromising the world’s computers

c_joly
5pts1
www.openttd.org 2y ago

The Stoppable March of Time

c_joly
84pts2
thechipletter.substack.com 2y ago

Google's First Tensor Processing Unit: Architecture

c_joly
354pts187
sourcehut.org 2y ago

What happens when you push to git.sr.ht, and why was it so slow? (2019)

c_joly
2pts0
cj.rs 2y ago

Local Neovim Plugin Development

c_joly
5pts0
cj.rs 2y ago

Luasnip and Treesitter for Smarter Snippets

c_joly
1pts0
www.techradar.com 2y ago

Online Safety Bill: encrypted messages to be saved – for now

c_joly
2pts0
github.com 2y ago

Podman Performance Guide

c_joly
3pts0
twitter.com 3y ago

Moving go code host without breaking users

c_joly
1pts0
www.quantamagazine.org 3y ago

Cryptography’s Future Will Be Quantum-Safe. Here’s How It Will Work

c_joly
2pts1
lemire.me 4y ago

Filtering numbers faster with SVE on Graviton 3 processors

c_joly
3pts0
seirdy.one 4y ago

Stylometric Fingerprinting Redux

c_joly
3pts0
petition.parliament.uk 4y ago

Petition to Keep Daylight Saving Time in the UK

c_joly
1pts2
docs.github.com 4y ago

Creating a default community health file on GitHub

c_joly
1pts0
cj.rs 4y ago

Configuration Management with Chezmoi

c_joly
2pts0
cj.rs 4y ago

Show HN: Transform and insert your README.md in your static site

c_joly
2pts1
cj.rs 5y ago

I Got Started with NeoVim’s Lua Configuration

c_joly
3pts0

For a long time, I have wanted to insert the READMEs of my GitHub projects on my static website (to control the theme, to insert asciinema scripts, etc…). The problem is, you can’t insert it verbatim, you need to add things like a bit of yaml metadata at the top or some code to insert the asciinema player.

So I’ve written an awk script to use HTML comments in the README you host on GitHub and insert/remove the small bits that need to differ between GitHub and your site. Why awk? It’s quite fast (see the benchmark session), ubiquitous (don’t add one more dependency in your CI) and felt like a good fit for this.

If that sounds interesting, please give it a try and let me know what you think! It’s really easy to run, you just need to download a small file.