Skip to content

Instantly share code, notes, and snippets.

View Dunky13's full-sized avatar

Marc Went Dunky13

View GitHub Profile
@Dunky13
Dunky13 / polymorphing-dark-light.svg
Last active April 9, 2026 14:19
A single, polymorphing SVG for dark/light mode.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Dunky13
Dunky13 / appliance-notifications.yaml
Last active February 18, 2025 12:50 — forked from Blackshome/appliance-notifications.yaml
appliance-notifications.yaml
blueprint:
name: Appliance Notifications & Actions
description: >
# πŸ“³ Appliance Notifications & Actions
**Version: 2.8.1**
πŸ€” Watts your appliance up to, you're always in the know from start to finish!πŸ›ŽοΈπŸ”ŒπŸ’Έ
@Dunky13
Dunky13 / demo.sh
Last active August 29, 2022 14:08
Run predictable demo files
#!/usr/bin/env bash
# shellcheck disable=SC2162
clear
shopt -s expand_aliases
function cmd() {
read -p $'\n'"$1 # $2"
if [ "$#" == 3 ]; then
eval "$3"
@Dunky13
Dunky13 / ArrayList.ts
Created September 28, 2016 18:09
ArrayList extending Array class to be more like Java's ArrayList, whilst retaining the original Array specification.
class ArrayList<T> extends Array<T>{
constructor(items?: Array<T>) {
super();
if (items) {
this.addArray(items)
}
}
private inBound(index: number): boolean {
return index >= 0 && index < this.size();
}