1. Install nginx
2. Install minio
3. Install mc client
$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| default_type text/html; | |
| access_log /dev/stdout; | |
| sendfile on; | |
| keepalive_timeout 65; |
| # Use this script to test that your Telegram bot works. | |
| # | |
| # Install the dependency | |
| # | |
| # $ gem install telegram_bot | |
| # | |
| # Run the bot | |
| # | |
| # $ ruby bot.rb | |
| # |
| $HOSTALIASES no longer works with glibc (https://bugs.launchpad.net/debian/+source/glibc/+bug/1483187) | |
| For my project, I needed to create a user specifc hosts file. | |
| First clone this repo - https://github.com/figiel/hosts.git | |
| ################ README ##################################### | |
| hosts - wrapper for libc which provides defining host aliases in a per-user file |
| Install WireGuard via whatever package manager you use. For me, I use apt. | |
| $ sudo add-apt-repository ppa:wireguard/wireguard | |
| $ sudo apt-get update | |
| $ sudo apt-get install wireguard | |
| MacOS | |
| $ brew install wireguard-tools | |
| Generate key your key pairs. The key pairs are just that, key pairs. They can be |
| #!/usr/bin/env bash | |
| function ecr-add-tag() { | |
| if (( $# < 3 )); then | |
| echo "Wrong number of arguments. Usage: ecr-add-tag ECR_REPO_NAME TAG_TO_FIND TAG_TO_ADD [AWS_PROFILE]" | |
| return | |
| fi | |
| local repo_name=$1 | |
| local existing_tag=$2 | |
| local new_tag=$3 |
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log| version: '3.7' | |
| services: | |
| whoami: | |
| image: jwilder/whoami | |
| ports: | |
| - 127.0.0.1:7000:8000 | |
| cors: |