Skip to content

Instantly share code, notes, and snippets.

View roymckenzie's full-sized avatar

Roy McKenzie roymckenzie

View GitHub Profile
{
"+1": "👍",
"-1": "👎",
"100": "💯",
"1234": "🔢",
"8ball": "🎱",
"ab": "🆎",
"abc": "🔤",
"abcd": "🔡",
"accept": "🉑",
@roymckenzie
roymckenzie / Icon.ts
Created October 20, 2023 09:52
Mithril.js - Tailwind/SVG Icons
import m from 'mithril';
import trashIcon from '../../../public/trash.svg?raw';
import bars3 from '../../../public/bars-3.svg?raw';
import bars4 from '../../../public/bars-4.svg?raw';
const IconMap = {
trash: trashIcon,
'bars-3': bars3,
'bars-4': bars4
};
@roymckenzie
roymckenzie / wpdebug.sh
Created April 24, 2024 01:15
wpdebug.sh - WordPress Debugging Shell Script
#!/bin/bash
# Script Name: Script Name: wpdebug.sh
# Description: A script for enabling or disabling WordPress debugging mode in the wp-config.php file.
# Author: Roy McKenzie
# Date: April 23, 2024
# Version: 1.0
#
# Usage: ./wpdebug.sh [install|uninstall|enable|disable|tail|delete]
#
# Options: