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
| /** | |
| * Requirements: | |
| * brew install yt-dlp ffmpeg | |
| * | |
| * Run: | |
| * node download-multi.js | |
| * | |
| * Supports: | |
| * - multiple jobs in parallel | |
| * - friendly job definitions |
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
| for d in */; do | |
| d=${d%/} | |
| if [[ " C243 C244 C250 C262 C276 C281 C287 C290 C302 C307 \ | |
| C383 C392 C394 C395 C396 C435 C438 C445 C449 C451 \ | |
| C463 C467 C470 C487 C496 " =~ " $d " ]]; then | |
| echo "Keeping $d" | |
| else | |
| echo "Deleting $d" | |
| rm -rf "$d" | |
| fi |
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/zsh | |
| # bulk-image-compressor-mac.sh | |
| # | |
| # Description: | |
| # Run this directly in Terminal from inside the folder containing your images. | |
| # It recursively converts all images (any format) to JPG, then compresses and resizes them | |
| # until each image is below ~250 KB, using only macOS built-in 'sips'. | |
| # | |
| # Usage: | |
| # 1. Open Terminal |
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
| /** | |
| * KYC ID Document Analysis Script with Fraud Detection | |
| * | |
| * This script uses Google's Gemini API to analyze ID documents and perform | |
| * KYC fraud detection analysis using only Node.js built-in modules. | |
| * | |
| * Usage: node kyc.js | |
| */ | |
| const https = require('https'); |