git clone [email protected]:umlaeute/v4l2loopback.git make && sudo make install sudo depmod -a
sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam #0"
| #!/bin/bash | |
| set -e | |
| IN_USE=$(mktemp) | |
| ALL_FILES=$(mktemp) | |
| function find_module() { | |
| dir=$(realpath $1) |
git clone [email protected]:umlaeute/v4l2loopback.git make && sudo make install sudo depmod -a
sudo modprobe v4l2loopback devices=1 max_buffers=2 exclusive_caps=1 card_label="VirtualCam #0"
| FROM python:3.6 | |
| WORKDIR /app | |
| ADD . /app | |
| RUN pip install -r requirements.txt | |
| RUN python setup.py build_ext --inplace | |
| ENTRYPOINT ["python"] | |
| CMD ["app.py"] |
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "github.com/aws/aws-sdk-go/aws" | |
| "github.com/aws/aws-sdk-go/aws/session" | |
| "github.com/aws/aws-sdk-go/service/athena" | |
| ) |
| #!/bin/bash | |
| bucket=$1 | |
| set -e | |
| echo "Removing all versions from $bucket" | |
| versions=`aws s3api list-object-versions --bucket $bucket |jq '.Versions'` | |
| markers=`aws s3api list-object-versions --bucket $bucket |jq '.DeleteMarkers'` |
| -- allSettings is a list of records containing {width:? height:? apps:{{name:? pos:? size:?},...} | |
| -- for each display setup store the apps and their associated position and size | |
| property allSettings : {} | |
| -- create a variable for the current settings | |
| set currentSettings to {} | |
| display dialog "Restore or save window settings?" buttons {"Restore", "Save"} default button "Restore" | |
| set dialogResult to result |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |