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
| // ==UserScript== | |
| // @name CaptchaBoost | |
| // @namespace https://gist.github.com/randall | |
| // @version 1.0.0 | |
| // @description Optimizes Google CAPTCHA interactions by minimizing animations, transitions, and artificial delays. | |
| // @author Randall | |
| // @match https://www.google.com/recaptcha/api2/bframe* | |
| // @match https://www.google.com/recaptcha/enterprise/bframe* | |
| // @grant none | |
| // @supportURL https://gist.github.com/ran-dall/6fac89b0411ca9d958fc33292d89c5d3 |
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 | |
| set -euo pipefail | |
| # check-k8s-netfilter-arch.sh | |
| # | |
| # Checks common Kubernetes networking prerequisites on Arch-based systems: | |
| # - br_netfilter module exists | |
| # - br_netfilter module is loaded | |
| # - net.bridge.bridge-nf-call-iptables = 1 | |
| # - net.bridge.bridge-nf-call-ip6tables = 1 |
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
| { | |
| // Linux terminal profiles | |
| // Only for use with VS Code Flatpak | |
| "terminal.integrated.profiles.linux": { | |
| "bash": { | |
| "path": "/app/bin/host-spawn", | |
| "args": [ | |
| "bash" | |
| ], | |
| "icon": "terminal-bash", |
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 to delete the specified file in Safe Mode | |
| function Delete-CrowdStrikeFile { | |
| $directoryPath = "C:\Windows\System32\drivers\CrowdStrike" | |
| $filePattern = "C-00000291*.sys" | |
| # Ensure the directory exists | |
| if (Test-Path -Path $directoryPath) { | |
| $files = Get-ChildItem -Path $directoryPath -Filter $filePattern | |
| if ($files) { | |
| foreach ($file in $files) { |
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
| # Define the Dev Drive base path | |
| $DevDrive = "D:\packages" | |
| # Function to create a directory if it doesn't exist | |
| function Ensure-Directory { | |
| param ( | |
| [string]$Path | |
| ) | |
| if (-not (Test-Path -Path $Path)) { | |
| New-Item -Path $Path -ItemType Directory -Force |
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
| # Define the Dev Drive base path | |
| $DevDrive = "D:\packages" | |
| # Function to create a directory if it doesn't exist | |
| function Ensure-Directory { | |
| param ( | |
| [string]$Path | |
| ) | |
| if (-not (Test-Path -Path $Path)) { | |
| New-Item -Path $Path -ItemType Directory -Force |
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
| # Use an official Python runtime as a parent image | |
| FROM python:3.9-slim | |
| # Install git | |
| RUN apt-get update && \ | |
| apt-get install -y git && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set the working directory in the container | |
| WORKDIR /usr/src/app |
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
| emerge -v1 sys-apps/merge-usr; \ | |
| merge-usr; \ | |
| eselect profile set {n+1}; \ | |
| emerge --update --deep --changed-use @world |
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 | |
| # Adapted from uglic's StackOverflow response | |
| # https://askubuntu.com/questions/1328823/disable-specific-device-from-waking-up-the-system | |
| while getopts v:p:s: flag | |
| do | |
| case "${flag}" in | |
| v) vendor=${OPTARG};; | |
| p) product=${OPTARG};; | |
| s) state=${OPTARG};; |
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
| :root { | |
| --color-hover-blue:rgba(75, 110, 175, 0.4); | |
| --color-plasma-blue:rgba(75, 110, 175, 1); | |
| --color-cardboard-gray: rgba(210, 210, 210, 1); | |
| --color-coastal-fog: rgba(127, 140, 141, 1); |
NewerOlder