This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# SimpleCov Coverage Parser | |
# ========================= | |
# | |
# Command-line tool to parse SimpleCov HTML coverage reports into text format. | |
# | |
# Features: | |
# - Parse SimpleCov HTML files into structured text output | |
# - Display overall coverage statistics with file counts and percentages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if a directory to flatten is provided | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 <directory_to_flatten> <target_directory>" | |
exit 1 | |
fi | |
SOURCE_DIR="$1" | |
TARGET_DIR="$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /Users/dani/.config/zellij/config.kdl.bak.2 | |
// | |
keybinds clear-defaults=true { | |
normal { | |
bind "Super c" { Copy; } | |
bind "Super [" { GoToPreviousTab; } | |
bind "Super ]" { GoToNextTab; } | |
bind "Super w" { CloseFocus; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Function to watch a directory for changes on macOS and execute a command. | |
# Requires fswatch to be installed (e.g., via Homebrew: brew install fswatch). | |
# Usage: watch_dir <directory> <command> | |
# | |
# Arguments: | |
# <directory>: The directory to watch for changes. | |
# <command>: The command to execute when a change is detected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# --- Config --- | |
DEFAULT_MAX_SIZE_MB=500 | |
ZIP_PREFIX="archive_part" | |
OUTPUT_DIR="zipped_parts" | |
# --- Help --- |