- time.google.com
- time1.google.com
- time2.google.com
- time3.google.com
- time4.google.com
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 | |
# Author: https://gist.github.com/auipga/ | |
# Based on: | |
# Sync (outdated?): https://kb-archive.getsync.com/kbs/1.3.5/kb/hc/en-us/articles/210153106-Ports-and-protocols-used-by-Resilio-Connect.html | |
# Resilio Connect: https://help.getsync.com/hc/en-us/articles/204754759-What-ports-and-protocols-are-used-by-Sync- | |
# todo: read sync.conf from resilio server, parse json, fill IPs dynamically | |
# todo: delete duplicate rules as 'host' returns multiple IPs for resilios domains |
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/bin/env python3 | |
import argparse | |
import getpass | |
import os | |
import time | |
import sys | |
import lsb_release | |
# Only LTS release codenames will be listed here - https://wiki.ubuntu.com/Releases |
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 | |
if [ $# -lt 1 ]; then | |
echo "Syntax: $_ USER[ USER[ ...]]" >&2 | |
exit 1 | |
fi | |
exit_code=0 | |
for user in "$@"; do | |
home="/home/$user" |