Skip to content

Instantly share code, notes, and snippets.

@tfogo
Created November 4, 2013 01:08
Show Gist options
  • Select an option

  • Save tfogo/7296680 to your computer and use it in GitHub Desktop.

Select an option

Save tfogo/7296680 to your computer and use it in GitHub Desktop.
shh such algorithm
so commander as cat
plz cat.option with '-n, --number <n>' 'many number' parseInt
plz cat.parse with process.argv
such doge much nice
rly nice<1
wow 0
rly nice is 1 or nice is 2
wow 1
very ans1 is plz doge with nice-1
very ans2 is plz doge with nice-2
wow ans1 + ans2
very ans = plz doge with cat.number
plz console.loge with ans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment