Fork of https://gitlab.com/grublets/youtube-updater-for-pi-hole
This fork has
- Looking sqlite db for youtube domains instead of log file
- Support for googlevideo.com and gvt1.com
Installation instructions are
-- The only required line is this one. | |
local wezterm = require 'wezterm' | |
local mux = wezterm.mux | |
local act = wezterm.action | |
-- Some empty tables for later use | |
local config = wezterm.config_builder() | |
local keys = {} | |
local mouse_bindings = {} | |
local launch_menu = {} |
let listOfCategories = [ | |
{ | |
"id": 4, | |
"name": "JavaScript", | |
"namespace": "/1/2" | |
}, | |
{ | |
"id": 1, | |
"name": "Development", | |
"namespace": "/" |
#!/usr/bin/env python3 | |
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter | |
from functools import partial | |
from http.server import HTTPServer, SimpleHTTPRequestHandler | |
import os | |
import sys | |
def log(*value, sep=' ', end='\n', file=sys.stdout, flush=False): | |
print(*value, sep=sep, end=end, file=file, flush=flush) |
அங்கு | |
அங்கே | |
அடுத்த | |
அதற்கு | |
அதனால் | |
அதன் | |
அதிக | |
அதில் | |
அது | |
அதே |
#! /usr/bin/env python3 | |
from flask import Flask, request | |
# Need python 3.7+ | |
from contextvars import ContextVar | |
import logging | |
request_id_context = ContextVar("request_id") | |
# Flask app | |
app = Flask(__name__) |
Fork of https://gitlab.com/grublets/youtube-updater-for-pi-hole
This fork has
Installation instructions are
Fork of https://gitlab.com/grublets/youtube-updater-for-pi-hole
This for has
Installation instructions are
GUNICORN_CMD_ARGS=--capture-output --error-logfile - --access-logfile - --access-logformat '%(h)s %(t)s %(r)s %(s)s Host: %({Host}i)s}' |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
FROM alpine:3.3 | |
# referred from https://hub.docker.com/r/sebp/lighttpd/ | |
MAINTAINER Arul <[email protected]> | |
RUN apk add --update lighttpd \ | |
&& rm -rf /var/cache/apk/* \ | |
&& sed -i.bak "s/server.document-root/#server.document-root/g" /etc/lighttpd/lighttpd.conf \ | |
&& echo server.document-root = var.basedir >> /etc/lighttpd/lighttpd.conf \ | |
&& echo server.port = 8080 >> /etc/lighttpd/lighttpd.conf \ |