Skip to content

Instantly share code, notes, and snippets.

@ncronquist
Created November 12, 2017 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ncronquist/adf3527ea19717e29d5a567abf7110c2 to your computer and use it in GitHub Desktop.
Save ncronquist/adf3527ea19717e29d5a567abf7110c2 to your computer and use it in GitHub Desktop.
'.source.json':
'Receipt Info Add':
'prefix': 'rec'
'body': """
"$1": {
"receipt": "../samples/post-requests/$1.json",
"schema": "$3.schema.json"
}$4
"""
'.source.gfm':
'Pull Request Review Work':
'prefix': 'pr-rev'
'body': 'Reviewed [PR $1](https://github.com/concur/receipt-service/pull/$1)$2'
'Issue Work':
'prefix': 'issue'
'body': '[$1](https://github.com/concur/receipt-service/issues/$1) - $2'
'Orchestration-Jiras':
'prefix': 'oj'
'body': '[ORCAS-$1](https://jira.concur.com/jira/browse/ORCAS-$1)$2'
'Header 1':
'prefix': '==='
'body': '====================================================================================================\n\n$1'
'Header 2':
'prefix': '---'
'body': '----------------------------------------------------------------------------------------------------\n\n$1'
'.source.js':
'Multi-line Comments':
'prefix': '/*'
'body': '/**\n *$1\n */$2'
'.source.elixir':
"Inspect":
'prefix': 'inspect'
'body': 'IO.inspect($1, label: $2, pretty: true)$3'
"Puts":
'prefix': 'puts'
'body': 'IO.puts $1'
"http":
'prefix': 'http'
'body': ' IO.puts "METHOD: #{method}"\nIO.puts "URI: #{uri}"\nIO.puts "BODY:"\nIO.inspect body\nIO.puts "HEADERS:"\nIO.inspect headers\nIO.puts "OPTS:"\nIO.inspect opts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment