精简了上游直播源内容,仅保留个人所需的。
https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
The maintained version now lives at Enable & Using vGPU Passthrough, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 188 comments below stay exactly where they are as an archive.
| FROM ubuntu | |
| RUN apt-get update | |
| RUN apt-get install -y build-essential curl | |
| # NodeJS >= 6.0 | |
| RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
| RUN apt-get install -y nodejs | |
| # ttfautohint |
路由器已经「移民」,参考 这篇 Gist
当前成功(有效)方案实现日期:2017年10月08日
| # How to create systemd services: http://neilwebber.com/notes/2016/02/10/making-a-simple-systemd-file-for-raspberry-pi-jessie/ | |
| # Digital ocean on a mongodb service: https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04 | |
| [Unit] | |
| Description=Run SystemD as users | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=[USER HERE] | |
| WorkingDirectory=[USER HOME] |
Last updated: April 2021
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22).
Depending on the age and/or popularity of the video, not all formats will be available.
| Resolution | AV1 HFR High | AV1 HFR | AV1 | VP9.2 HDR HFR | VP9 HFR | VP9 | H.264 HFR | H.264 |
|---|---|---|---|---|---|---|---|---|
| MP4 | MP4 | MP4 | WebM | WebM | WebM | MP4 | MP4 |
| [General] | |
| loglevel = notify | |
| skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
| # dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
| # external-controller-access = PASSWORD@0.0.0.0:6155 | |
| # ipv6 = true | |
| // REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
| import sys | |
| import json | |
| FIXED_WIDTH = len('_________') | |
| FIXED_HEIGHT = 6 | |
| def map_characters(string, typo_group): | |
| return { | |
| string[col]: [typo_group[row][col * (1 + FIXED_WIDTH): |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!