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 azure = require('azure'); | |
var qs = require('querystring'); | |
function getSAS(accountName, accountKey, path, resourceType, sharedAccessPolicy) { | |
return qs.encode(new azure.SharedAccessSignature(accountName, accountKey) | |
.generateSignedQueryString(path, {}, resourceType, sharedAccessPolicy)); | |
} | |
function formatDate(date){ | |
var raw = date.toJSON(); |
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
function read(query, user, request) { | |
var queryComponents = query.getComponents(); | |
/* | |
{ filters: null, | |
selections: [], | |
projection: null, | |
ordering: {}, | |
skip: null, | |
take: 50, | |
table: 'test', |
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
<!-- | |
// (c) Copyright Microsoft Corporation. | |
// This source is subject to [###LICENSE_NAME###]. | |
// Please see [###LICENSE_LINK###] for details. | |
// All other rights reserved. | |
// | |
--> | |
<ResourceDictionary | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
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
# The following command works for downloading when using Git for Windows: | |
# curl -LOf http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore | |
# | |
# Download this file using PowerShell v3 under Windows with the following comand: | |
# Invoke-WebRequest https://gist.githubusercontent.com/kmorcinek/2710267/raw/ -OutFile .gitignore | |
# | |
# or wget: | |
# wget --no-check-certificate http://gist.githubusercontent.com/kmorcinek/2710267/raw/.gitignore | |
# User-specific files |