Webcam parts:
- Raspberry Pi Zero W Rev 1.1
- Raspberry Pi Camera v2 (8-megapixel)
- Raspberry Pi High Quality Camera (12.3-megapixel)
- Raspbian Buster Lite 2020-02-13
Webcam works with:
- Windows 10
- Windows 10 "Camera" app
| // ==UserScript== | |
| // @name Mastodon Bird UI Conversafiada.net | |
| // @match https://conversafiada.net/* | |
| // @grant GM_addStyle | |
| // @grant GM_getResourceText | |
| // @version 2 | |
| // @description A UserScript that applies the Mastodon Bird UI style to conversafiada.net | |
| // @resource layout-single-column https://raw.githubusercontent.com/ronilaukkarinen/mastodon-bird-ui/master/layout-single-column.css | |
| // @resource layout-multiple-columns https://raw.githubusercontent.com/ronilaukkarinen/mastodon-bird-ui/master/layout-multiple-columns.css | |
| // @downloadURL https://gist.github.com/rafaelcaricio/096231368e9391ed703fcde16c433a8c/raw/mastodon-bird-ui.user.js |
| ffmpeg -re \ | |
| -f lavfi -i "smptebars=rate=30:size=640x360" \ | |
| -f lavfi -i "sine=frequency=1000" \ | |
| -vf drawtext="text='%{pts\:hms}':rate=30:x=(w-tw)/2:y=(h-lh)/2:fontsize=48:fontcolor=white:box=1:boxcolor=black" \ | |
| -f flv \ | |
| -vcodec libx264 -profile:v baseline -pix_fmt yuv420p -preset ultrafast -tune zerolatency -crf 28 \ | |
| -acodec aac \ | |
| rtmp://streaming-server/live/key |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:AD9CABE486D945761E6AD658B84CFF6F30DBD0B9]
| from fastapi import FastAPI | |
| import requests | |
| import httpx | |
| import uuid | |
| import logging | |
| logging.basicConfig(format="%(asctime)s %(message)s") | |
| log = logging.getLogger("myapp") | |
| log.setLevel(logging.DEBUG) |
| import re | |
| import asyncio | |
| import logging | |
| import logging.config | |
| import uuid | |
| from aiohttp import web | |
| import aiotask_context as context | |
| import logging | |
| import signal | |
| import sys | |
| import time | |
| import tracemalloc | |
| logger = logging.getLogger(__name__) | |
| logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) |
| # https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/examples/default-backend.yaml | |
| apiVersion: v1 | |
| kind: ReplicationController | |
| metadata: | |
| name: default-http-backend | |
| spec: | |
| replicas: 1 | |
| selector: | |
| app: default-http-backend | |
| template: |
| import codecs | |
| # pip install pysha3==1.0.2 | |
| from sha3 import keccak_256 | |
| def sha3(text): | |
| return keccak_256(text).digest() | |