Skip to content

Instantly share code, notes, and snippets.

cd %1
git init
echo "README" > README.md
(echo /bin && echo /obj && echo *.log && echo *.dacpac && echo *.bacpac && echo !/refs/*.dacpac) > .gitignore
git add .
[
{
"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],
#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
/// <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);
public void DeleteSetBaseStatement()
{
var deleteSetStatement = new DeleteSetStatement();
deleteSetStatement.From = new FromClause()
{
Alias = "A",
EntitySet = TestHelper.GetEntitySetRef<Student>()
};
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "NorthwindAPI2"
},
"host": "services.odata.org",
"schemes": [
"http"
],
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "NorthwindAPI"
},
"host": "microsoft-apiapp18a6d483211745969fbbde2fed199d66.azurewebsites.net",
"schemes": [
"https"
],
// ----------------------------------------------------------------------------
// 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) {
/*
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
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "NorthwindAPI"
},
"host": "microsoft-apiapp18a6d483211745969fbbde2fed199d66.azurewebsites.net",
"schemes": [ "https" ],
"consumes": [ ],
"produces": [ ],