Generate the files
dd if=/dev/zero of=1GB count=1024 bs=1048576
dd if=/dev/zero of=2GB count=2048 bs=1048576
#!/bin/sh | |
# [Asuswrt WAN monitor] | |
# | |
# The script is quite simple: | |
# - If we have internet connection (succeeded ping), sleep 1 second and set the fail counter to zero. | |
# - Else: If is bigger than the limit set => write in the system log*, reset the WAN and sleep 30 seconds. | |
# | |
# * Visible on <<YOUR_ASUS_ROUTER_IP>>/Main_LogStatus_Content.asp |
#!/usr/bin/env python3 | |
# Usage: python3 haveibeenpwned.py my-email-list.txt | |
import requests | |
import sys | |
import time | |
emails = sys.argv[1] |
echo "01:02:03" | awk -F: '{ print ($1 * 60) + $2 + ($3 / 60)}' |