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 qbittorrent 状态栏显示数量和大小 | |
// @name:en show counts and sizes of selected for qBittorrent | |
// @namespace localhost | |
// @version 2024-01-31 | |
// @description 在 webUI 状态栏显示选中种子信息 | |
// @description:en show counts and sizes of selected torrents. | |
// @author flashlab | |
// @match http://127.0.0.1:8080/ | |
// @match *://*.sample.com/ |
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 | |
# Copyright (C) 2013 - 2022 Teddysun <[email protected]> | |
# | |
# This file is part of the LAMP script. | |
# | |
# LAMP is a powerful bash script for the installation of | |
# Apache + PHP + MySQL/MariaDB and so on. | |
# You can install Apache + PHP + MySQL/MariaDB in an very easy way. | |
# Just need to input numbers to choose what you want to install before installation. | |
# And all things will be done in a few minutes. |
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
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https | |
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg | |
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list | |
sudo apt update | |
sudo apt install caddy |
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 | |
FILE=$1 | |
imgbox --thumb-width 350 -t "${FILE}" /root/"${FILE}"-*.png | tee -a /root/imgbox.txt | |
#apt install pipx | |
#pipx install imgbox-cli | |
exit 0 |
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 | |
ScriptName=${0##*/} | |
function print_usage() { | |
echo "Please Use $ScriptName <File> <NameSeason>." | |
echo "The screenshots will be saved in /root/" | |
echo "Example: $ScriptName 00003.m2ts Friends01" | |
} | |
FILE=$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
#!/bin/bash | |
ScriptName=${0##*/} | |
function print_usage() { | |
echo "Usage: $ScriptName <BDFileLocation/ISOFile> <BDINFO_TXT_NAME>" | |
echo "Example: $ScriptName \"/root/Downloads/Ray.Donovan/S1D1\" \"Ray.Donovan.S1\"" | |
echo " $ScriptName \"/root/Downloads/Ray.Donovan.S1D1.iso\" \"Ray.Donovan.S1\"" | |
echo "The output file will be saved in /root" | |
echo "Install Docker with \"wget -qO- https://get.docker.com/ | sh\"" | |
} |
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 | |
ScriptName=${0##*/} | |
function print_usage() { | |
echo "请使用: $ScriptName <文件序号> <视频文件夹>" | |
echo "截图将保存到 /root/screenshots 文件夹中。" | |
echo "示例: $ScriptName 2 /path/to/video_folder" | |
echo "说明:" | |
echo " - 文件序号:选择文件夹中的第几个视频文件(从 1 开始)。" | |
echo " - 视频文件夹:支持 ISO 文件、普通视频文件和多级目录。" |
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/sh | |
image=$(find -name "*.png") | |
export image | |
varCurl=$(curl -b --include "https://api.pixhost.to/images" \ | |
-H 'Content-Type: multipart/form-data; charset=utf-8' \ | |
-H 'Accept: application/json' \ | |
-F "img=@$image" \ | |
-F 'content_type=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
public Note |