Skip to content

Instantly share code, notes, and snippets.

View christopherokonkwo's full-sized avatar
💭
Life is most beautiful when you're working in your passion

Christopher C. Okonkwo christopherokonkwo

💭
Life is most beautiful when you're working in your passion
View GitHub Profile
@christopherokonkwo
christopherokonkwo / setup-dnsmasq.sh
Last active October 8, 2024 18:17 — forked from archan937/setup-dnsmasq.sh
Point *.test to 127.0.0.1 using DNSMasq and NetworkManager on Ubuntu
#!/bin/bash
# Usage:
#
# curl -sL https://gist.githubusercontent.com/archan937/d35deef3b1f2b5522dd4b8f397038d27/raw/setup-dnsmasq.sh | sudo bash
#
DOMAIN=".test"
ensure_ping() {