- All content keys were redacted, they should be 128-bit hex strings.
- These methods involve the use of ffmpeg and -cenc_decryption_key which is not part of stable releases as of July 2022. Use nightlies from gyan.dev or some other autobuild in the meantime. Hopefully it gets added in the next stable release.
- On my end none of these were particularly reliable. This may change in the future as FFmpeg evolves. The direct method of playing with ffplay is currently the most reliable out of the listed methods.
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
| addEventListener('fetch', event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| async function handleRequest(request) { | |
| function getTimezoneOffset() { | |
| const date = new Date(); | |
| const formatter = new Intl.DateTimeFormat('en-US', { | |
| timeZone: request.cf.timezone, |
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
| --- | |
| - name: Update dat files | |
| hosts: all | |
| become: yes | |
| vars: | |
| - base_path: /etc/mosdns | |
| - restart_daemon: yes | |
| - daemon_service_name: mosdns | |
| - clean_up_after: yes |
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 { | |
| createContext, | |
| PropsWithChildren, | |
| useContext, | |
| useEffect, | |
| useRef, | |
| useState, | |
| } from "react"; | |
| // RESOURCES: |
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
| #!/bin/bash | |
| cd /tmp | |
| wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.24.orig.tar.gz | |
| tar xvf fakeroot_1.24.orig.tar.gz | |
| cd fakeroot-1.24/ | |
| ./bootstrap | |
| ./configure --prefix=/opt/fakeroot \ | |
| --libdir=/opt/fakeroot/libs \ | |
| --disable-static \ |
- Docker Hub - One private repo/image spot for free
- Three Scale - Very generous free tier 50GB of space, 500 Pulls a month etc..
- Canister - 20 private repos with almost no limits on free tier
- Code Fresh - Free tier for developers
- Setup Private Docker Registry - Digital Ocean hosted Tutorial
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
| (http.user_agent contains "QQ/") | |
| or (http.user_agent contains "MicroMessenger") | |
| or (http.user_agent contains "TaoBrowser") | |
| or (http.user_agent contains "Redmi") | |
| or (http.user_agent contains "XiaoMi") | |
| or (http.user_agent contains "MiuiBrowser") | |
| or (http.user_agent contains "HUAWEI") | |
| or (http.user_agent contains "HONOR") | |
| or (http.user_agent contains "OPPO") |
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
| include $(TOPDIR)/rules.mk | |
| PKG_NAME:=sniproxy | |
| PKG_VERSION:=0.6.0 | |
| PKG_RELEASE:=1 | |
| PKG_SOURCE_URL:=https://github.com/dlundquist/sniproxy/archive/ | |
| PKG_SOURCE:=$(PKG_VERSION).tar.gz | |
| PKG_MD5SUM:=bcfb5d1efe045b8b356a4229f2339f02 |
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
| * CloudFare IP list: https://www.cloudflare.com/ips/ | |
| * Google's IP addresses: | |
| nslookup -q=TXT _netblocks.google.com 8.8.8.8 | |
| nslookup -q=TXT _netblocks2.google.com 8.8.8.8 | |
| nslookup -q=TXT _netblocks3.google.com 8.8.8.8 | |
| Each of the above line will display a CIDR block or Google’s IP addresses. | |
| * Amazon IP addresses: https://ip-ranges.amazonaws.com/ip-ranges.json |
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
| #EXTM3U | |
| #EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD | |
| http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8 | |
| #EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London | |
| http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8 | |
| #EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD | |
| http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8 | |
| #EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD | |
| http://a.fi |
NewerOlder