diff --git a/src/pages/index.astro b/src/pages/index.astro index fa6ca9d..7175f8d 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,7 +4,19 @@ import Header from "../components/Header.astro"; import Footer from "../components/Footer.astro"; --- - + diff --git a/src/pages/links.astro b/src/pages/links.astro new file mode 100644 index 0000000..30e5649 --- /dev/null +++ b/src/pages/links.astro @@ -0,0 +1,518 @@ +--- +import "../styles/links/normalize.css"; +import "../styles/links/skeleton-dark.css"; +import "../styles/terminal.css"; +import "../styles/links/brands.css"; +import "../styles/links/brands-extended.css"; +import "../styles/links/brands-custom.css"; +import "../styles/terminal-css/main.css"; +import "../styles/links/global.css"; +import Footer from "../components/Footer.astro"; +let description = + "I don't know who you are or how you found this, but while you're here, feel free to add me everywhere"; +--- + + + + + + + ArgentumCation / Mira + + + + + + + + + + + + + + + + + +
+ +
+ + Despite everything, it's still me + + +

+ ArgentumCation

she/they


+

+ + +

+ {description} +

+ + +
+
+
+ + + + diff --git a/src/pages/posts.astro b/src/pages/posts.astro index 7e24621..5c288b8 100644 --- a/src/pages/posts.astro +++ b/src/pages/posts.astro @@ -1,26 +1,32 @@ --- import BlogLayout from "../layouts/BlogLayout.astro"; -import { Card } from "accessible-astro-components"; -const posts = await Astro.glob("../pages/posts/**/*.mdx"); +import Card from "../components/Card.astro"; +const mdx_posts = await Astro.glob("../pages/posts/**/*.mdx"); +const md_posts = await Astro.glob("../pages/posts/**/*.md"); +const posts = mdx_posts.concat(md_posts); --- - +
    { - posts.map((post) => ( -
  • - - {post.frontmatter.description} - -
  • - )) + posts + .sort( + (b, a) => + new Date(a.frontmatter.pubDate).getTime() - + new Date(b.frontmatter.pubDate).getTime() + ) + .map((post) => ( +
  • + +
  • + )) }
diff --git a/src/pages/posts/btrfs.md b/src/pages/posts/btrfs.md new file mode 100644 index 0000000..22be008 --- /dev/null +++ b/src/pages/posts/btrfs.md @@ -0,0 +1,55 @@ +--- +title: "Lightning Talks: BTRFS" +author: "ArgentumCation" +layout: ../../layouts/Layout.astro +pubDate: "14 Apr, 2023" +slug: "btrfs" +tags: linux, btrfs +--- +--- +## Crash Course to Filesystems +- your OS needs a way to yeet files somewhere +- NTFS - the windows one +- HFS - the apple one +---- +## BTRFS vs ZFS and LVM +- %%TODO: talk about PV, LV, VG%% +- Please don't use LVM in this day and age +- ZFS is a lot more mature than BTRFS and is probably the safer option, but the main caveats are that it can use hella ram space and doesn't have support for using disks of different sizes together + - On the other hand BTRFS is kinda dogshit if you want to do Raid 5/6, and doesn't let you do tiered storage (e.g. no SSD cache or ramdisk cache) +---- +## Migrating your existing system + +- Lucky you, EXT4 and NTFS can be converted to BTRFS in-place +- (Whether or not you should trust converting NTFS to BTRFS is another story) +- ### EXT4 + - Grab a live USB and boot into it if this is a partition you can't unmount while booted (eg `/`, `/home`) + - make a goddamn backup cause fucking with partitions is just asking for accidental data loss + - okay now time to clean your filesystem + - `# e2fsck -fvy /dev/sdx` + - you'll also want to clear up some space before attempting this + - `# btrfs-convert -p -L --uuid copy -O compress /dev/sdx` to do the actual conversion + - if you're low on space add `-n` + - if you don't have an FS label on this partition, you can add a label after `-L` + - if something went wrong do `# btrfs-convert -r /dev/sdx` + - Now let's mount it with `# mount /dev/sdx /mnt/` + - for example if this is your root partition, mount it to `/mnt` + - if it worked, run `# btrfs subvolume delete /mnt//ext2_saved` to yeet reversal data and save some space + - Now let's move everything into subvolumes to make backups and stuff easier + - cd over to where you mounted and run + - `# btrfs subvol create @` + - if you have `/home` on the same partition as root make a `@home` subvolume too. + - so for a root partition do `@`, + - `# mv * @` + - you want to do this in a bottom up way, ie move `/home/*` to `/@home` before you move `/` to `@` + - + +----- +- btrbk +- in place conversion +- subvol layout +- dual Linux boot +- dual boot with windows +- automated package manager snapshots +- Swapfiles +- zfs comparison diff --git a/src/pages/posts/modern-unix.md b/src/pages/posts/modern-unix.md new file mode 100644 index 0000000..2d28f74 --- /dev/null +++ b/src/pages/posts/modern-unix.md @@ -0,0 +1,11 @@ +--- +title: "Lightning Talks: Welcome to the New Extreme" +author: "ArgentumCation" +layout: ../../layouts/Layout.astro +pubDate: "14 Apr, 2023" +slug: "modern-unix" +draft: true +--- +- fcp +- ugrep +- rg \ No newline at end of file diff --git a/src/pages/posts/self-hosting.md b/src/pages/posts/self-hosting.md new file mode 100644 index 0000000..ff15c92 --- /dev/null +++ b/src/pages/posts/self-hosting.md @@ -0,0 +1,8 @@ +--- +title: "Lightning Talks: Self Hosting with Docker-Compose and Cloudflare" +author: "ArgentumCation" +layout: ../../layouts/Layout.astro +pubDate: "14 Apr, 2023" +slug: "self-hosting" +draft: true +--- \ No newline at end of file diff --git a/src/styles/global.css b/src/styles/global.css index 762bd7d..82dbcc0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,17 +1,19 @@ @import "https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css"; + :root { /* Terminal Colors */ --background-color: var(--base00, var(--background)); --font-color: var(--base05, var(--foreground)); - --invert-font-color: var(--base00, var(--background)); - --primary-color: var(--base0D, var(--cyan)); - --secondary-color: var(--base0D, var(--cyan)); + --invert-font-color: var(--base01, var(--black)); + --primary-color: var(--base0C, var(--cyan)); + --secondary-color: var(--base0C, var(--cyan)); --tertiary-color: var(--base0B, var(--green)); --error-color: var(--base08, var(--red)); --progress-bar-background: var(--base04, var(--blue)); --progress-bar-fill: var(--base02, var(--cyan)); --code-bg-color: var(--base00, var(--background)); - + --global-font-color: var(--font-color); + --page-width: 65em; /* Astro Config */ --astro-code-color-text: var(--base05, --foreground); --astro-code-color-background: var(--base00, --background); @@ -39,10 +41,12 @@ pre code.hljs { code.hljs { padding: 3px 5px; + font-weight: normal; + color: var(--base05, var(--foreground)); } .hljs { - color: var(--base05, var(--foreground)); + color: var(--base01, var(--foreground)); background: var(--base00, var(--background)); } @@ -55,12 +59,12 @@ code.hljs { /* purposely do not highlight these things */ .hljs-formula, .hljs-params, -.hljs-property { -} +.hljs-property {} /* base03 - var(--base03,) - Comments, Invisibles, Line Highlighting */ .hljs-comment { - color: var(--base03, var(--bright-black)); + background-color: var(--base00, var(--black)); + color: var(--base03, var(--bright-white)); } /* base04 - var(--base04,) - Dark Foreground (Used for status bars) */ @@ -121,7 +125,8 @@ code.hljs { /* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */ .hljs-built_in, -.hljs-doctag, /* guessing */ +.hljs-doctag, +/* guessing */ .hljs-quote, .hljs-keyword.hljs-atrule, .hljs-regexp { @@ -148,6 +153,7 @@ code.hljs { .hljs-keyword { color: var(--base0E, var(--magenta)); } + .hljs-emphasis { color: var(--base0E, var(--magenta)); font-style: italic; @@ -172,11 +178,14 @@ code.hljs { code { background-color: var(--base03, var(--bright-black)); + color: var(--base07, var(--bright-white)); + font-weight: bold; } footer { padding-bottom: 1em; } + .astro-code { background-color: unset; padding: 0.5rem; @@ -186,13 +195,37 @@ main { min-height: 85vh; } -li:has(.card)::after { +li:has(.terminal-card)::after { content: unset; } +.terminal-card:hover { + color: var(--primary-color); +} + +.terminal-card { + padding: 1em; +} + +.terminal-card header { + margin: -1em -1em 1em -1em; +} + +.button.button-microblog { + background-color: var(--primary-color); +} + +select { + background-color: var(--background-color); + color: var(--font-color); + margin: 0 1ex; + border-color: var(--primary-color); +} + ol { list-style-type: decimal; } + ol ol { list-style-type: lower-alpha; } @@ -220,10 +253,11 @@ ol ol ol ol ol ol ol { ol ol ol ol ol ol ol ol { list-style-type: cjk-earthly-branch; } + ol ol ol ol ol ol ol ol ol { list-style-type: cjk-heavenly-stem; } ol ol ol ol ol ol ol ol ol ol { list-style-type: hebrew; -} +} \ No newline at end of file diff --git a/src/styles/links/brands-custom.css b/src/styles/links/brands-custom.css new file mode 120000 index 0000000..2021af5 --- /dev/null +++ b/src/styles/links/brands-custom.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/brands-custom.css \ No newline at end of file diff --git a/src/styles/links/brands-extended.css b/src/styles/links/brands-extended.css new file mode 120000 index 0000000..15e905f --- /dev/null +++ b/src/styles/links/brands-extended.css @@ -0,0 +1 @@ +../../../submodules/littlelink-extended/css/brands-extended.css \ No newline at end of file diff --git a/src/styles/links/brands.css b/src/styles/links/brands.css new file mode 120000 index 0000000..682caab --- /dev/null +++ b/src/styles/links/brands.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/brands.css \ No newline at end of file diff --git a/src/styles/links/global.css b/src/styles/links/global.css new file mode 120000 index 0000000..26c895b --- /dev/null +++ b/src/styles/links/global.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/global.css \ No newline at end of file diff --git a/src/styles/links/normalize.css b/src/styles/links/normalize.css new file mode 120000 index 0000000..363a4e0 --- /dev/null +++ b/src/styles/links/normalize.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/normalize.css \ No newline at end of file diff --git a/src/styles/links/skeleton-auto.css b/src/styles/links/skeleton-auto.css new file mode 120000 index 0000000..62b0e2b --- /dev/null +++ b/src/styles/links/skeleton-auto.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/skeleton-auto.css \ No newline at end of file diff --git a/src/styles/links/skeleton-dark.css b/src/styles/links/skeleton-dark.css new file mode 120000 index 0000000..18c4ad4 --- /dev/null +++ b/src/styles/links/skeleton-dark.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/skeleton-dark.css \ No newline at end of file diff --git a/src/styles/links/skeleton-light.css b/src/styles/links/skeleton-light.css new file mode 120000 index 0000000..8ba0a07 --- /dev/null +++ b/src/styles/links/skeleton-light.css @@ -0,0 +1 @@ +../../../submodules/littlelink/css/skeleton-light.css \ No newline at end of file diff --git a/src/styles/terminal.css b/src/styles/terminal.css new file mode 100644 index 0000000..60a5a26 --- /dev/null +++ b/src/styles/terminal.css @@ -0,0 +1 @@ +@import "https://unpkg.com/terminal.css@0.7.2/dist/terminal.min.css"; diff --git a/submodules/littlelink b/submodules/littlelink new file mode 160000 index 0000000..bf39aab --- /dev/null +++ b/submodules/littlelink @@ -0,0 +1 @@ +Subproject commit bf39aaba0acd6e9e57e7b3b62c595aa02291e9ed diff --git a/submodules/littlelink-extended b/submodules/littlelink-extended new file mode 160000 index 0000000..fd2f597 --- /dev/null +++ b/submodules/littlelink-extended @@ -0,0 +1 @@ +Subproject commit fd2f597182e2fc9e5e872b4a798848c013a23d76