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
| global: | |
| checkNewVersion: true | |
| sendAnonymousUsage: false | |
| log: | |
| level: ERROR | |
| filePath: /var/log/traefik-log.log | |
| accessLog: | |
| filePath: /var/log/traefik-access.log |
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
| version: "3.9" | |
| services: | |
| proxy: | |
| image: "traefik:latest" | |
| container_name: proxy | |
| restart: always | |
| depends_on: | |
| - donet |
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
| [[ "$1" == "" ]] && echo "Please give email id as argument" && exit | |
| ssh-keygen -t ed25519 -C "$1" | |
| eval "$(ssh-agent -s)" | |
| ssh-add ~/.ssh/id_ed25519 | |
| echo "Your Public SSH Key is:" | |
| cat ssh-add ~/.ssh/id_ed25519.pub | |
| git config --global user.email "$1" | |
| echo | |
| echo "Run following to config git:" | |
| echo " git config --global user.name \"Your Name\"" |
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
| #!/usr/bin/env bash | |
| LOCAL_USER=$(whoami) | |
| PREFIX="/home/$LOCAL_USER/.local" | |
| SOURCE="$PREFIX/src" | |
| BINARY="$PREFIX/bin" | |
| sudo apt update | |
| sudo apt upgrade -y | |
| sudo apt autoremove -y |
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
| #!/usr/bin/env python3 | |
| import requests | |
| import argparse | |
| from time import sleep | |
| from os import system, name | |
| from datetime import datetime | |
| ''' | |
| ============================== |
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
| version: "3.2" | |
| services: | |
| cache: | |
| image: redis:alpine | |
| volumes: | |
| - cache:/bitnami/redis/data | |
| networks: | |
| - registry | |
| environment: |