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

Block or report Jonathan-Dobson

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

  1. use flags in nodejs shell script. Co... use flags in nodejs shell script. Converts all flags that have double-dash into keys with the value being the following argument
    1
    #!/usr/bin/env node
    2
    const args = process.argv.reduce((p, c, i, a) => {
    3
        const key = a[i - 1];
    4
        const value = /--\w/.test(key) && c;
    5
        return value ? { ...p, [key.slice(2)]: value } : p;
  2. Open browser from node script Open browser from node script
    1
    #!/usr/bin/env node
    2
    
                  
    3
    const url = 'http://localhost'
    4
    require('child_process')
    5
      .exec((process.platform
  3. cat-facts cat-facts Public

    JavaScript 1 1

  4. cheezza-pizza cheezza-pizza Public

    Order your pizza online

    HTML

  5. gameboy gameboy Public

    gameboy style made with HTML and CSS for use in building gameboy lookalike games

    CSS