Logo Ali Muhammad
    Logo Inverted Logo
    • Posts
    • Linux
      • Quickly stopping all running vagrant instances
    • Python
      • LetsEncrypt bug checker
    • Ansible
      • Roles Collection
    Hero Image
    Roles Collection

    1. Intro A configuration tool like Ansible makes it easy to manage thousands of systems, whether it be in personal or in professional life. Motivated to manage my own systems in an automated manner, I ended up developing some Ansible roles for ease of use that can easily be utilized on any amount of systems. This project contains a curated list of open source Ansible roles that I have been developing and are publicly available on GitHub.

    August 11, 2021 Read
    Hero Image
    Quickly stopping all running vagrant instances

    Problem Statement When running several vagrant instances, it can be slightly time consuming to have to individually stop all of them. Solution The snippet below is a bash script that can efficiently stop all running vagrant instances under the user running the script. Note: This script works well on both Linux/Unix and MacOS operating systems. #!/bin/bash -e ### 1\. Script globally checks for all vagrant instances running under the user executing the script.

    May 1, 2020 Read
    Hero Image
    Let's Encrypt CAA rechecking bug checker

    Snippet Following is quick and dirty snippet to perform a check for CAA Rechecking Bug against your sites. #!/usr/bin/env python3 import requests ## This python3 code snippet checks for the bug reported on: ## https://community.letsencrypt.org/t/2020-02-29-caa-rechecking-bug/114591 ## This script can be run as: `python3 letsencrypt_caa_bugcheck.py` ## Replace the value for domains with appropriate domains you want to check against. domains = ["myfirstdomain.com", "myseconddomain.com"] url = 'https://checkhost.unboundtest.com/checkhost' for domain in domains: print('Testing LetsEncrypt CAA rechecking bug for:', domain) payload = {'fqdn': domain} req = requests.

    April 4, 2020 Read
    Navigation
    • About
    • Skills
    • Experiences
    • Projects
    • Recent Posts
    Contact me:
    • ali@alimuhammad.dev
    • darkwizard242
    • Ali Muhammad

    Toha Theme Logo Ali Muhammad
    © 2022 Copyright.