Skip to content

Instantly share code, notes, and snippets.

View Fireentity's full-sized avatar

Lorenzo Croce Fireentity

View GitHub Profile
@Fireentity
Fireentity / gist:7c462f14318042dfbab42af21ee5c8d5
Created September 18, 2025 15:24
Mesheryctl - end to end tests
/home/lorenzo/projects/web/meshery/mesheryctl/tests/e2e/002-model/03-model-export.bats
✓ mesheryctl model export displays usage instructions when no model name provided
✓ mesheryctl model export succeeds with default options
✓ mesheryctl model export succeeds with tar output type
✓ mesheryctl model export succeeds with json output format
✗ mesheryctl model export includes version when specified
(from function `assert_success' in file helpers/bats-libs/bats-assert/src/assert_success.bash, line 45,
in test file 002-model/03-model-export.bats, line 51)
`assert_success' failed
@Fireentity
Fireentity / gist_description.md
Last active April 24, 2025 09:57
A concise prompt and usage guide for encouraging thoughtful, accurate, and iterative responses from ChatGPT—ideal for writing, planning, or solving complex tasks.

Overview

This Gist contains a reusable prompt designed to guide ChatGPT in delivering more thoughtful and refined responses. It includes a markdown file explaining the intent and usage of the prompt in a concise and structured format.

Files

  • prompt.md: Contains the prompt itself and a brief explanation of how and when to use it effectively.
@Fireentity
Fireentity / 1_gist_description.md
Last active April 27, 2025 14:36
This script packages a codebase into a single annotated text stream that can be fed directly into a large language model. Binary files, hidden folders and dependency folders like node_modules are excluded. Place this to your project root and run it.

Project Packaging Script for LLM Input

This Gist provides a utility to package your codebase into a single, annotated text stream suitable for input into large language models (LLMs) like ChatGPT. It includes:

  • tree_cat.py: A Python script that traverses your project directory, excluding binary files and common dependency folders (e.g., node_modules, __pycache__), and outputs the structure along with file contents in a readable format.
  • project-attachment-prompt.md: A prompt template to accompany the packaged output, guiding LLMs to understand and process the provided project structure effectively.
  • execute_without_download.md: Instructions for running the script directly via curl and bash, without the need to download the files manually.

Usage