Skip to content
View paulplew's full-sized avatar
⛰️
⛰️
  • Boston, Massachusetts
Block or Report

Block or report paulplew

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
paulplew/README.md

⛰️

Pinned

  1. Convert Decimal to Hexadecimal in Ja... Convert Decimal to Hexadecimal in Javascript
    1
    // The simple way
    2
    const hex = (number) => number.toString(16)
    3
    
                  
    4
    console.assert(hex(15) === 'f')
    5
    console.assert(hex(-30) === '-1e')
  2. Parse Options Passed to a Bash Script Parse Options Passed to a Bash Script
    1
    #!/usr/bin/env bash
    2
    # Paste this into a file, chmod 755 it, and try it out
    3
    
                  
    4
    while :; do
    5
        case $1 in
  3. Ruby Shebang Ruby Shebang
    1
    # with debugging options
    2
    #!/usr/bin/ruby -w
    3
    
                  
    4
    # regular
    5
    #!/usr/bin/ruby