- Orange County, Florida
- travismullen.com
Pinned Loading
-
Loader for Node ESM support.
Loader for Node ESM support. 1import path from 'path'
2import process from 'process'
3import Module from 'module'
45/**
-
get Unicode values of character
get Unicode values of character 1// get Unicode values of character items in an array
2function getCharactersUnicodeValue(characters) {
3const unicodeChart = new Map();
4characters.forEach(character => {
5unicodeChart.set(
-
IconAnchor.vue
IconAnchor.vue 1<template lang="pug">
2a.button.icon-link(
3target='_blank',
4:href='route',
5:title='title'
-
Example: Lit Element's Repeat Method
Example: Lit Element's Repeat Method 1<html>
2<head>
3<!-- Polyfills only needed for Firefox and Edge. -->
4<script src="https://unpkg.com/@webcomponents/webcomponentsjs@next/webcomponents-loader.js"></script>
5</head>
-
greatest common denom
greatest common denom 1export function getGCD (a, b) {
2for (let c; b; a = b, b = c) {
3c = a % b
4}
5return a
-
Generate a random hex value.
Generate a random hex value. 1const hexGenerator = function(length = 16) {
2let text = "";
3const possible = "ABCDEFabcdef0123456789";
4for(let i = 0; i < length; i++) {
5text += possible.charAt(Math.floor(Math.random() * possible.length));
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.