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
module.exports = function (context, req) { | |
context.log('JavaScript HTTP trigger function processed a request.'); | |
if (req.query.name || (req.body && req.body.name)) { | |
context.res = { | |
// status: 200, /** Defaults to 200 **/ | |
body: "Hello " + (req.query.name || req.body.name) | |
}; | |
} | |
else { |
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
### Keybase proof | |
I hereby claim: | |
* I am milannankov on github. | |
* I am milannankov (https://keybase.io/milannankov) on keybase. | |
* I have a public key ASANqnluzTegcVZo4GrSrQ2c8T6esGvsGjNnwZFtNwNX9go | |
To claim this, I am signing this object: |
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
sap.ui.define([ | |
"sap/ui/core/mvc/Controller", | |
"sap/ui/model/json/JSONModel", | |
], function (Controller, JSONModel) { | |
"use strict"; | |
return Controller.extend("simple-app.controller.View1", { | |
onAfterRendering: function () { | |
var colorPickerId = this.byId("colorPicker").sId; |
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
'use strict'; | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
connect: { | |
options: { | |
port: 8080, | |
hostname: '*' |
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
render() { | |
return ( | |
<div className="app"> | |
<div><button onClick={this.onButtonClicked}>Toggle</button></div> | |
{/* Conditionally show Kendo DropDownList */} | |
{this.state.showList && | |
<div> {/* Wrap the component in a div element */} | |
<DropDownList dataSource={["One", "Two", "Three"]} /> | |
</div> | |
} |
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
<div id="example"> | |
<div> | |
<h4>Choose products</h4> | |
<select id="products" style="width: 100%;"></select> | |
</div> | |
<script> | |
$(document).ready(function () { |
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
const uuidv4 = require('uuid/v4'); | |
const moment = require('moment'); | |
module.exports = function (context, req) { | |
// Save Table storage entry | |
context.bindings.tableEntry = { | |
PartitionKey: 'myPartition', | |
RowKey: GenerateKey(), | |
Text: "sample" |
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
.button { | |
height: 34; | |
background-color: #aeea00; | |
color: #36505E; | |
border-color: #80B808; | |
border-width: 0.5; | |
border-top-width: 0; | |
border-bottom-width: 0; | |
vertical-align: center; | |
horizontal-align: stretch; |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<?xml-stylesheet type='text/xsl' href='freb.xsl'?> | |
<!-- saved from url=(0014)about:internet --> | |
<failedRequest url="http://main-warm.azurewebsites.net:80/warmup-cache.php" | |
siteId="1354661621" | |
appPoolId="main-warm__8e84" | |
processId="4292" | |
verb="GET" | |
remoteUserName="" | |
userName="" |
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
$dbUser = "tester" | |
$dbPass = "myP@ssword" | |
$primaryServerName = "serverName" | |
$primaryDbName = "dbName" | |
$resourceGroupName = "groupName" | |
$secondaryServerName = "secondary" + (Get-Random) | |
$existingDb = Get-AzureRmSqlDatabase -ServerName $primaryServerName -DatabaseName $primaryDbName ` | |
-ResourceGroupName $resourceGroupName |