Skip to content

Instantly share code, notes, and snippets.

View dustinkirkland's full-sized avatar
💲

Dustin Kirkland dustinkirkland

💲
View GitHub Profile
@dustinkirkland
dustinkirkland / petname-http.go
Created July 13, 2018 20:42
petname-http.go
package main
import (
"flag"
"fmt"
"log"
"net/http"
"github.com/dustinkirkland/golang-petname"
)
@dustinkirkland
dustinkirkland / hackernews.py
Created April 6, 2017 15:28
Fetch a HackerNews article and all comments into a JSON document
#!/usr/bin/python3
# hackernews.py - fetch a hackernews article and comments into a json doc
# Copyright (C) 2017 Dustin Kirkland
#
# Author: Dustin Kirkland
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
FROM ubuntu
MAINTAINER you@example.com
RUN apt-get update && apt-get install -y all-the-things
CMD ["/usr/bin/somethingd", "--is-a-okay"]
FROM ubuntu
MAINTAINER you@example.com
RUN apt-get update && apt-get install -y all-the-things
CMD ["/usr/bin/somethingd", "--is-a-okay"]
Verifying I am +kirkland on my passcard. https://onename.com/kirkland
@dustinkirkland
dustinkirkland / foo
Created August 22, 2011 19:38
nothing
stuff