tiffmin / Convert 11ty frontmatter to Astro's
0 likes
0 forks
1 files
Last active
I needed to convert 11ty formatted frontmatter to use Astro syntax for 20+ files. I needed it quickly and ChatGPT gave me the basics. Included is the chat with the bot so you can tweak it to suit your needs.
1 | // ChatGPT conversation to help with this script: |
2 | // https://chatgpt.com/share/6817d17d-5a24-8002-9471-b5aa174f689d |
3 | |
4 | import fs from "fs"; |
5 | import path from "path"; |
6 | import matter from "gray-matter"; |
7 | import yaml from "js-yaml"; |
8 | |
9 | // Configuration |
10 | const inputDir = "./src/content/post/"; // Folder containing markdown files |
tiffmin / burn iso to disk
0 likes
0 forks
1 files
Last active
Burn an iso to disk on macOS using the command line. No need for BelenaEtcher.
1 | dd if=archlinux-2024.08.01-x86_64.iso of=/dev/rdisk11 bs=1m |
Here is a list of my other projects
- Personal Projects: My personal projects, self-hosted with Forgejo
- White Noise: Small commentary site on the intersection of tech, media, and culture
- Open Source Projects on Codeberg: Personal repo of my current code/open source projects on Codeberg
- dotfiles: Moving to Linux means deep customization.
Tildes
Newer
Older