Skip to content

Instantly share code, notes, and snippets.

View voxpelli's full-sized avatar

Pelle Wessman voxpelli

View GitHub Profile
@voxpelli
voxpelli / dependabot-resource-exhaustion-cwe-filter.md
Last active March 31, 2026 19:58
This filter documents the specific CWE family of resource exhaustion, uncontrolled iteration/recursion, and algorithmic-complexity weaknesses that are most likely to show up as dependency-driven denial-of-service risks

Dependabot alert filter: resource-exhaustion and algorithmic-complexity CWEs

Filter

cwe:400 cwe:407 cwe:409 cwe:674 cwe:770 cwe:772 cwe:775 cwe:776 cwe:789 cwe:834 cwe:835 cwe:1333

What this filter is trying to capture

This Dependabot alert filter clusters CWEs that are primarily associated with availability risk, especially:

@voxpelli
voxpelli / README.md
Last active September 7, 2025 21:27
a .vscode/tasks.json for running mgitstatus on the workspace
@voxpelli
voxpelli / index.html
Created April 9, 2025 07:51
Vanilla JS Web Component Admin Reference Implementation
<h1>Loan Applications Management</h1>
<h2>Applications List</h2>
<admin-list resource="loanApplications"></admin-list>
<hr>
<h2>Create New Loan Application</h2>
<admin-form resource="loanApplications"></admin-form>
@voxpelli
voxpelli / list-todos.yml
Last active January 22, 2025 14:59
GitHub Action for leasot CLI tool
name: List Todos
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
@voxpelli
voxpelli / apple-crossover-patch.diff
Last active June 7, 2023 17:34
Highlighted diff of the patch that Apple applies to CrossOver in the Game Porting Toolkit here: https://github.com/apple/homebrew-apple/blob/main/Formula/game-porting-toolkit.rb
This file has been truncated, but you can view the full file.
diff --git a/include/distversion.h b/include/distversion.h
new file mode 100644
index 00000000000..b8a3724b76b
--- /dev/null
+++ wine/include/distversion.h
@@ -0,0 +1,12 @@
+/* ---------------------------------------------------------------
+* distversion.c
+*
+* Copyright 2013, CodeWeavers, Inc.
@voxpelli
voxpelli / module-type-badges.md
Created August 5, 2022 17:14
A selection of shield.io badges to indicate module type

Badges

Pick the right one and add to your repo to show what kind of module it is

Module type: ESM

[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://nodejs.org/api/esm.html)
@voxpelli
voxpelli / all.txt
Created October 26, 2021 10:44
Takes a Blue Oak Council Copyleft JSON file and outputs it in a format that can be copy and pasted into the GitHub organization insights query https://blueoakcouncil.org/copyleft.json
license:CDDL-1.0
license:CDDL-1.1
license:CPL-1.0
license:EPL-1.0
license:EPL-2.0
license:ErlPL-1.1
license:IPL-1.0
license:LGPL-2.0-only
license:LGPL-2.0-or-later
license:LGPL-2.1-only
@voxpelli
voxpelli / README.md
Last active August 9, 2022 18:52
my starship config

This is my config for the Starship cross-shell prompt.

// My own take
const JSON_ESCAPE = {
'&': '\\u0026',
'>': '\\u003e',
'<': '\\u003c',
'\u2028': '\\u2028',
'\u2029': '\\u2029'
};
@voxpelli
voxpelli / .zshrc
Created August 13, 2021 13:34
My history setup in zsh
# **** History setup ****
setopt EXTENDED_HISTORY
# share history across multiple zsh sessions
setopt SHARE_HISTORY
# append to history
setopt APPEND_HISTORY
# adds commands as they are typed, not at shell exit
setopt INC_APPEND_HISTORY
# expire duplicates first