Skip to content

Instantly share code, notes, and snippets.

@tcodes0
Created October 31, 2019 15:50
Show Gist options
  • Select an option

  • Save tcodes0/393facfe6dd68298ffebb6918f60b235 to your computer and use it in GitHub Desktop.

Select an option

Save tcodes0/393facfe6dd68298ffebb6918f60b235 to your computer and use it in GitHub Desktop.
console log interpolation c style
port = 8001
host = localhost
console.log("Example app listening at http://%s:%s", host, port)
// Example app listening at http://localhost:8001
// Carbon
// https://carbon.now.sh/?bg=rgba(171%2C%20184%2C%20195%2C%201)&t=seti&wt=none&l=auto&ds=true&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=56px&ph=56px&ln=false&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false&code=port%2520%253D%25208001%250Ahost%2520%253D%2520localhost%250Aconsole.log(%2522Example%2520app%2520listening%2520at%2520http%253A%252F%252F%2525s%253A%2525s%2522%252C%2520host%252C%2520port)%250A%252F%252F%2520Example%2520app%2520listening%2520at%2520http%253A%252F%252Flocalhost%253A8001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment