sudo amazon-linux-extras install epel postgresql11
sudo yum install -y postgresql-server postgresql-devel
sudo /usr/bin/postgresql-setup --initdb
sudo systemctl enable postgresql
sudo systemctl start postgresql
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
| _pos = getPosASL player; | |
| _h = _pos select 2; | |
| _positions = [ | |
| [_pos select 0, _pos select 1, _h + 1.8], | |
| [_pos select 0, _pos select 1, _h + 10], | |
| [_pos select 0, _pos select 1, _h + 30], | |
| [_pos select 0, _pos select 1, _h + 100], | |
| [_pos select 0, _pos select 1, _h + 500] |
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
| import shapeless._ | |
| import shapeless.labelled._ | |
| import shapeless.ops.record._ | |
| import shapeless.syntax.singleton._ | |
| import shapeless.record._ | |
| trait Projection[A, K, V] { | |
| type Out | |
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 | |
| # This script requires the packages "aws-cli" and "ffmpeg". | |
| # For Raspberry Pi, the package "rng-tools" should also be installed. | |
| # The path of the webcam | |
| webcam=/dev/video0 | |
| # The S3 bucket in which the key is stored | |
| key_bucket=markus.appel.private | |
| # The path of the key inside the S3 bucket |