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
// ==UserScript== | |
// @name Netflix Skip Intro | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automatically skip intros with Netflix. | |
// @author goobyndolan | |
// @match https://www.netflix.com/* | |
// @grant none | |
// ==/UserScript== |
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
import json | |
from dns.resolver import Resolver | |
dns_resolver = Resolver() | |
def _parse_netblock_includes(txt): | |
includes = set() | |
ip4_blocks = set() |
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 python3 | |
import os | |
import sys | |
assert sys.version_info[:2] >= (3, 6), "Requires Python 3.6+" | |
def walk_dir(directory): | |
for root, dirs, files in os.walk(directory): |
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
-- A module to export Prometheus metrics from nginx stub_status module. | |
local ngx = ngx | |
local ngx_var = ngx.var | |
local prometheus = prometheus | |
local select = select | |
local tonumber = tonumber | |
local find = string.find | |
local capture = ngx.location.capture | |
local log = ngx.log | |
local ERR = ngx.ERR |
OlderNewer