Skip to content

Instantly share code, notes, and snippets.

View willdave865's full-sized avatar

willdave865

View GitHub Profile
@willdave865
willdave865 / exportTest4.js
Created May 3, 2024 05:21
// Test file that aquires authorization then exports a list of gdoc files as text from My Drive to local directory
// Test file that aquires authorization then exports a list of gdoc files as text from My Drive to local directory
const fs = require('fs');
const fsp = fs.promises;
const path = require('path');
const process = require('process');
const {authenticate} = require('@google-cloud/local-auth');
const {google} = require('googleapis');
@willdave865
willdave865 / template.json
Created February 1, 2023 18:23
Azure Portal JSON Template (ARM) Exported from Existing Dashboard
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"dashboards_a9dc12e1_3aae_431d_b935_81dd5ea20bd8_dashboard_name": {
"defaultValue": "a9dc12e1-3aae-431d-b935-81dd5ea20bd8-dashboard",
"type": "String"
}
},
"variables": {},
@willdave865
willdave865 / C:\terraform\terraformTesting\results.txt
Created January 25, 2023 03:20
Verbose logging from running terraform plan command with the TF_LOG=trace environment variable set
This file has been truncated, but you can view the full file.
2023-01-25T16:13:52.907+1300 [INFO] Terraform version: 1.3.7
2023-01-25T16:13:52.907+1300 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2023-01-25T16:13:52.907+1300 [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0
2023-01-25T16:13:52.907+1300 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-01-25T16:13:52.907+1300 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-01-25T16:13:52.907+1300 [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-01-25T16:13:52.907+1300 [INFO] Go runtime version: go1.19.4
2023-01-25T16:13:52.907+1300 [INFO] CLI args: []string{"C:\\terraform\\terraform.exe", "plan"}
2023-01-25T16:13:52.907+1300 [TRACE] Stdout is not a terminal
2023-01-25T16:13:52.907+1300 [TRACE] Stderr is not a terminal