- Amex Card:
^3[47][0-9]{13}$ - BCGlobal:
^(6541|6556)[0-9]{12}$ - Carte Blanche Card:
^389[0-9]{11}$ - Diners Club Card:
^3(?:0[0-5]|[68][0-9])[0-9]{11}$ - Discover Card:
^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$ - Insta Payment Card:
^63[7-9][0-9]{13}$ - JCB Card:
^(?:2131|1800|35\d{3})\d{11}$ - KoreanLocalCard:
^9[0-9]{15}$
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 bash | |
| # git landed: remove local branches (and their worktrees) already landed on the | |
| # default branch, whether merged, squashed or rebased. Lists first, asks before | |
| # deleting. Dirty worktrees and unverified branches are never touched. | |
| # | |
| # Install: save as git-landed somewhere on PATH, chmod +x, run `git landed`. | |
| # Optional: gh (GitHub CLI) to also recognise branches of merged pull requests. | |
| # | |
| # Squash detection adapted from not-an-aardvark/git-delete-squashed (MIT). | |
| # |
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 bash | |
| # php2shell-update.sh | |
| # Aggiorna PHP alle versioni che correggono CVE-2026-109618 / CVE-2026-109619 | |
| # e riavvia PHP-FPM e i processi gestiti da supervisor (Horizon, Reverb, code, Octane). | |
| # Uso: sudo bash php2shell-update.sh | |
| # Non installa versioni nuove: aggiorna solo i pacchetti PHP gia' presenti. | |
| # Mantiene i php.ini esistenti (--force-confold). | |
| set -uo pipefail |