Skip to content

Instantly share code, notes, and snippets.

View webstackdev's full-sized avatar
🏠
Working from home

Kevin Brown webstackdev

🏠
Working from home
View GitHub Profile
@webstackdev
webstackdev / full-disk-encryption-arch-uefi.md
Created November 14, 2019 02:24 — forked from huntrar/full-disk-encryption-arch-uefi.md
Arch Linux Full-Disk Encryption Installation Guide [Encrypted Boot, UEFI, NVMe, Evil Maid]

Arch Linux Full-Disk Encryption Installation Guide

This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.

Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.

Preface

You will find most of this information pulled from the Arch Wiki and other resources linked thereof.

Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.

@webstackdev
webstackdev / createSchemaCustomization.js
Created January 22, 2022 13:15
Gatsby createSchemaCustomization example
exports.createSchemaCustomization = ({ actions }) => {
actions.createFieldExtension({
name: "md",
args: {
sanitize: {
type: "Boolean!",
defaultValue: true,
},
},
// The extension `args` (above) are passed to `extend` as
@webstackdev
webstackdev / plugins.d.ts
Last active February 21, 2022 15:31
TypeScript typings for some common Gatsby plugin configuration settings
import type { RequireAtLeastOne } from 'type-fest'
import type { Node } from 'gatsby'
export interface OmniFontLoaderConfig {
resolve: `gatsby-omni-font-loader`
options: {
/**
* Font loading mode
*
* @default `async`

Keybase proof

I hereby claim:

  • I am webstackdev on github.
  • I am webstackbuilders (https://keybase.io/webstackbuilders) on keybase.
  • I have a public key whose fingerprint is C453 05FE D6FD A8BC C7AA 64CB 16CA 75B0 4EA1 634B

To claim this, I am signing this object: