Skip to content

Instantly share code, notes, and snippets.

View WMAL's full-sized avatar
🔥
::0

Warith AL Maawali WMAL

🔥
::0
View GitHub Profile
@WMAL
WMAL / domain-api-setup.sh
Created December 12, 2024 13:33
Managing DNS records can be a time-consuming task, especially when handling multiple subdomains. This Bash script simplifies the process using the Porkbun API, automating DNS record queries, subdomain creation, and deletion. While this example specifically works for Porkbun.com, the same concept can be adapted to any domain provider that offers …
#!/bin/bash
# =========================================
# Domain API Setup Script
# =========================================
#
# Version: 1.0.0
# Script written by Warith AL Maawali
#
# Discord channel: https://discord.gg/KEFErEx
# Twitter: http://twitter.com/warith2020
@WMAL
WMAL / lsyncd_setup.sh
Last active February 20, 2025 09:30
Lsyncd (Live Syncing Daemon) is a powerful tool for keeping files synchronized across multiple servers in real time. Whether managing multiple worker nodes or ensuring a master node is always up to date, Lsyncd provides an efficient, automated solution. This guide walks you through setting up Lsyncd on a Debian-based system using a Bash script.
#!/bin/bash
# =========================================
# Lsyncd Setup Script
# =========================================
#
# Version: 1.0.1
# Script written by Warith AL Maawali
#
# Discord channel: https://discord.gg/KEFErEx
# Twitter: http://twitter.com/warith2020
@WMAL
WMAL / rss-tester.sh
Created March 23, 2025 17:53
This RSS Feed Tester script is a powerful utility for cybersecurity professionals and enthusiasts who rely on timely information. By automating the validation and parsing of news feeds, it ensures uninterrupted access to the latest updates in the threat landscape. Whether for daily operations or periodic checks, this script is a dependable tool …
#!/bin/bash
# RSS Feed Tester Script
# ================================
#
# Author: Warith Al Maawali
# Copyright (c) 2025 Warith Al Maawali
# License: See /home/kodachi/LICENSE
#
# Version: 1.0.0
@WMAL
WMAL / rust-speed.sh
Created May 13, 2025 16:00
Bash and Rust serve very different purposes. Bash is beloved for quick automation and command chaining, while Rust is renowned for speed and safety. This post explores a practical comparison between the two: how efficiently can they match lines between two large files?
#!/bin/bash
# Rust vs Bash Performance Comparison Script
# ==========================================
#
# Author: Warith Al Maawali
# Copyright (c) 2025 Warith Al Maawali
# License: See /home/kodachi/LICENSE
#
# Version: 1.0.0