Skip to content

Instantly share code, notes, and snippets.

View danpetitt's full-sized avatar

Dan Petitt danpetitt

View GitHub Profile
@danpetitt
danpetitt / git.md
Created June 30, 2023 11:42
Git on WSL sometimes get files with file permissions changed

Sometimes, when using Windows WSL to edit projects, Git will report a file permissions change.

You cannot fix, change, remove or do anything with these files and it causes issues when pulling.

Just do this:

git config core.filemode false
@danpetitt
danpetitt / terraform.md
Created September 12, 2023 17:53
Terraform Azure Issues

Terraform Azure Issues

azurerm_mssql_virtual_machine

  • If you get the error "The specified certificate ... does not exist in the master database" then you may find the encryption password was set too long; I got this error when I tried to set a 128 character password, but it worked when I dropped down to 64 characters.

  • If you get the error "Invalid Default File Path" it may be because you need to start your additional attached drives at letter F, not E

@danpetitt
danpetitt / markdown-tips.md
Last active September 14, 2024 20:09
GitHub Markdown Updates

Note

Highlights information that users should take into account, even when skimming.

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.