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
| /** | |
| * Browser console script for Liga Magic website. | |
| * Removes items from the cart by exact price match and auto-confirms native browser prompts. | |
| * | |
| * USAGE: | |
| * 1. Open Liga Magic website in your browser | |
| * 2. Open browser console (F12 or Cmd+Option+I) | |
| * 3. Copy and paste this entire script | |
| * 4. Call: ligaMagicRemoveFromCartByPrice({ targetPrice: 'R$ 10,00' }) | |
| * |
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
| // To obtain these values: open Slack web, monitor network requests after login, | |
| // pick any API request, extract company workspace from URL (e.g., xpto.enterprise.slack.com), | |
| // and find the token in the request payload (form data) | |
| // | |
| // To run this script: open Slack web in your browser and paste this script into the browser console | |
| const SLACK_TOKEN = | |
| ""; | |
| const COMPANY_WORKSPACE = ""; | |
| (async () => { |
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 python3 | |
| """ | |
| Script to recursively compare all files between two directories. | |
| Generates text reports by default, with option for HTML format. | |
| Usage: | |
| python directory_diff.py <base> <compare> [-o output] [--format {text,html}] | |
| Examples: | |
| python directory_diff.py base compare # Text report (default) |
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
| /** | |
| * Frame Selector System - Randomly selects frames without repetition | |
| * Ensures each frame is used exactly once before any frame is repeated | |
| */ | |
| /** | |
| * Creates a shuffled frame selector for the current sprite | |
| * | |
| * @return {struct} Frame selector object with methods | |
| * |
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
| #macro THICKNESS 1 | |
| /** | |
| * Draws text with an outline effect by rendering the text multiple times | |
| * with slight offsets before drawing the main text on top. | |
| * | |
| * @param {real} _x - X position to draw the text | |
| * @param {real} _y - Y position to draw the text | |
| * @param {string} _text - The text string to draw | |
| * @param {color} _textColor - Color of the main text (default: white) |
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 | |
| FILES_PER_DIR=40 | |
| DIR_COUNT=1 | |
| FILE_COUNT=0 | |
| SCRIPT_NAME=$(basename "$0") |