Fakhri Thaher

Scripts library

Copy-paste automation scripts for Linux, Windows and cross-platform tasks.

12 results

pythoncross-platformIntermediate

Validate a .env File Against a Schema

Check that a .env file contains all required variables with the correct types before your application starts.

15 views
pythoncross-platformIntermediate

Cron Expression Next-Run Calculator

Given a cron expression, print the next several times it will fire along with the countdown to each.

15 views
bashlinuxBeginner

List GCP compute instances

Show every Compute Engine VM in a project with zone, machine type, status, and IPs.

12 views
bashlinuxIntermediate

Lock inactive users

Finds human accounts with no login activity beyond a chosen threshold and locks them, with a safe dry-run mode by default.

12 views
bashlinuxIntermediate

CPU Load Average Alert

Warns by email when the one-minute load average per CPU core exceeds a configurable ratio.

1 views
bashlinuxBeginner

Disk Usage Threshold Alert

Emails an administrator whenever any mounted filesystem climbs above a configurable usage percentage.

0 views