Skip to content
View TravisMullen's full-sized avatar
Block or Report

Block or report TravisMullen

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Loader for Node ESM support. Loader for Node ESM support.
    1
    import path from 'path'
    2
    import process from 'process'
    3
    import Module from 'module'
    4
    
                  
    5
    /**
  2. get Unicode values of character get Unicode values of character
    1
    // get Unicode values of character items in an array
    2
    function getCharactersUnicodeValue(characters) {
    3
      const unicodeChart = new Map();
    4
      characters.forEach(character => {
    5
        unicodeChart.set(
  3. IconAnchor.vue IconAnchor.vue
    1
    <template lang="pug">
    2
      a.button.icon-link(
    3
        target='_blank',
    4
        :href='route',
    5
        :title='title'
  4. 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>
  5. greatest common denom greatest common denom
    1
    export function getGCD (a, b) {
    2
      for (let c; b; a = b, b = c) {
    3
        c = a % b
    4
      }
    5
      return a
  6. Generate a random hex value. Generate a random hex value.
    1
    const hexGenerator = function(length = 16) {
    2
      let text = "";
    3
      const possible = "ABCDEFabcdef0123456789";
    4
      for(let i = 0; i < length; i++) {
    5
        text += possible.charAt(Math.floor(Math.random() * possible.length));