export FQDN="mail.example.org"
export DOMAIN="example.org"
export MAILBOX="user"
export DEBIAN_FRONTEND="noninteractive"
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
# install cmake | |
WORKDIR /root | |
RUN mkdir temp | |
WORKDIR /root/temp | |
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz | |
RUN tar -xzvf cmake-3.27.4.tar.gz | |
WORKDIR /root/temp/cmake-3.27.4 | |
RUN ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release | |
RUN make -j4 |
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/bash | |
# This script will compile and install a static ffmpeg build with support for nvenc in ubuntu. | |
# See the prefix path and compile options if edits are needed to suit your needs. | |
# NOTE: This build is made to target Ubunutu 16.04 Data-Science Azure VMs - With nVidia 418.xx drivers and CUDA SDK 9.0. | |
# It also relies on a hack described in https://trac.ffmpeg.org/ticket/6431#comment:7 to make glibc dynamic still. | |
# Long story short, you need to edit your ffmepg's configure script to avoid failures on libm and libdl. | |
# in function probe_cc, replace the _flags_filter line to: _flags_filter='filter_out -lm|-ldl' |
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
import cv2 | |
import numpy as np | |
import pyautogui | |
## Install CMake on system then: | |
## `pip install cmake dlib opencv-python pyautogui numpy` | |
# Constants for sensitivity and smoothing | |
SENSITIVITY = 20 # Adjust as needed | |
SMOOTHING = 0.5 # Adjust as needed |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder