fabio / Searxng anti-paywall configuration
0 j'aimes
0 forks
1 fichiers
Dernière activité
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 j'aimes
0 forks
1 fichiers
Dernière activité
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 j'aimes
0 forks
2 fichiers
Dernière activité
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 |
fabio / Venezuelan_election_odds.py
0 j'aimes
0 forks
1 fichiers
Dernière activité
1 | >>> from random import randint |
2 | # Number of voters |
3 | >>> N = 10_058_774 |
4 | # Counter of occurrences |
5 | >>> cnt = 0 |
6 | # Count how many occurrences we measure where the |
7 | # shares of votes exactly match their rounded |
8 | # representation to the first decimal digit |
9 | >>> for _ in range(N): |
10 | # Share of votes to candidate A, |
fabio / config.yaml
0 j'aimes
0 forks
1 fichiers
Dernière activité
Sample Platypush configuration file
1 | ################################################################################ |
2 | # Sample Platypush configuration file. |
3 | # |
4 | # Edit it and: |
5 | # - Copy it to /etc/platypush/config.yaml for system installation. |
6 | # - Copy it to ~/.config/platypush/config.yaml for user installation. |
7 | # - Start the application with `-c <path-to-this-file>`. |
8 | # |
9 | # Since the configuration file also includes the custom integrations, you can |
10 | # create a Platypush custom installation, with all the extra dependencies |
Plus récent
Plus ancien