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
package me.exz.fr4tfc; | |
import cpw.mods.fml.common.Mod; | |
import cpw.mods.fml.common.event.FMLPostInitializationEvent; | |
import cpw.mods.fml.common.registry.GameRegistry; | |
import forestry.api.recipes.RecipeManagers; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.fluids.Fluid; | |
import net.minecraftforge.fluids.FluidStack; |
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
# coding:utf8 | |
import random | |
from time import sleep | |
import requests | |
session_id = '98f5e6f5a7f711e4ae1700163e0243c6' | |
did = '352005048247251' | |
client = '2' | |
client_ver = '3.4.1' | |
network = '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
local m=component.proxy(component.list("modem")()) | |
m.open(2412) | |
local function respond(...) | |
local args=table.pack(...) | |
pcall(function() m.broadcast(2412, table.unpack(args)) end) | |
end | |
local function receive() | |
while true do | |
local evt,_,_,_,_,cmd=computer.pullSignal() | |
if evt=="modem_message" then return load(cmd) end |
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
# -*- encoding: utf-8 -*- | |
# Author: Epix | |
# | |
# Ban Xunlei IP for deluge | |
# This script will check deluge connected peers per 30 seconds. | |
# When an IP with UA in `BAN_PATTERNS` is found, the IP will be added to `BLOCK_LIST_FILE`. | |
# However if the IP is uploading or reporting 100% progress, it will say "WTF?" | |
import logging |
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
# -*- coding: utf-8 -*- | |
import os | |
from html.parser import HTMLParser | |
import dash | |
import pandas as pd | |
import plotly.express as px | |
import requests | |
from dash import html, dcc, dash_table, Input, Output |
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
# -*- encoding: utf-8 -*- | |
# Author: Epix | |
import re | |
import subprocess | |
import fire | |
import requests | |
def main(gofile_url='https://gofile.io/d/Xf3djG'): |
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
# -*- encoding: utf-8 -*- | |
# Author: Epix | |
# | |
# Ban Xunlei IP for qBittorrent | |
# This script will check qBittorrent connected peers every 30 seconds. | |
# When an IP with UA in `BAN_PATTERNS` is found, the IP will be banned. | |
# However, if the IP is uploading or reporting 100% progress, it will say "WTF?" | |
import re |