I hereby claim:
- I am zikeji on github.
- I am zikeji (https://keybase.io/zikeji) on keybase.
- I have a public key ASBM1qQ6h47dShTw_lTsp1lHeFk_pOEeZuEAKOVPd56o0Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This license applies to all public Gists in my account, unless otherwise noted in the Gist:
MIT License
Copyright (c) 2022- Zikeji
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#!/bin/bash | |
PACKAGE=$(basename "$0") | |
# .----. _ .-. _ _ | |
# `--. ::_;: :.-. :_;:_; | |
# ,','.-.: `'.' .--. .-..-. | |
# .'.'_ : :: . `.' '_.': :: : | |
# :____;:_;:_;:_;`.__.': ::_; | |
# .-. : |
#!/bin/bash | |
CF_TOKEN="Gh_0000000000000000000000000000000000000" # generated API token with DNS edit on your zone ID | |
CF_ZONE_ID="00000000000000000000000000000000" # the zone ID found in the Overview tab | |
CF_RECORD="dynamic.example.domain" # your record within the zone you want to update | |
# SCRIPT BELOW - DON'T EDIT | |
RESET=$(tput sgr0) | |
DATE_ANSI=$(tput setaf 4) |
#!/bin/bash | |
PACKAGE=$(basename "$0") | |
# check for missing packages | |
MISSING_DEP="no" | |
if ! command -v fping &> /dev/null; then | |
echo "$PACKAGE: fping is not installed." | |
MISSING_DEP="yes" | |
fi |