Anto Online
AntoOnline
Welcome to the code repository of https://anto.online. You will find useful code snippets, cheatsheets, and templates.
Languages
Loading contributions...
Top Repositories
Bash script that backs up Docker images or containers, and then scans them using VirusTotal.
This script identifies running WordPress instances in Docker containers and fixes their file and directory permissions. It sets the correct ownership, file, and directory permissions for the WordPress root directory, and adjusts group permissions for the wp-content folder and its subdirectories.
This script identifies and eliminates zombie processes on a Linux system. It first detects all zombie processes, then iterates through each one, killing the parent process to clean up the zombies. If necessary, the script will forcibly kill the parent process to ensure the removal of the zombie process.
This script retrieves all A and AAAA records for all domains in a Cloudflare account, and performs DNS and basic HTTP/HTTPS status code checks to verify that the records are set up correctly.
This Docker container will use ClamAV to scan a mounted volume for viruses and send an email or Slack message if a virus is found.
This is a simple bash script to upload css and image files to a public AWS S3 bucket.
Repositories
28This script identifies and eliminates zombie processes on a Linux system. It first detects all zombie processes, then iterates through each one, killing the parent process to clean up the zombies. If necessary, the script will forcibly kill the parent process to ensure the removal of the zombie process.
Bash script that backs up Docker images or containers, and then scans them using VirusTotal.
This script identifies running WordPress instances in Docker containers and fixes their file and directory permissions. It sets the correct ownership, file, and directory permissions for the WordPress root directory, and adjusts group permissions for the wp-content folder and its subdirectories.
This is a simple bash script to upload css and image files to a public AWS S3 bucket.
This script retrieves all A and AAAA records for all domains in a Cloudflare account, and performs DNS and basic HTTP/HTTPS status code checks to verify that the records are set up correctly.
The script allows users to query DNS servers for a domain's record types and log the output.
This Docker container will use ClamAV to scan a mounted volume for viruses and send an email or Slack message if a virus is found.
This wp-config.php configures WordPress using environment variables.
Wordpress plugin to determine the request headers being sent.
Email Config Checker checks emails account spf, dns, dkim and email reachability.
No description provided.
DNSSec checker for domains to validate if all is OK.
Useful and highly configurable Bash script to backup MySQL databases, folders, zip them, and then upload them to AWS S3.
Deploy a Lambda Function, S3 and S3 Event using Ansible.
Send an SMS to Twilio using an AWS Lambda Python function triggered from an S3 bucket put event.
This Python script is an AWS Lambda function that reads HTML files from an S3 bucket and sends them as emails using Amazon SES. It extracts metadata from files, composes emails with attachments, sends them, and moves the files to different folders in the bucket based on the sending success.
This Java code is a simple "Hello, World!" application. It contains a class named `App` in the package `com.mycompany.app`. The `main` method prints "Hello World!" to the console when the program is executed.
This Jenkins pipeline creates a MySQL user and database, taking parameters for stack code, app code, encoding, max connections, MySQL host, and port. It installs the MySQL client, generates a random password, creates the database and user, and flushes MySQL privileges.
This Jenkins pipeline resets a WordPress user's password on the MySQL database.
This Jenkins pipeline updates WordPress URLs in a database. It takes parameters for old and new URLs, MySQL credentials, and the WordPress table prefix. It checks for and installs the MySQL client if needed, then runs SQL queries to replace the old URL with the new one in relevant fields.
This Jenkins pipeline generates random usernames and passwords based on the provided length parameters. It then creates various password hashes, including base64, SHA-256, and MD5, and outputs the generated username and password hashes to the console.
This script checks the integrity of WordPress installations running in Docker containers by verifying their checksums using wp-cli. It identifies containers running WordPress instances, installs wp-cli if necessary, and runs the wp core verify-checksums command.
This script locates running WordPress instances in Docker containers and triggers the execution of their cron jobs. It iterates through each WordPress instance, changes to the WordPress root directory inside the container, and runs the `wp-cron.php` script as the `www-data` user.
This script monitors CPU load on a system running Docker and generates a report if the load exceeds a specified threshold. It displays the top 5 containers contributing to high CPU load, overall CPU usage, and top 50 processes on the host. Optionally, the report can be sent to Slack if a webhook URL is provided.
This script automates the process of deleting AWS CloudWatch log groups in a specified region. It retrieves the list of log groups, prompts the user for confirmation, and then deletes them one by one. Ideal for cleaning up unnecessary log groups and reducing storage costs.
A Basic Laravel 8 site template with login, logout, password reminder, and other functionality.
Embed YouTube on WordPress for optimal performance
A Docker image built using php:7.2.30-apache-buster and Invoice Ninja 4.5.34.