npm install -g yo@latest typescript@latest tslint@latest eslint@latest rimraf@latest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Microsoft Azure", | |
"description": "This theme includes element styles with icons for each of the Azure services, based upon the Microsoft Azure icon set (https://docs.microsoft.com/en-us/azure/architecture/icons/).", | |
"elements": [ | |
{ | |
"tag": "Element" | |
}, | |
{ | |
"tag": "Software System", | |
"background": "#1168bd", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[merge] | |
tool = webstorm | |
[mergetool "webstorm"] | |
cmd = cmd.exe //c "\"FULL_PATH_TO-->/webstorm.bat" merge \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"\" | |
trustExitCode = true | |
[diff] | |
tool = webstorm | |
[difftool "webstorm"] | |
cmd = cmd.exe //c "\"FULL_PATH_TO-->/webstorm.bat" diff \"$LOCAL\" \"$REMOTE\"\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setToken(t) { | |
var token = "Bearer " + t; | |
swaggerUi.api.clientAuthorizations.remove('bearer_key'); | |
swaggerUi.api.clientAuthorizations.add("bearer", new SwaggerClient.ApiKeyAuthorization("Authorization", token, "header")); | |
} | |
if (!window.isOpenReplaced) { | |
window.open = function (open) { | |
return function (url) { | |
// send us back to where we came from! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; EditorConfig to support per-solution formatting. | |
; Use the EditorConfig VS add-in to make this work. | |
; http://editorconfig.org/ | |
; This is the default for the codeline. | |
root = true | |
[*] | |
end_of_line = CRLF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@node "%~dp0prepare-commit-msg" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var exec = require('child_process').exec, | |
util = require('util'), | |
fs = require('fs'), | |
contents = null, | |
branch, desc; | |
// expect .git/COMMIT_EDITMSG | |
if(/COMMIT_EDITMSG/g.test(process.argv[2])){ | |
// look for current branch name |