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 | |
| # Installs and configures fancontrol to automatically run Unifi Dream Machine (UDM) fans harder & lower temperatures. | |
| # | |
| # Context: Unifi equipment typically runs *very* hot from the factory unless you customize it. | |
| # I don't want my hard drives to run as hot as they let them get by default (55ºC+), because it shortens lifespan (ideal temp is ~35-45C). | |
| # | |
| # Further Reading: | |
| # - https://linux.die.net/man/8/fancontrol | |
| # - https://community.ui.com/questions/Unifi-Dream-Router-fan-speed/1cb9cf18-e8a0-44b4-8402-ee9bac367bc0 | |
| # - https://www.reddit.com/r/Ubiquiti/comments/13imgqj/udm_pro_fan_speed_is_this_normal/ |
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
| None of these 3 letter-only usernames below are available anymore as of 2021. | |
| However, if you use numbers and symbols, or accept 4 letters, you can definitely find a free one. | |
| Check responsibly. Don't spam the github API/support, it's not a race, there are plenty free if you have imagination. | |
| agq, ahq, aqf, aqg, aqp, aqt, aqf, aqy, atq, auh, ayp, azj, azq, bey, bgt, bgx, bhq, bkk, bkq, bmq, | |
| bpp, bpq, bqa, bqc, bqg, bqi, bqj, bql, bqn, bqo, bqp, bqr, bqt, bqy, buo, buq, bwz, bxe, bxo, bxw, | |
| bzn, bzp, cfl, ckg, ckq, cnq, cpq, cpz, cqa, cqe, cqf, cqg, cqk, cqo, cqp, cqf, cqx, cqz, cud, cuh, | |
| cuk, cuo, cfl, cxe, czo, dkq, dnq, dqg, dqi, dqk, dqo, dqs, dsr, dtq, dxe, eaj, eaq, ebq, ecl, ecy, | |
| eer, efq, efy, egq, egx, ehh, ehz, eiu, eiw, eiy, ejx, eoq, eou, epj, eqa, eqb, eqf, eqg, eqj, eqk, | |
| eqs, eqf, eqw, eqz, erq, etq, eub, euf, euj, euq, euf, efq, efy, ewy, ewz, exn, eyh, eyj, eyn, eyq, |
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 | |
| # Recursively remove all special characters from filenames by renaming them to their ASCII normalized forms. | |
| # | |
| # By default it does a dry run, to actually move the files uncomment the `mv -vi ...` line. | |
| # | |
| # This is useful for cleaning up network shares that will be shared via SMB/NFS between Unix/macOS/Windows | |
| # where non-ASCII filenames can sometimes cause "file does not exist" errors when trying to access the files. | |
| # | |
| # This script removes leading/trailing whitespace in filenames and replaces accents and non-english | |
| # characters with their ASCII equivalent, if no ASCII equivalent exists, it removes the character e.g.: |
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 | |
| ### Bash Environment Setup | |
| # http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
| # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
| # set -o xtrace | |
| set -o errexit | |
| set -o errtrace | |
| set -o nounset | |
| set -o pipefail |
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
| From 9f7c143fb01bdc780fd440a4689c530745d1f3cb Mon Sep 17 00:00:00 2001 | |
| From: Claude <noreply@anthropic.com> | |
| Date: Wed, 29 Apr 2026 21:41:05 +0000 | |
| Subject: [PATCH 1/3] effect: greenfield Effect.ts port skeleton (CDP, Browser, | |
| Stagehand, LLM) | |
| MIME-Version: 1.0 | |
| Content-Type: text/plain; charset=UTF-8 | |
| Content-Transfer-Encoding: 8bit | |
| New top-level effect/ workspace package containing the start of the |
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 | |
| # Usage: | |
| # pip3 install PyGithub | |
| # | |
| # echo someusername | python3 check_github_usernames.py | |
| # # or | |
| # python3 check_github_usernames.py < list_of_usernames.txt | |
| # | |
| # [+] Starting to check 1212 usernames on GitHub... | |
| # X agq (is taken) |
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 | |
| # Get all the information you could ever want about the STDIN, STDOUT, STDERR file descriptors (e.g. is it a TTY, terminal, pipe, redirection, etc.) | |
| # Works cross-platform on Windows, macOS, Linux, in Docker, and in Docker-Compose by using stat library | |
| # | |
| # Useful for detecting and handling different stdin/stdout redirect scenarios in CLI scripts, | |
| # e.g. is the user piping a file in or are they interactively typing things in? | |
| # is the process output being saved to a file or being printed to a terminal? | |
| # can we ask the user for input or is it a non-interactive masquerading as a TTY? | |
| # | |
| # Further reading: |
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 | |
| # asymptotic_progress_bar.py | |
| # MIT License © 2021 | |
| # | |
| # A pretty non-blocking python progress bar timer that fills up asymptotically until you stop it. | |
| # Good for when you don't know how long a task is going to take (up to some max timeout), | |
| # but you want it to feel fast and accurate / not stuck the whole time. | |
| # ████████████████████ 0.9% (1/60sec) | |
| # useful for animating e.g. file copy progress, download progress, package install progress, etc. | |
| # |
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 re | |
| import os | |
| import sys | |
| import toml | |
| import json | |
| import orjson | |
| import platform | |
| import inspect | |
| import tomllib | |
| import ini2toml |
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 python | |
| import asyncio | |
| import threading | |
| import logging | |
| import pytest | |
| from typing import Dict, List, Any | |
| import sys | |
| import weakref |
NewerOlder