Skip to content

Instantly share code, notes, and snippets.

View pbsull's full-sized avatar
💭
Writing tests

pbsull pbsull

💭
Writing tests
  • balmore
View GitHub Profile

🧪 Running Supabase Locally with Podman on macOS (M1/M2)

This guide walks you through running the full Supabase stack without Docker Desktop, using Podman and the Supabase CLI.

✅ Why Use Podman?

  • Lightweight alternative to Docker
  • Works great on Apple Silicon
  • No Docker Desktop licensing constraints

📊 Salesforce Report Folder Audit (Go)

This Go script queries your Salesforce org and outputs a JSON file that maps:

  • Report Folders
    • Name
    • Access Type (Public, Private, Shared)
    • Shared Users
    • Contained Reports
      • Report Name
@pbsull
pbsull / README.md
Last active February 26, 2025 18:16
Salesforce - Get All Reports

Salesforce Reports Retrieval Script

This Go script retrieves all reports from a Salesforce org and saves them locally. It uses the Salesforce CLI (sf) to authenticate and query the reports, and the sfdx CLI to retrieve the reports in metadata format.

Prerequisites

  • Go installed on your machine
  • Salesforce CLI (sf) installed

Usage

@pbsull
pbsull / how-to.md
Last active February 20, 2025 14:59
Salesforce - Find Unused Variables and Formulas in Flows

Salesforce Flow Unused Elements Finder

Overview

This Go script is designed to help Salesforce developers identify unused formulas and variables in their Salesforce Flow XML files. By parsing the XML files, the script checks for any formulas and variables that are defined but not used anywhere within the flow. This can help in cleaning up the flow definitions, making them more maintainable and efficient.

Why Use This Script?

  1. Maintainability: Keeping your flow definitions clean and free of unused elements makes them easier to understand and maintain.
  2. Performance: Removing unused elements can potentially improve the performance of your flows.