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
CREATE FUNCTION [dbo].[getCategoriesFlat] ( | |
@ProductCategoryID INT | |
) | |
RETURNS VARCHAR(MAX) | |
AS | |
BEGIN | |
DECLARE @result VARCHAR(MAX); | |
WITH Hierarchy (ProductCategoryID, ParentProductCategoryID, Name, [Level], Flat) |
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
CREATE SCHEMA [Test] | |
GO | |
CREATE TABLE Test.CustomerA ( | |
CustomerID int IDENTITY(1,1) NOT NULL, | |
FirstName nvarchar(25) NOT NULL, | |
LastName nvarchar(25) NOT NULL, | |
CompanyName nvarchar(100) NOT NULL, | |
Verified bit NOT NULL, | |
NeedToContact bit NOT NULL |
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
var connection = KrakenConnection.Create("xyz", "xyz"); | |
// Create a client | |
var krakenClient = new KrakenClient(connection); | |
// Sample 1 wait response | |
var response = await krakenClient.OptimizeWait( | |
new Uri("http://cdn.devslice.net/blog/wp-content/uploads/2015/04/Microsoft-and-Elasticsearch.png") | |
); |
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
... | |
"conditions": [ { | |
"dependsOn": "name_of_the_action" | |
} ] | |
... |
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
CREATE VIEW [SalesLT].[vProductAndDescriptionIndex] | |
WITH SCHEMABINDING | |
AS | |
-- View (indexed or standard) to display products and product descriptions by language. | |
SELECT | |
p.[ProductID] as [id] | |
,p.[Name] | |
,pm.[Name] AS [ProductModel] | |
,pmx.[Culture] | |
,pd.[Description] |
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
CREATE VIEW [SalesLT].[vProductAndDescriptionIndex] | |
WITH SCHEMABINDING | |
AS | |
-- View (indexed or standard) to display products and product descriptions by language. | |
SELECT | |
p.[ProductID] as [id] | |
,p.[Name] | |
,pm.[Name] AS [ProductModel] | |
,pmx.[Culture] | |
,pd.[Description] |
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
const string url = "http://download.microsoft.com/download/E/7/B/E7B25440-1569-40B5-989E-3951FC178214/Microsoft_Press_eBook_Introducing_HDInsight_PDF.pdf"; | |
var textExtractionResult = new TextExtractor().Extract(new Uri(url)); |
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
$G_SAN = "xyz" | |
$G_SAK = "xyz" | |
Get-Containers -StorageAccountName $G_SAN -StorageAccountKey $G_SAK | |
New-Container -StorageAccountName $G_SAN -StorageAccountKey $G_SAK -ContainerName "samplecontainer1" | |
Get-ContainerProperties -StorageAccountName $G_SAN -StorageAccountKey $G_SAK -ContainerName "samplecontainer1" | |
$Metadata = @{"x-ms-meta-test1"= "22222";"x-ms-meta-test2" = "111111"} |
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
# Azure details | |
$storageAccount = "storageAccount" | |
$storageKey = "storageKey" | |
$container_name = "blob container name" | |
# Kraken details | |
$uri = "https://api.kraken.io/v1/url" | |
$api_key = "kraken api key" | |
$api_secret = "kraken api secret" | |
$content_type_supported = "image/png", "image/gif", "image/jpeg" |
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
<configuration> | |
<system.webServer> | |
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" staticCompressionLevel="9" /> | |
<dynamicTypes> | |
<add mimeType="text/*" enabled="true" /> | |
<add mimeType="message/*" enabled="true" /> | |
<add mimeType="application/x-javascript" enabled="true" /> | |
<add mimeType="application/json" enabled="true" /> | |
<add mimeType="*/*" enabled="false" /> |
OlderNewer