This file contains 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 Firefox noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
This file contains 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 | |
STORAGE=hdd;available=$(pveam available | awk '{print $2}');array=(${available//$'\n'/ });for download in "${array[@]}"; do echo "Downloading ${download}"; timeout 180 pveam download "${STORAGE}" "${download}"; done; |
This file contains 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 activatevenv() { | |
# Check if a virtual environment is already activated | |
if [ -z "$VIRTUAL_ENV" ]; then | |
# Names of possible virtualenv directories | |
VIRTUALENV_DIRS=("venv/" "env/" ".env/" ".venv/" "${PWD##*/}") | |
for dir in "${VIRTUALENV_DIRS[@]}"; do | |
if [[ -d "${dir}" ]]; then | |
# Found a possible venv directory |
This file contains 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
# How to Activate Windows 11 for FREE | |
## Step 1: Click on the Start button, search for “cmd“, and click on “Run as Administrator“. | |
## Step 2: Type: slmgr /ipk [KEY] | |
Replace the [KEY] with your key as per your windows version as mentioned below. | |
The following is the list of Windows 11 Volume license keys. | |
* Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 |
This file contains 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
$Deferred = { | |
. "/home/freddie/.local/share/chezmoi/PSHelpers/Console.ps1" | |
. "/home/freddie/.local/share/chezmoi/PSHelpers/git_helpers.ps1" | |
# ...other slow code... | |
} | |
# https://seeminglyscience.github.io/powershell/2017/09/30/invocation-operators-states-and-scopes |
This file contains 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 Claude.ai-ChatDownloader | |
// @namespace http://tampermonkey.net/ | |
// @version 1.9 | |
// @description Download all chats from Claude.ai as a single file | |
// @match https://claude.ai/* | |
// @match https://claude.ai/chats | |
// @match https://claude.ai/chat/* | |
// @grant GM_setValue | |
// @grant GM_getValue |
This file contains 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
# add the following | |
folder_names_and_paths["ipadapter"] = ([os.path.join(models_dir, "ipadapter")], supported_pt_extensions) | |