Blocks commits with unclosed or malformed markdown code fences.
bun add -d markdownlint-cli2Quick installer for using Z.AI API with Claude Code CLI.
Automatically configures your shell to easily switch between official Anthropic API and Z.AI API:
~/.config/zai/A wrapper for glow that renders mermaid diagrams as ASCII art using mermaid-ascii.
Transform complex git worktree management into simple, ticket-based development. git wt 101 automatically creates isolated workspaces using dynamic path templates and project codes, replacing lengthy git commands with intelligent defaults.
# Set your worktree location (choose one):
git config --global worktree.defaultPath ".gitWT/{worktree_name}" # Inside repo| #!/usr/bin/env bash | |
| # hh - Enhanced History Search | |
| # | |
| # Description: | |
| # Interactive history search function that uses fzf for enhanced filtering | |
| # and selection when available, or falls back to grep for basic search. | |
| # Allows filtering history by keywords and optionally executing selected commands. | |
| # Compatible with both bash and zsh shells. | |
| # |
| ################################################################################ | |
| # This script can merge all split SSH configuration into `~/.ssh/config` file. | |
| # | |
| # HOW IT WORKS | |
| # It will merge all files by mask config.*.merge, i.e.: | |
| # ~/.ssh/config.MY_PROJECT.merge | |
| # Initial exists `~/.ssh/config` file will be copied to `~/.ssh/config.orig`. | |
| # Use this `config.orig` for further changes. | |
| # | |
| # Anyway, you may not use this script and just run: |
| ######################################## | |
| # Reset time on login # | |
| ######################################## | |
| # you may try to use system last logged time: `last ${USER} -n1 | head -1 | awk '{print $4" "$5" "$6" "$7}'` | |
| time_sync_command='sudo ntpdate -s time.nist.gov' | |
| # max time not logged value | |
| not_logged_max_time_h=6 |
| #!/usr/bin/env bash | |
| ################################################################## | |
| # Synchronize .ssh files from Windows file system to Ubuntu WSL # | |
| ################################################################## | |
| set -o pipefail | |
| set -o errexit | |
| set -o nounset | |
| #set -o xtrace | |
| # Set magic variables for current file & dir |