Much foo... Such bar.
Building randomness to fill the gaps.
-
DDS @ Dell Technologies, Inc.
- Raleigh, NC 27612
-
06:58
(UTC -05:00) - https://gist.github.com/dylarcher
- https://orcid.org/0009-0004-9903-2084
- in/dylarcher
- dylarcher
Highlights
- Pro
Pinned Loading
-
Namespace model template for style d...
Namespace model template for style design tokens. 1{2"unc": {3"$description": "The root namespace for the Unified Naming Convention (UNC), providing a single, cohesive system for all frontend assets.",
4"tokens": {5"$description": "Namespace for all design tokens, which act as the single source of truth for all stylistic properties like colors, spacing, and typography.",
-
Regex: captures javascript comments ...
Regex: captures javascript comments and any whitespace before/above. (includes jsdocs comments for now) 1export const captureJavascriptComments = new RegExp("(?:^|[\s\n]+)(?!\S*[`'\"])(?:\/\/.*?(?=\n|$)|(?:\/\*\*?[\s\S]*?\*\/))", "g");
2export const captureLimitedComments = new RegExp("(?:^|[\s\n]+)(?!\S*[`'\"])(?:\/\/(?!\s*(?:eslint|prettier|ts-ignore|ts-expect-error|@ts-|markdownlint|stylelint|@\w)).*?(?=\n|$)|\/\*\*?(?:(?!\*\/|@\w)[\s\S])*\*\/)", "g");
3export default {
4captureJavascriptComments,5captureLimitedComments, -
Simple tests via window.console in t...
Simple tests via window.console in the browser 1/**2* @fileoverview A utility to test functions with console methods for debugging and inspection.3* @author Dylan Archer4*/5 -
Accessibility contrast rating utility.
Accessibility contrast rating utility. 12/**3* Defines a color scheme with a text color and a backdrop color.4* @type {Object}5* @property {string} textColor - The hexadecimal color value for the text. -
A list of `git` default configuratio...
A list of `git` default configurations and alias shortcut commands. 1**Personal Git Aliases***
23```sh
4# Reindex commit history associated with a remote branch (default: main)5git reset $(git merge-base origin/${1:-main} $(git branch --show-current)) -
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.



