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
| select { | |
| display: block; | |
| font-size: 12px; | |
| font-family: sans-serif; | |
| font-weight: 600; | |
| color: #4d6178; | |
| line-height: 14px; | |
| padding: 8px 12px 8px 8px; | |
| width: 100%; | |
| max-width: 100%; |
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
| function getCloudflareJSON(data): Promise<{ | |
| fl: string | |
| h: string | |
| ip: string | |
| ts: number | |
| visit_scheme: string | |
| uag: string | |
| colo: string | |
| http: string | |
| loc: string |
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
| function downloadAllImages(container) { | |
| const imageElements = container.querySelectorAll('img'); | |
| if (!imageElements.length) { | |
| console.error('No images found in the container.'); | |
| return; | |
| } | |
| for (const imageElement of imageElements) { | |
| const imageUrl = imageElement.src; |
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
| # Install ImageMagick if not already present | |
| if not command -sq magick | |
| echo "Installing ImageMagick..." | |
| brew install imagemagick | |
| end | |
| # Set the path to the folder containing SVG files | |
| set svg_folder ~/Downloads/path |
OlderNewer