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
| (async () => { | |
| // 1. Find the grid cells | |
| let cells = document.querySelectorAll('rect'); // Try SVG rects first | |
| if (cells.length === 0) { | |
| cells = document.querySelectorAll('.grid div, [class*="cell"], [class*="Grid"] div'); | |
| } | |
| if (cells.length === 0) { | |
| const gridContainer = document.querySelector('main') || document.querySelector('#root') || document.body; | |
| cells = gridContainer.querySelectorAll('div[style*="background"], div[style*="color"]'); | |
| } |
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 paintPerfectForestEdge() { | |
| // 6-Color Forest Palette | |
| const SKY = 'rgb(13, 17, 23)'; | |
| const LGT = 'rgb(57, 211, 83)'; | |
| const MID = 'rgb(38, 166, 65)'; | |
| const DRK = 'rgb(0, 108, 50)'; | |
| const WOD = 'rgb(142, 85, 56)'; | |
| const GND = 'rgb(14, 43, 27)'; | |
| const forestPattern = [ |
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 paintPerfectMeadow() { | |
| // 5-Shade Grass Palette + Flower Accents | |
| const SOIL = 'rgb(20, 24, 30)'; // Deep background shadow | |
| const SHAD = 'rgb(14, 68, 41)'; // Deepest grass shade | |
| const BASE = 'rgb(0, 108, 50)'; // Standard mid-tone grass | |
| const LGT = 'rgb(38, 166, 65)'; // Sunlit bright grass | |
| const TIP = 'rgb(57, 211, 83)'; // Glowing neon tips | |
| const FLW = 'rgb(255, 185, 0)'; // Flower center | |
| const PET = 'rgb(255, 90, 120)'; // Flower petals |
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
| services: | |
| speed: | |
| container_name: speed | |
| image: openspeedtest/latest | |
| restart: unless-stopped | |
| ports: | |
| - 1028:3000 |
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
| services: | |
| atlas: | |
| container_name: network | |
| image: keinstien/atlas:latest | |
| network_mode: host | |
| cap_add: | |
| - NET_RAW | |
| - NET_ADMIN | |
| environment: | |
| - ATLAS_UI_PORT=1024 |
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
| services: | |
| adblock: | |
| container_name: adblock | |
| image: pihole/pihole:latest | |
| restart: unless-stopped | |
| environment: | |
| - FTLCONF_webserver_port={FTLCONF_WEBSERVER_PORT} | |
| - FTLCONF_WEBSERVER_API_PASSWORD=${FTLCONF_WEBSERVER_API_PASSWORD} | |
| - FTLCONF_dns_listeningMode=ALL | |
| cap_add: |
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
| # ------------------------------------------------------------------------------ | |
| # SHELL INITIALIZATION | |
| # ------------------------------------------------------------------------------ | |
| # Prevent script from running if the shell is not interactive | |
| [[ $- != *i* ]] && return | |
| # ------------------------------------------------------------------------------ | |
| # PROMPT CONFIGURATION (PS1) | |
| # ------------------------------------------------------------------------------ |
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
| defmodule HendricksFormatter do | |
| @moduledoc """ | |
| This module is a formatter plugin for Elixir's `mix format` task | |
| that converts leading whitespace to tabs. | |
| It tries to intelligently determine the tab width based on the most common | |
| counts of leading space runs in the file. | |
| It allows additional space characters for minor adjustments that are below the tab width. | |
| OK, why tabs? Why resurrect this age-old nerd debate again? | |
| Very simple: It's an accessibility issue: | |
| https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/ |
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
| import java.util.logging.*; | |
| public class LogFormatter extends Formatter | |
| { // a drop in replacement for standard lib logs | |
| public static final String RESET = "\u001b[0m"; | |
| public static final String RED = "\u001b[31m"; | |
| public static final String YELLOW = "\u001b[33m"; | |
| public static final String BLUE = "\u001b[34m"; | |
| public static final String GREEN = "\u001b[32m"; |
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
| public class ConsoleColors { | |
| // Reset | |
| public static final String RESET = "\033[0m"; // Text Reset | |
| // Regular Colors | |
| public static final String BLACK = "\033[0;30m"; // BLACK | |
| public static final String RED = "\033[0;31m"; // RED | |
| public static final String GREEN = "\033[0;32m"; // GREEN | |
| public static final String YELLOW = "\033[0;33m"; // YELLOW | |
| public static final String BLUE = "\033[0;34m"; // BLUE |
NewerOlder