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 lmarena.ai Custom Tweaks (Wait for Height 0) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.5 | |
| // @description Suppress alert, hide element, and click Arena tab when model_selector_md height is zero | |
| // @match https://lmarena.ai/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { |
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 | |
| set -e | |
| PROG=${0##*/} | |
| pushd "$(dirname "$0")/.." >/dev/null | |
| popd >/dev/null | |
| _err() { echo "$PROG: $@" >&2; exit 1; } | |
| FPS=50 | |
| MAXSIZE=800 |
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
| """Script to import any number of JSON formatted files into a db""" | |
| import sqlite3 | |
| import requests | |
| from tqdm import tqdm | |
| from sqlite3 import Error | |
| from operator import itemgetter | |
| from collections import defaultdict | |
| 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
| local hyper = {"alt", "cmd"} | |
| local BITLY_API_ACCESS_TOKEN = "" | |
| -- Load Spoons | |
| hs.loadSpoon("MiroWindowsManager") | |
| hs.loadSpoon("ReloadConfiguration") | |
| --hs.loadSpoon("BingDaily") | |
| hs.loadSpoon("Caffeine") | |
| spoon.ReloadConfiguration:start() |
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 | |
| # Convert WSL path to Windows path | |
| if [ "$1" = "." ]; then | |
| WINPATH=$(wslpath -w $(pwd)) | |
| elif [ -n "$1" ]; then | |
| WINPATH=$(wslpath -w "$1") | |
| else | |
| WINPATH="" | |
| fi |
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 | |
| LAST_HASH="" | |
| # Detect clipboard tool | |
| if command -v wl-paste &> /dev/null; then | |
| CLIP_COPY="wl-copy" | |
| CLIP_PASTE="wl-paste" | |
| elif command -v xsel &> /dev/null; then | |
| CLIP_COPY="xsel --clipboard --input" |
OlderNewer