Skip to content

Instantly share code, notes, and snippets.

View xero's full-sized avatar
🌃 💾

xero harrison xero

🌃 💾
View GitHub Profile
xero /
Created June 7, 2019 18:44 — forked from dustyfresh/
DNS nameserver implemented in python
#!/usr/bin/env python3
import sys
from datetime import datetime
import time
from time import sleep
from dnslib import DNSLabel, QTYPE, RD, RR, RCODE
from dnslib import A, AAAA, CNAME, MX, NS, SOA, TXT
from dnslib.server import DNSServer
xero / disapprove.php
Last active October 28, 2021 07:03 — forked from dehora/disapprove.scala
php fork
class ಠ_ಠ extends Exception {
public function __construct($msg, $code=0, Exception $prev=null) {
parent::__construct("ಠ_ಠ", $code, $prev);
public function __toString() {
return "ಠ_ಠ";