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 Letterboxd to RYM Search | |
// @version 0.5 | |
// @description A handy ChatGPT userscript that adds a button below the film poster on Letterboxd, allowing you to search for the same film on RateYourMusic | |
// @author ChatGPT | |
// @namespace https://gist.github.com/Fooftilly | |
// @downloadURL https://gist.github.com/Fooftilly/509ddfbbc0395c0ff209f3fdea112187/raw/Letterboxd_to_RYM_Film_Search.user.js | |
// @updateURL https://gist.github.com/Fooftilly/509ddfbbc0395c0ff209f3fdea112187/raw/Letterboxd_to_RYM_Film_Search.user.js | |
// @match https://letterboxd.com/film/* | |
// @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
#!/usr/bin/python | |
import qbittorrentapi #Download here: https://pypi.org/project/qbittorrent-api/ | |
import time | |
# SETTINGS: | |
# Upload speed of an individual torrent won't be limited until it reached this ratio | |
UNLIMITED_RATIO = 5 | |
UNLIMITED_SPEED = -1 # Default upload speed for torrents below UNLIMITED_RATIO (set to -1 for infinite) |
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 | |
base_url="https://www.old.dlib.me/sken_prikaz_1_f.php?id_jedinice=" | |
image_base_url="https://www.old.dlib.me/" | |
current_id=1 | |
while true; do | |
url="${base_url}${current_id}" | |
content=$(wget -q -O - "$url") |
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
#!/usr/bin/python | |
from PyQt5.QtCore import QSettings, QVariant, QTimer, QCoreApplication | |
import sys | |
import signal | |
from datetime import datetime | |
import os | |
def bytes_to_tebibytes(bytes_value): | |
# Convert bytes to tebibytes (TiB) with 3 decimal points |
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
import requests | |
import json | |
import argparse | |
import logging | |
from datetime import datetime | |
def get_downloader_stats(username): | |
# The URL of the JSON data | |
url = 'https://legacy-api.arpa.li/reddit/stats.json' |
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 Remove Spotify si parameter | |
// @version 1.0 | |
// @description Automatically remove the si parameter from Spotify links when pasting them | |
// @match *://*/* | |
// @author ChatGPT | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
#!/usr/bin/python | |
import requests | |
import json | |
# Replace <GITLAB_PROJECT_ID> with the ID of your GitLab project | |
url = "https://gitlab.com/api/v4/projects/<GITLAB_PROJECT_ID>/releases" | |
# Get the latest release | |
response = requests.get(url) |
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/sh | |
echo "Enter value for All-time upload:" | |
read upload | |
echo "Enter value for All-time download:" | |
read download | |
ratio=$(echo "scale=2; $upload/$download" | bc) |
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
@book{hegel1975, | |
author = {Georg Vilhelm Fridrih Hegel}, | |
title = {Istorija filozofije}, | |
year = {1975}, | |
publisher = {Beogradski izdavačko-grafički zavod}, | |
location = {Beograd}, | |
edition = {treće izdanje}, | |
translator = {Dr Nikola M. Popović} | |
} | |
@book{eliot1963, |
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
%Compile with Xelatex | |
\documentclass[12pt,serbian]{article} | |
\usepackage[serbian]{babel} | |
\usepackage{fontspec} | |
\setmainfont{FreeSerif} | |
\setsansfont{FreeSans} | |
\setmonofont{FreeMono} | |
\usepackage{blindtext} |
NewerOlder