Skip to content

Instantly share code, notes, and snippets.

@netanelavr
netanelavr / stress-test-prompt
Created September 2, 2025 05:51
stress-test-prompt
# API Stress Test
Create a Bash-based stress testing suite that simulates real user interactions with
your API and measures system performance under load.
## Core Script (`api_stress_test.sh`)
- Simulate realistic user flows with sequential API calls (GET, POST, PUT, DELETE)
- DELETE requests should be executed last to clean up test data
- Support bearer token authentication and custom headers
- Base URL should be configurable
@netanelavr
netanelavr / merge-git-repos.sh
Created May 13, 2025 06:52 — forked from matipojo/merge-git-repos.sh
Merge two git repositories while save both commits history
#!/bin/bash
# Parse named arguments
while [ $# -gt 0 ]; do
case "$1" in
--source-a=*)
REPO_A="${1#*=}"
;;
--source-b=*)
REPO_B="${1#*=}"