This file contains 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 python3 | |
import asyncio | |
import datetime | |
import random | |
import websockets | |
USERS = set() | |
async def register(websocket): | |
USERS.add(websocket) |
This file contains 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/sh | |
# | |
# This script installs a virtual desktop using Xvfb, x11vnc, mate-desktop, | |
# mate-session-manager and Apache Guacamole. It runs on Alpine Linux Edge. | |
# | |
# See also: | |
# https://www.reddit.com/r/selfhosted/comments/b6k8go/poc_a_desktop_in_a_container_on_a_server/ | |
# This is the user, under which the MATE desktop will run | |
# Notice: For several reasons this shouldn't be root |
This file contains 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/sh | |
### BEGIN INIT INFO | |
# Provides: jdownloader | |
# Required-Start: $networking | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: JDownloader | |
### END INIT INFO |