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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
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
let files = [ | |
"Some.Release.2020.9000p.UHD.VR.HDR.EXTREME.5.1.x900-AMAZIN" | |
] | |
files.forEach(function(f) { | |
let newValue = (function (str) { | |
// 1) letter and letter | |
str = str.replace(/([\D])\.(?=[\D])/g, "$1 ") | |
// 2) number and letter |
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 argparse, re, os | |
import torrent_parser as tp | |
def get_title(name): | |
# remove extension | |
title = os.path.splitext(name)[0] | |
# replace dots with spaces that are between: | |
# 1) letter and letter | |
# 2) number and letter |
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
*/30 * * * * /USER/bin/example.sh >/dev/null 2>&1 |
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
filebot.sh -rename -non-strict --format "{n.replaceAll(/:/, ' -')} ({y}) - {s00e00}" --db TheMovieDB::TV |
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
# find all imagebam urls with this regex | |
# https?:\/\/(www\.)?imagebam\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*) | |
# gives us something like | |
# http://www.imagebam.com/image/9e31091131177484 | |
import requests | |
from bs4 import BeautifulSoup | |
from selenium import webdriver | |
# headless chrome |
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 | |
tar -cvf "setup.tar" --exclude .config/deluge/state* .config/deluge/ www/USERNAME.SERVER/public_html/rutorrent/ |
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 UNIT3D Fix Spoiler | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @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
for D in `find . -type d`; do | |
echo "${D}" | |
cd "${D}" | |
unrar . | |
cd .. | |
done |
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
Filter: /(.*)/i | |
Exclude: /(3d|extras|m2ts|mk3d)/i |
NewerOlder