WARNING: this guide is not about security, but about functionality, for example, never run applications as root. Be cautious.
sudo su
add-apt-repository ppa:qbittorrent-team/qbittorrent-stable && \
apt install -y qbittorrent qbittorrent-nox
// ==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 |
// ==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 gist has moved to https://github.com/AndrewBreyen/Jellyfin-TV-Post-Process | |
FROM golang:1.16 AS build | |
WORKDIR /app | |
COPY . . | |
RUN env CGO_ENABLED=0 go build -o summer-host-storage main.go | |
FROM scratch | |
COPY --from=build /app/summer-host-storage /summer-host-storage | |
ENTRYPOINT ["/summer-host-storage"] | |
CMD ["-listen=:8000"] |
# by: apolzek | |
md5sum * | sort -n > .file | |
filename='.file' | |
n=1 | |
x=1 | |
while read line; do | |
current_hash=$(echo $line | awk {'print $1'}) | |
echo "[debugging] current_hash: $current_hash" | |
x=$(($n + 1)) |
<?php | |
/* | |
PHP CURL function which bypasses the Cloudflare | |
@yasinkuyu | |
*/ | |
function cloudFlareBypass($url){ | |
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"; |
<?php | |
class Torrent | |
{ | |
public function scrape(array $announce = [ ] , $hash_info = null) | |
{ | |
$r = [ | |
'seeders' => 0 , | |
'leechers' => 0 |
Problem: I experienced Spotify being stuck in full screen mode. The title bar with minimize, maximize and close wasn't present and no keyboard shortcut I know about would exit full screen.
Solution:
@mastier has improved the solution - see here
Solution (old):
#!/bin/bash | |
# This is a simple script that takes some files as arguments and sends them to a special chat | |
# Just create a new bot at @BotFather and get your chat ID from @myidbot and enter them here | |
# You can also make a shortcut in '~/.bashrc' like "alias tg='bash /opt/scripts/tg.sh'" | |
# After that restart bash and use it like 'tg file1.txt file2.jpg' | |
# EDIT TOKEN and CHAT_ID: | |
TOKEN="TOKEN" | |
CHAT_ID="12341234" | |
# Make sure curl is installed | |
for arg in "$@" |