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
| """FastAPI sidecar that scores audio with lofcz/ai-music-detector. | |
| The model is a logistic regression (3585 features) loaded once at startup. | |
| Audio is read from a shared volume; the Go worker sends a filename, not bytes. | |
| The fakeprint extraction below is a direct port of the reference inference | |
| script at https://github.com/lofcz/ai-music-detector/blob/main/src/python/inference.py | |
| The training-time code lives in extract_fakeprints.py — both compute the same | |
| features, only differing in batching. Steps: |
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 Drift King - Region Switcher | |
| // @namespace drifted-bot | |
| // @version 2.1 | |
| // @description Affiche et permet de changer la région, le serveur et la room | |
| // @match https://www.drifted.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
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 noVNC Paste for Proxmox | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2a | |
| // @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 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
| #!/data/data/com.termux/files/usr/bin/bash | |
| set -e | |
| # Couleurs pour les messages | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' |
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
| @echo off | |
| setlocal | |
| :: Demande le mot de passe MySQL root | |
| set /p MYSQL_ROOT_PASSWORD=Entrez le mot de passe MySQL root: | |
| :: Met à jour Chocolatey et installe les dépendances | |
| choco upgrade chocolatey -y | |
| choco install git -y | |
| choco install php -y |
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 | |
| # Basic Documentation | |
| cat << EOF | |
| GitHub Artifact Cleaner | |
| ----------------------- | |
| This script deletes all artifacts from a specified GitHub repository. | |
| USAGE: | |
| 1. Ensure that the provided GitHub token has the necessary permissions to access the artifacts. |
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 [CHATGPT] Easily hide chatgpt at school | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description Change title and favicon of OpenAI Chat website | |
| // @author @andronedev & @kckmdev | |
| // @match https://chat.openai.com/* | |
| // @match https://claude.ai/* | |
| // @match https://bard.google.com/* | |
| // @grant none |
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 | |
| cd ~/ | |
| mkdir -p ~/.local/bin | |
| wget "https://discord.com/api/download/stable?platform=linux&format=tar.gz" -O discord.tar.gz | |
| tar -xvf discord.tar.gz -C ~/.local/bin | |
| sudo ln -s ~/.local/bin/DiscordCanary/discord.png /usr/share/icons/discord.png | |
| sudo ln -s ~/.local/bin/DiscordCanary/DiscordCanary /usr/bin | |
| wget https://gist.githubusercontent.com/AdrianKoshka/a12ca0bfe2f334a9f208aff72f8738c3/raw/9d606ad7ce7cc1dd23f6a99993e2396540538a02/discord.desktop -O discord.desktop | |
| mkdir -p ~/.local/share/applications/ | |
| mv ~/discord.desktop ~/.local/share/applications/ |
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 requests | |
| import json | |
| import os | |
| import sys | |
| androidVariants = ["armv7", "armv8", "x86", "x86_64", "arm64_v8a", "x86_64_aarch64"] | |
| languages = ["fr", "en", "de", "es","it", "nl", "pl", "pt", "ru", "sv", "tr", "uk"] | |
| themes = ["black", "dark"] | |
| roots = ["root", "nonroot"] |
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
| curl https://download.java.net/java/ga/jdk11/openjdk-11_osx-x64_bin.tar.gz \ | |
| | tar -xz \ | |
| && mv jdk-11.jdk java |
NewerOlder