This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This file contains a JavaScript tag function to let you | |
// define regexes without needing to backslash-escape every | |
// forward slash in the regex text; good for URLs. | |
// | |
function regex(tag) { | |
return new RegExp(tag.raw, "i"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript error reporting functions, including automatic window.onerror | |
// and unhandledrejection reporting. | |
// | |
// Based on: | |
// https://kevinlocke.name/bits/2019/07/30/more-robust-javascript-error-reporting/ | |
// | |
// API: | |
// reportError(message, error): | |
// Report an exception with optional message and exception value. | |
// reportRejection(message, cause): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################ | |
# _ | |
# | |_ _ __ ___ _ ___ __ | |
# | __| '_ ` _ \| | | \ \/ / | |
# | |_| | | | | | |_| |> < | |
# \__|_| |_| |_|\__,_/_/\_\ | |
# | |
# Cheatsheets: | |
# https://devhints.io/tmux | |
# `property not found` issue: |