Skip to content

Instantly share code, notes, and snippets.

x0 xero

Block or report user

Report or block xero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xero
xero / python-nameserver.py
Created Jun 7, 2019 — forked from dustyfresh/python-nameserver.py
DNS nameserver implemented in python
View python-nameserver.py
#!/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
xero / ansicat.c
Created Jan 22, 2019
cp437 decoder. display ansi art in modern utf8 shells. cc0 / kopimi: unixbros (dcat & x0)
View ansicat.c
/*
* .
* .__ .______/| .____ ____. .___ __.
* _____\ \ ___/_ \ _|____\____Y __/____ _____\ Y /__.
* / _ \ X / \ X | \ X _ \ | ___/---.
* | \ | / l____ > | | \ | \ |
* | ::.. __l__/ ::.__| / .: /:.__l__ ..:: | ::.. __l__ ..:: |
* l______ / \______/ /___ /| _/ \ ______l______ / \ ______|
* \/ \/ |/ \/ \/ \/ x0!
*
@xero
xero / semantic-commit-messages.md
Last active Dec 28, 2018
bb commit style guide :: how we liven up the commit history
View semantic-commit-messages.md

semantic commit messages

see how a minor change to your commit message style can make you a better programmer self generate {docs,changelog}, add context to the changeset, enable filtering (e.g. ignore styling or documentation changes), and liven up the commit history!

format: <type>(<scope>): <ticket> subject :emoji:

  • <scope>
    • optional
    • some changes are global or difficult to assign to a single component
  • <ticket>
@xero
xero / defcon
Created Jul 27, 2017
defcon shell ansi art
View defcon

 this one goes out to all the {cr,sl,h}ackers... https://defcon.org
  .███████▄  .██████████  .██████████  .██████████  .██████████  .█████▄ ███
 : ░ ███████▄ : ░ ████████ : ░ ████████ : ░ ████████ : ░ ████████ : ░ ████████
 : ▒▒░█ ▀████ : ▒▒░█████▄ : ▒▒░█████   : ▒▒░████ ▀▀ : ▒▒░█▀▀████ : ▒▒░███████
 : ▓▒▒░  █ █ : ▓▒▒░
@xero
xero / grokgit.sh
Last active Apr 27, 2019
"don't git good, grok git!" - presentation slides
View grokgit.sh
#!/bin/sh
esc=$(printf '\033')
clear
cat << X0
${esc}[34m
don't git good... ██ ██ ██
░██ ░░ ░██
█████ ██████ ██████ ░██ ██ █████ ██ ██████
██░░░██░░██░░█ ██░░░░██░██ ██ ██░░░██░██░░░██░
@xero
xero / keybase.md
Created Feb 26, 2017
keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am xero on github.
  • I am xero (https://keybase.io/xero) on keybase.
  • I have a public key whose fingerprint is 15A4 B803 F8EF F47E 7A21 5049 0DA7 AB45 AC1D 0000

To claim this, I am signing this object:

@xero
xero / coffee.sh
Created Feb 22, 2017
animated coffee script!
View coffee.sh
#!/bin/sh
cup(){
cat << X0
▄▄▄▄▄▄▄▄▄▄
  ▀▀▀ ▀  ▀▀▀  ▄
 ▀▀  ▀▀▀▀      ▀▀ 
  ▀▀▀▀▀   [48;5;1
@xero
xero / coffee
Last active Dec 27, 2017
coffee ansi art. open your term and run `curl -L git.io/coffee`
View coffee
▄▄▄▄▄▄▄▄▄▄
  ▀▀▀ ▀  ▀▀▀  ▄
 ▀▀  ▀▀▀▀      ▀▀ 
  ▀▀▀▀▀    ▀[4
@xero
xero / keybase.md
Created Jan 17, 2017
keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am xero on github.
  • I am xero (https://keybase.io/xero) on keybase.
  • I have a public key whose fingerprint is 1619 BC71 7ED3 F833 5704 DEBC CAD4 D827 2358 ACD0

To claim this, I am signing this object:

View clock.sh
#!/bin/sh
# ██ ██
# ░██ ░██
# █████ ░██ ██████ █████ ░██ ██
# ██░░░██ ░██ ██░░░░██ ██░░░██░██ ██
# ░██ ░░ ░██░██ ░██░██ ░░ ░████
# ░██ ██ ░██░██ ░██░██ ██░██░██
# ░░█████ ███░░██████ ░░█████ ░██░░██
# ░░░░░ ░░░ ░░░░░░ ░░░░░ ░░ ░░
#
You can’t perform that action at this time.