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
version: 0.2 | |
phases: | |
install: | |
commands: | |
- apt-get update --yes | |
- apt-get upgrade --yes | |
- apt-get install --yes wget awscli | |
finally: | |
- wget https://github.com/gohugoio/hugo/releases/download/v0.55.5/hugo_extended_0.55.5_Linux-64bit.deb |
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 | |
BUCKET=my-mail-bucket | |
# export AWS_PROFILE=my-aws-profile | |
# Используем стандартные утилиты из репозитория | |
DOS2UNIX="/usr/bin/dos2unix" # перенос строки | |
FORMAIL="/usr/bin/formail" # mbox-формат | |
PROCMAIL="/usr/bin/procmail" # сортировка |
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/sh | |
PDDTOKEN="123456789ABCDEFGHJKL00000000" | |
DOMAIN="example.net" | |
RECORD_ID="12345678" | |
SUBDOMAIN="aws" | |
# Получаем текущий IP-адрес ... | |
IP=$(curl -s http://ipv4.myexternalip.com/raw) |
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
#!/usr/sbin/nft -f | |
flush ruleset | |
# Определяем интерфейсы | |
define nic_wan = ppp0 | |
define nic_lan = wlp1s0 | |
define nic_ip6 = he-ipv6 | |
define nic_n64 = nat64 |