Skip to content

Instantly share code, notes, and snippets.

View thepaulmacca's full-sized avatar
💻

Paul McDonald thepaulmacca

💻
View GitHub Profile
@GTRekter
GTRekter / AzDO-Terraform-Plan-PR.yaml
Last active January 23, 2024 14:11
This snippet contains the steps to generate a terraform plan and post it as a comment of a pull request in Azure DevOps
- script: |
terraform plan -out tf.tfplan
displayName: Generate Terraform plan
- script: |
terraform show -no-color tf.tfplan > $(Agent.TempDirectory)/tf.txt
displayName: Convert Terraform plan to text
- bash: |
cd $(Agent.TempDirectory)
@whoisryosuke
whoisryosuke / markdown-directory-tree.md
Created July 27, 2020 21:03
Markdown / Documentation - Generate Markdown-friendly directory / folder tree structure - @see: https://stackoverflow.com/a/23990108
  1. Install the Linux package tree using Homebrew: brew install tree
  2. Run the tree command on any directory to generate a Markdown friendly structure: tree your-directory

You can save it to a file by piping the results into a text file: tree . >> directory-structure.md

Example

packages/button
├── lib
@davidfowl
davidfowl / dotnetlayout.md
Last active May 20, 2025 09:53
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/