![allow_blob_public_access-azure_portal.png](https://gist.github.com/jibinpb/1fc9ec28e95bd1ccfa48a2e32b91f8cc/raw/d134be452e6c312064038a9b7d7df5c76b1414c7/allow_blob_public_access-azure_portal.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
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 | |
# SQL Server Management Studio (SSMS) | |
$url = "https://download.microsoft.com/download/f/e/b/feb0e6be-21ce-4f98-abee-d74065e32d0a/SSMS-Setup-ENU.exe" | |
$output = "SSMS-Setup-ENU.exe" | |
Invoke-WebRequest -Uri $url -OutFile $output |
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
"security": { | |
"ClusterCredentialType": "Windows", | |
"ServerCredentialType": "Windows", | |
"WindowsIdentities": { | |
"ClustergMSAIdentity" : "gMSA_Account_Name@contoso.com", | |
"ClusterSPN" : "ServiceFabric/servicefabric.intranet.contoso.com", | |
"ClientIdentities": [{ | |
"Identity": "CONTOSO\\ServiceFabricAdminGroup", | |
"IsAdmin": true | |
},{ |
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
## Replace this value with new gMSA Name | |
## $gMSAName = 'gMSA_Account_Name' | |
setspn -S ServiceFabric/servicefabric.intranet.contoso.com $gMSAName |
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
<div id="remote"> | |
<input class="typeahead" type="text" placeholder="Type Here"> | |
</div> |
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
bower install jquery | |
bower install typeahead.js |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
SELECT | |
entity1.Name AS [Parent], | |
entity2.Name AS [Subsidiary], | |
s.HoldingPercentage, | |
s.EffectiveDate | |
FROM [Entity] entity1, [Subsidiaries] s, [Entity] entity2 | |
WHERE MATCH(entity1-(s)->entity2); |
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
DECLARE @ParentNodeId nvarchar(1000), @ChildNodeId nvarchar(1000) | |
DECLARE @EntityNodeDetails table(NodeId nvarchar(1000)); | |
-- Insert the Facebook as parent organization | |
INSERT dbo.Entity ([Name], [Code], [Type]) | |
OUTPUT INSERTED.$node_id | |
INTO @EntityNodeDetails | |
VALUES ('Facebook, Inc.', 'FB', 'Public') | |
-- Get inserted nodeId to variable | |
SELECT TOP 1 @ParentNodeId=NodeId FROM @EntityNodeDetails |
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
IF OBJECT_ID('dbo.Entity', 'U') IS NOT NULL | |
DROP TABLE dbo.Entity | |
GO | |
-- Create Entity as NODE table | |
CREATE TABLE dbo.Entity | |
( | |
[ID] INTEGER PRIMARY KEY IDENTITY, | |
[Name] VARCHAR(100) NOT NULL, | |
[Code] VARCHAR(100) NULL, |
NewerOlder