Source: Jackett/Jackett#1576 (comment)
From the Jackett page, click the "add indexer" button so that the pop up window with the full list of indexers appears.
You'll then need to open your browser's development toolbar (in Chrome just hit F12) and go to the JavaScript Console and enter the following:
////hack to add all free indexers in Jackett
$(document).ready(function () {
EnableAllUnconfiguredIndexersList();
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
function tableToJson(table) { | |
var data = []; | |
// first row needs to be headers | |
var headers = []; | |
for (var i=0; i<table.rows[0].cells.length; i++) { | |
headers[i] = table.rows[0].cells[i].innerHTML.toLowerCase().replace(/ /gi,''); | |
} | |
// go through cells |
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
var express = require('express'); | |
var Excel = require('exceljs'); | |
var app = express(); | |
app.listen(3000, function() { | |
console.log('Trying to read a xlsx file on port 3000...'); | |
var workbook = new Excel.Workbook(); | |
var filename = 'InputFile.xlsx'; | |
const COL = 'B'; |
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 ruby | |
# A Ruby script to delete files older than X days in a given directory. Pretty simple. | |
# Like this: file_control.rb /User/pelgrim/Documents '*.pdf' 7 | |
# The command above you remove ALL your pdfs inside Documents older than SEVEN DAYS. | |
# Quickly written by pelgrim < guskald at gmail dot com > | |
unless ARGV.size == 3 | |
puts "Usage: file_control <directory> <filename pattern> <max age>" | |
exit 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
# removes files older than 10 days under specific dir | |
find /my/dir -mtime +10 -type f -delete | |
# another example: deleting files older than 2 days under current dir | |
find . -mtime +2 -type f -delete | |
# deleting files older than 5h (5*60min=250min) under current dir | |
find . -mmin +250 -type f -delete |
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 | |
# Simple script to delete files older than specific number of days from FTP. Provided AS IS without any warranty. | |
# This script use 'lftp'. And 'date' with '-d' option which is not POSIX compatible. | |
# FTP credentials and path | |
FTP_HOST="ftp.host.tld" | |
FTP_USER="usename" | |
FTP_PASS="password" | |
FTP_PATH="/ftp/path" | |
# Full path to lftp executable |
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
def compact(*args): | |
''' compact() function, analoguous to the PHP version. | |
Converts a series of (possible nested) iterables containing variable names | |
into a dictionary mapping those names to variable values. | |
Example: | |
>>> x, y, z, a, b, c = 1, 2, 3, 4, 5, 6 | |
>>> compact('x', ['y','z'], ['a', ['b'], [['c']]]) | |
{'a': 4, 'b': 5, 'c': 6, 'x': 1, 'y': 2, 'z': 3} | |
''' | |
def _compact_arg(res, arg): |
Where does this show???
A Pen by erika harvey on CodePen.
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
var fs = require('fs'); | |
var INTERVAL = 1000; | |
var cycle_stop = false; | |
var daemon = false; | |
var timer; | |
process.argv.forEach(function (arg) { | |
if (arg === '-d') daemon = true; |