View gitinit.cmd
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
cd %1 | |
git init | |
echo "README" > README.md | |
(echo /bin && echo /obj && echo *.log && echo *.dacpac && echo *.bacpac && echo !/refs/*.dacpac) > .gitignore | |
git add . |
View sequences.json
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":"8-StepBass", | |
"soundSteps":[ | |
[1,1,1,1,1,1,1,1], | |
[0,0,0,0,0,0,0,0], | |
[0,0,0,0,0,0,0,0], | |
[0,0,0,0,0,0,0,0], | |
[0,0,0,0,0,0,0,0], | |
[0,0,0,0,0,0,0,0], |
View azGit.cmd
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
#git.cmd | |
git config --global user.name "joshbooker" | |
#git config --global user.email a@a.com | |
git config --list | |
git init // start tracking current directory | |
git add -A // add all files in current directory to staging area, making them available for commit | |
git commit -m "initial commit" // commit your changes |
View BrowseUsers.lsml.js
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
/// <reference path="~/GeneratedArtifacts/viewModel.js" /> | |
myapp.BrowseUsers.created = function (screen) { | |
// Write code here. | |
myapp.userPermissions = []; | |
screen.getUserPermissions().then(function (p) | |
{ | |
p.data.forEach(function (p) | |
{ | |
myapp.userPermissions.push(p.Name); |
View CDSQueryHelperSample.cs
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
public void DeleteSetBaseStatement() | |
{ | |
var deleteSetStatement = new DeleteSetStatement(); | |
deleteSetStatement.From = new FromClause() | |
{ | |
Alias = "A", | |
EntitySet = TestHelper.GetEntitySetRef<Student>() | |
}; |
View NorthwindPublicSwagger.json
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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "v1", | |
"title": "NorthwindAPI2" | |
}, | |
"host": "services.odata.org", | |
"schemes": [ | |
"http" | |
], |
View nwSwaggerCategories.json
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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "v1", | |
"title": "NorthwindAPI" | |
}, | |
"host": "microsoft-apiapp18a6d483211745969fbbde2fed199d66.azurewebsites.net", | |
"schemes": [ | |
"https" | |
], |
View update.js
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
// ---------------------------------------------------------------------------- | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// ---------------------------------------------------------------------------- | |
var helpers = require('../helpers'), | |
format = require('azure-odata-sql').format, | |
queries = require('../../../query'), | |
mssql = require('mssql'), | |
util = require('util'); | |
module.exports = function (table, item, query) { |
View RxNorm Ingredients.js
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
/* | |
https://jsfiddle.net/7tt7fw04/14/ | |
Let's make a function to call RXNorm 'Related' endpoint to get ingredients as seen here: | |
http://mor.nlm.nih.gov/download/rxnav/RxNormAPIREST.html#uLink=RxNorm_REST_getRelatedByRelationship | |
The request url: for Plavix (rxcui: 174742) is this: | |
https://rxnav.nlm.nih.gov/REST/rxcui/174742/related?rela=tradename_of+has_precise_ingredient |
View northwindSwagger.json
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
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "v1", | |
"title": "NorthwindAPI" | |
}, | |
"host": "microsoft-apiapp18a6d483211745969fbbde2fed199d66.azurewebsites.net", | |
"schemes": [ "https" ], | |
"consumes": [ ], | |
"produces": [ ], |
NewerOlder