Skip to content

Instantly share code, notes, and snippets.

View robpomeroy's full-sized avatar

Rob Pomeroy robpomeroy

View GitHub Profile
@robpomeroy
robpomeroy / gist:96161fd561e6a109947b636fcd522567
Created June 14, 2024 14:50
Terraform debug output caused when running in Windows on a WSL UNC path
PS Microsoft.PowerShell.Core\FileSystem::\\wsl.localhost\AlmaLinux9\mnt\wsl\repos\[REDACTED]\Terraform> terraform init
2024-06-14T15:46:03.588+0100 [INFO] Terraform version: 1.8.5
2024-06-14T15:46:03.588+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-06-14T15:46:03.588+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-06-14T15:46:03.588+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-06-14T15:46:03.588+0100 [DEBUG] using github.com/zclconf/go-cty v1.14.3
2024-06-14T15:46:03.589+0100 [INFO] Go runtime version: go1.22.1
2024-06-14T15:46:03.589+0100 [INFO] CLI args: []string{"C:\\Commands\\terraform.exe", "init"}
2024-06-14T15:46:03.589+0100 [TRACE] Stdout is a terminal of width 236
2024-06-14T15:46:03.589+0100 [TRACE] Stderr is a terminal of width 236
@robpomeroy
robpomeroy / ProjectsV2 PHP.md
Last active November 22, 2022 09:14
Working with GitHub Projects v2 with GraphQL in PHP

There are better ways to do this. I'm still learning.

I have a generic class to facilitate querying GitHub's REST and GraphQL APIs:

class GitHub
{
    /**
     * API
     * Make request to GitHub using the standard REST API.

Keybase proof

I hereby claim:

  • I am robpomeroy on github.
  • I am robpomeroy (https://keybase.io/robpomeroy) on keybase.
  • I have a public key ASDzrs-cd3Cm0BbES5Tm5bd5vFEVFgP8ikH9ynq_G2ZovAo

To claim this, I am signing this object: