fabio / query-http-log
0 likes
0 forks
1 files
Last active
A simple function that converts your HTTP logs into queriable in-memory SQLite databases
1 | #!/bin/sh |
2 | |
3 | ################################################################################ |
4 | # A utility function to convert an HTTP log stdin into CSV and pipe its output # |
5 | # to sqlite-utils for easy querying # |
6 | # # |
7 | # NOTE: It requires the `sqlite-utils` command-line tool to be installed. # |
8 | # Install it with `pip install sqlite-utils` # |
9 | # # |
10 | # @author: Fabio Manganiello <fabio@manganiello.tech> # |
fabio / Searxng anti-paywall configuration
0 likes
0 forks
1 files
Last active
An example of how to configure a Searxng instance to replace all paywalled results with links to archive.is / archive.ph
1 | # An example of how to configure a Searxng instance to replace all |
2 | # paywalled results with links to archive.is / archive.ph |
3 | hostnames: |
4 | replace: |
5 | '^(www\.)?nytimes\.com$': 'archive.is/https://nytimes.com' |
6 | '^(www\.)?bloomberg\.com$': 'archive.is/https://bloomberg.com' |
7 | '^(www\.)?washingtonpost\.com$': 'archive.is/https://washingtonpost.com' |
8 | '^(www\.)?ft\.com$': 'archive.is/https://ft.com' |
9 | '^(www\.)?newyorker\.com$': 'archive.ph/https://newyorker.com' |
10 | '^(www\.)?theatlantic\.com$': 'archive.ph/https://theatlantic.com' |
fabio / Sync Piped to Invidious
0 likes
0 forks
1 files
Last active
A Python script that syncs subscriptions and playlists from a Piped instance to Invidious
1 | #!/usr/bin/env python3 |
2 | |
3 | ########################################################################################## |
4 | # This script is used to import subscriptions and playlists from Piped to Invidious. |
5 | # |
6 | # It requires the following: |
7 | # |
8 | # - python3 + requests |
9 | # - The Piped API URL (e.g. https://pipedapi.example.com). |
10 | # Note: This is NOT the Piped frontend URL. |
fabio / cutiepi-overrides
0 likes
0 forks
2 files
Last active
Extra configuration to boot a CutiePi device
1 | # Modified cmdline.txt for CutiePi. Replace PARTUUID with your own (use `sudo blkid` or `ls -l /dev/disk/by-partuuid/` to find it). |
2 | root=PARTUUID=750709b2-02 rw rootwait console=tty1 selinux=0 fsck.repair=yes plymouth.ignore-serial-consoles smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0 |
Newer
Older