Skip to content

Instantly share code, notes, and snippets.

Divyesh B Chudasama dbchudasama

Block or report user

Report or block dbchudasama

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dbchudasama / ExampleAzureARMTemplateADFv2CopyActivityPipelineParameter.json
Last active Jun 7, 2018
JSON Snippet of an example Azure ARM Template of defining pipeline parameters into a Copy Activity Pipeline for Azure Data Factory v2.0
View ExampleAzureARMTemplateADFv2CopyActivityPipelineParameter.json
“typeProperties”: {
“format”: {
“type”: “ParquetFormat”
“folderPath”: {
“value”:”@concat(‘/test/’, formatDateTime(adddays(pipeline().TriggerTime,0), ‘yyyy/MM/dd’)”,
“type”: “Expression”
“partitionedBy”: [
dbchudasama / GoogleAnalyticsServiceAccountCredentialAuth.cs
Created Feb 6, 2018
Code snippet for creating a Service Account Credential for Service Account Authentication with Google Analytics Core Reporting API
View GoogleAnalyticsServiceAccountCredentialAuth.cs
string[] scopes = new string[] { AnalyticsService.Scope.Analytics };
var keyPath =<path>”;
var serviceAccountEmail =<email>”;
//Loading the Key file
var certificate = new X509Certificate2(keyPath, <privateKey>, X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.Exportable);
var initializer = new ServiceAccountCredential.Initializer(serviceAccountEmail)
You can’t perform that action at this time.