-
Open elevated PowerShell
-
Install the OpenSSH Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 -
Install the OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 -
Start the sshd service
Start-Service sshd
Guide created by Andrew Lee. Supports Windows 7, 8, 10, and 11.
Note that this guide does not go into detail, it's just providing the commands to install Windows.
Be cautions when doing this when dualbooting, please backup any existing data or you will lose them all.
First open CMD by pressing the following keys after booting into setup: Shift + F10
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
| const escapeHTML = input => input.replace(/[<>&"']/g, char => `&#${char.charCodeAt(0)};`) |
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
| #!/usr/bin/env nix-shell | |
| #!nix-shell --pure -i bash -p ffmpeg-full -p bc -p findutils -p ripgrep | |
| set -euxo pipefail | |
| function join_by { | |
| local d=$1 | |
| shift | |
| local f=$1 | |
| shift |
- Start the v4l2loopback module:
sudo modprobe v4l2loopback \
devices=1 exclusive_caps=1 video_nr=5 card_label="Dummy Camera"
- This creates one device with a label "Dummy Camera" as device `/dev/video5
- See https://github.com/umlaeute/v4l2loopback/ for more detailts
- I have a short test video call
Speed1.avi, this can be played streamed to/dev/video5withffmpeg -re -stream_loop -1 -i Speed1.avi -vcodec rawvideo -pix_fmt yuv420p -f v4l2 /dev/video5
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 | |
| # Note that there's no libdrm because this lib cause errors | |
| sudo apt update -y && sudo apt upgrade -y | |
| sudo apt-get -y install \ | |
| autoconf \ | |
| automake \ | |
| build-essential \ |
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
| LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %{ms}T" vhost_combined | |
| LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %{ms}T" combined | |
| LogFormat "%h %l %u %t \"%r\" %>s %O **%T/%D**" common | |
| LogFormat "%{Referer}i -> %U **%T/%D**" referer | |
| LogFormat "%{User-agent}i **%T/%D**" agent |