This file contains hidden or 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
| :: 1. KuduSync | |
| IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" ( | |
| call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%/_site" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd" | |
| IF !ERRORLEVEL! NEQ 0 goto error | |
| ) |
This file contains hidden or 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
| bash -c "curl -O https://raw.githubusercontent.com/ritterim/jekyll-azure-deploy/master/.deployment && curl -O https://raw.githubusercontent.com/ritterim/jekyll-azure-deploy/master/deploy.cmd && curl -O https://raw.githubusercontent.com/ritterim/jekyll-azure-deploy/master/getruby.cmd" |
This file contains hidden or 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
| pbiviz start |
This file contains hidden or 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
| { | |
| "compilerOptions": { | |
| "allowJs": true, | |
| "emitDecoratorMetadata": true, | |
| "experimentalDecorators": true, | |
| "target": "ES5", | |
| "sourceMap": true, | |
| "out": "./.tmp/build/visual.js" | |
| }, | |
| "files": [ |
This file contains hidden or 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
| typings install d3=github:DefinitelyTyped/DefinitelyTyped/d3/d3.d.ts#6e2f2280ef16ef277049d0ce8583af167d586c59 --global --save |
This file contains hidden or 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
| npm i -g typings |
This file contains hidden or 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
| npm i d3@3.5.5 --save |
This file contains hidden or 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
| var crypto = require('crypto'); | |
| var https = require('https'); | |
| var generateSasToken = function (resourceUri, signingKey, policyName, expiresInMins) { | |
| resourceUri = encodeURIComponent(resourceUri.toLowerCase()).toLowerCase(); | |
| // Convert mins to seconds and get expires code | |
| var expires = (Date.now() / 1000) + expiresInMins * 60; | |
| expires = Math.ceil(expires); |
This file contains hidden or 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
| this.settings = { | |
| minValue: getValue<number>(objects, 'text', 'minValue', 0), // The gauge minimum value. | |
| maxValue: getValue<number>(objects, 'text', 'maxValue', 100), // The gauge maximum value. | |
| circleThickness: getValue<number>(objects, 'circle', 'circleThickness', .05, .9), // The outer circle thickness as a percentage of it's radius. | |
| circleFillGap: getValue<number>(objects, 'circle', 'circleFillGap', .05), // The size of the gap between the outer circle and wave circle as a percentage of the outer circles radius. | |
| circleColor: getValue<Fill>(objects, 'circle', 'circleColor', { solid: { color: "#178BCA" } }).solid.color, // The color of the outer circle. | |
| waveHeight: getValue<number>(objects, 'wave', 'waveHeight', .05), // The wave height as a percentage of the radius of the wave circle. | |
| waveCount: getValue<number>(objects, 'wave', 'waveCount', 5), // The number of full waves per width of the wave circle. | |
| waveRiseTime: getValue<number>(objects, 'wave', 'waveRi |
This file contains hidden or 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
| { | |
| "dataRoles": [ | |
| { | |
| "displayName": "Value", | |
| "name": "value", | |
| "kind": "Measure" | |
| } | |
| ], | |
| "dataViewMappings": [ |