-
gogeoip2 - Heroku-based lookup tool for IPs written in Go, which was used to help determine the ASN associated with an IPv4 address (useful for scraping & determining risk)
-
opensrs - Ruby gem for the OpenSRS domain name API (26k+ downloads)
-
epp - Ruby gem to help interact with domain registrars which used the EPP system (25k+ downloads)
-
dockerfiles - Collection of my various Docker images. For an example of the Go single-binary in a scratch image which is only 3MB, see my
swarm
image:
I hereby claim:
- I am voxxit on github.
- I am jdelsman (https://keybase.io/jdelsman) on keybase.
- I have a public key whose fingerprint is 108A 6856 B063 C346 5E18 E5E0 4D5B 0821 3624 A862
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "C" | |
//export add | |
func add(a, b int) int { | |
return a + b | |
} | |
func main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
MAINTAINER Joshua Delsman <j@srv.im> | |
EXPOSE 443 | |
ENV NGINX_VERSION 1.9.3 | |
RUN apk add --update openssl-dev pcre-dev zlib-dev build-base \ | |
&& rm -rf /var/cache/apk/* \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
instanceID=$1 | |
date=$(date +%Y%m%d) | |
function downloadLog () { | |
local log=$1 | |
aws rds download-db-log-file-portion \ | |
--output text \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os" | |
"strconv" | |
"github.com/codegangsta/cli" | |
"github.com/gin-gonic/gin" | |
"github.com/mediocregopher/radix.v2/redis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>hashicorp.vault.server</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>hashicorp.consul.server</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
# Root user required | |
if [ "$(id -u)" != "0" ]; then | |
echo "Sorry, you must be root to install dd-agent" && exit 1 | |
fi | |
# Python and sysstat are required | |
if ! command -v python &>/dev/null; then echo "Python not installed" && exit 1; fi |