Skip to content

Instantly share code, notes, and snippets.

@Purpzie
Purpzie / wiki.yml
Created September 4, 2023 17:19
Sync a wiki with a folder in a repository
name: wiki
on:
push:
branches:
- main
paths:
- wiki/**
- .github/workflows/wiki.yml
concurrency:
group: wiki
@Purpzie
Purpzie / arch-wsl-setup.md
Last active June 19, 2023 19:37
Arch WSL setup guide
  1. Download archlinux-bootstrap-<version>-x86_64.tar.gz from one of the mirrors. You should verify its signature.

  2. While it's possible to import a .tar.gz into WSL, Arch's bootstrap needs to be adjusted first. Open any Linux distro that can transfer files to/from Windows. (WSL counts.)

  3. In Linux:

    # This needs to be done as root to avoid WSL permission issues.
    sudo -i
    
    # Extract it, cd into the folder, and compress it again.
@Purpzie
Purpzie / update-lockfile.yml
Last active May 6, 2023 13:22
Action to update pnpm-lock.yaml when Dependabot opens a PR. Be warned that this may cause lots of merge conflicts.
# https://github.com/dependabot/dependabot-core/issues/1736
name: Dependabot
on: pull_request_target
permissions: read-all
jobs:
update-lockfile:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
pull-requests: write
@Purpzie
Purpzie / mods.md
Last active February 6, 2023 19:03
Minecraft mods I use regularly
@Purpzie
Purpzie / settings.jsonc
Last active May 6, 2021 23:05
VSCode GitHub Dark theme adjustments
"workbench.colorCustomizations": {
"[GitHub Dark]": {
"focusBorder": "#AB77F4",
"tab.activeBorderTop": "#AB77F4",
"panelTitle.activeBorder": "#AB77F4",
"activityBar.activeBorder": "#AB77F4",
"extensionIcon.starForeground": "#AB77F4",
"peekView.border": "#AB77F4",
"editorLightBulb.foreground": "#AB77F4",
"editorLightBulbAutoFix.foreground": "#AB77F4",