Skip to content

Instantly share code, notes, and snippets.

View cunnie's full-sized avatar

Brian Cunnie cunnie

View GitHub Profile
@cunnie
cunnie / qps.json
Last active February 7, 2026 18:05
sslip.io queries per second
{
"schemaVersion": 1,
"label": "Queries / second",
"message": "8149",
"color": "blue"
}
@cunnie
cunnie / blocklist.txt
Last active August 16, 2025 20:21
sslip.io / nip.io: a list of hosts and hostnames to block because they're phishers, scammers, or grifters
# List of "Forbidden" (blocked) names & CIDRs
# This is a list of forbidden names and CIDRs that are often used in phishing
# attacks. We won't resolve these hostnames to their embedded IP address (e.g.
# we won't resolve "raiffeisen.94.228.116.140.sslip.io" to 94.228.116.140);
# instead, we'll resolve it to one of our server's, blocked.sslip.io's, IP
# addresses, 52.0.56.137 or 2600:1f18:aaf:6900::a. Similarly, we won't resolve
# nf-43-134-66-67.sslip.io to 43.134.66.67 because it falls within one of our
# blocked CIDRs (43.134.66.67/24).
@cunnie
cunnie / vmc.yml
Created December 8, 2020 21:51
Concourse Pipeline to Partially Deploy Tanzu Ops Manager & BOSH on VMware VMC
jobs:
- name: configure-director
plan:
- in_parallel:
steps:
- get: nsx-t-ci-pipeline
- get: pcf-ops-manager
params:
globs: []
- in_parallel:

Keybase proof

I hereby claim:

  • I am cunnie on github.
  • I am cunnie (https://keybase.io/cunnie) on keybase.
  • I have a public key ASABM66MoYAcFHdq2F_dT6Mxdu2Yw0kFznMrvPiUoIh6Jgo

To claim this, I am signing this object:

@cunnie
cunnie / addtrustexternalcaroot.crt
Last active May 9, 2018 20:41
Assets for Blog Post "How to Install a TLS Certificate on vCenter Server Appliance (VCSA) 6.7"
-----BEGIN CERTIFICATE-----
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
@cunnie
cunnie / evanbrown.txt
Created August 10, 2016 21:57
`bosh` deployment output for Evan Brown to troubleshoot
bosh create-env evanbrown.yml -l <(lpass show --note deployments)
Deployment manifest: '/Users/cunnie/workspace/deployments/evanbrown.yml'
Deployment state: '/Users/cunnie/workspace/deployments/evanbrown-state.json'
Started validating
Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh'... Finished (00:00:01)
Downloading release 'bosh-google-cpi'... Skipped [Found in local cache] (00:00:00)
Validating release 'bosh-google-cpi'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
@cunnie
cunnie / bosh-aws.sh
Created November 28, 2017 03:04
Description of a terse script to deploy a BOSH director to AWS
#!/bin/bash
# We abort the script as soon as we hit an error (as soon as a command exits
# with a non-zero exit status)
set -e
# `cunnie-deployments` is the checked-out GitHub repo that contains our BOSH
# manifests and our directors' `-state.json` files; it also contains this
# script (task script) and task definition.
pushd cunnie-deployments
@cunnie
cunnie / moduli-1024.candidates
Created October 7, 2017 18:40
simple single-threaded benchmark: `time ssh-keygen -T moduli-1024 -f moduli-1024.candidates`
This file has been truncated, but you can view the full file.
20170420200615 4 2 203277289 1022 0 7F60F6D19A0C8E7D71FC6DAB4E6BEAAE38BE488331DDCF45BB9E5D04BB10856B461A10AECF09703867EC18B508011702AF5976EAE41C7538FB80D1616B4D144FFB589E4D37DA23DCD56523296B8B83F95BD97D91D37D676DC9209E45561BF01FBF710241C60A94599EB1E2F9B34FEA80C4FAB8F60988B37A3A2DDE528177CA55
20170420200615 4 2 203277289 1022 0 7F60F6D19A0C8E7D71FC6DAB4E6BEAAE38BE488331DDCF45BB9E5D04BB10856B461A10AECF09703867EC18B508011702AF5976EAE41C7538FB80D1616B4D144FFB589E4D37DA23DCD56523296B8B83F95BD97D91D37D676DC9209E45561BF01FBF710241C60A94599EB1E2F9B34FEA80C4FAB8F60988B37A3A2DDE528177CB27
20170420200615 4 2 203277289 1022 0 7F60F6D19A0C8E7D71FC6DAB4E6BEAAE38BE488331DDCF45BB9E5D04BB10856B461A10AECF09703867EC18B508011702AF5976EAE41C7538FB80D1616B4D144FFB589E4D37DA23DCD56523296B8B83F95BD97D91D37D676DC9209E45561BF01FBF710241C60A94599EB1E2F9B34FEA80C4FAB8F60988B37A3A2DDE528177D223
20170420200615 4 2 203277289 1022 0 7F60F6D19A0C8E7D71FC6DAB4E6BEAAE38BE488331DDCF45BB9E5D04BB10856B461A10AECF09703867EC18B508011702AF5976EAE41C7
@cunnie
cunnie / f1-micro-vs-g1-small.txt
Created August 31, 2016 22:13
g1-small is 2x faster than f1-micro
Compiling package 's3cli/1c5a91f02feff8a0e3a506ac51c4a3140e86f049'... Finished (00:00:04)
Compiling package 'ruby/589d4b05b422ac6c92ee7094fc2a402db1f2d731'... Finished (00:08:39)
Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:02:11)
Compiling package 'libpq/09c8f60b87c9bd41b37b0f62159c9d77163f52b8'... Finished (00:01:18)
Compiling package 'golang/1ad977ce1c6fdbf21485a79567ef3d8d4d280110'... Finished (00:03:05)
Compiling package 'powerdns/256336d00b1689138490c385c03ad3a8f54b4a9e'... Finished (00:00:10)
Compiling package 'director/0f1b09ec6bb28ea13d2e919e71dd7ccd8ab49313'... Finished (00:06:14)
Compiling package 'nats/0155cf6be0305c9f98ba2e9e2503cd72da7c05c3'... Finished (00:01:04)
Compiling package 'registry/3aa0993cb8739fd4f5c6fc1e0da8e1cfdf6df247'... Finished (00:06:20)
Compiling package 'bosh-google-cpi/22b47cafcd455cb8f94e164e2049a4976f4dce1c'... Finished (00:02:48)
// copied from CMU Sphinx Samples
// typical invocation:
//
// javac Transcriber.java -cp /sphinx4-5prealpha-src/sphinx4-core/build/libs/sphinx4-core-5prealpha-SNAPSHOT.jar
// java -Xmx2g -cp /sphinx4-5prealpha-src/sphinx4-core/build/libs/sphinx4-core-5prealpha-SNAPSHOT.jar:/sphinx4-5prealpha-src/sphinx4-data/build/libs/sphinx4-data-5prealpha-SNAPSHOT.jar:. transcriber.Transcriber
//
// We don't need no package 'cause we're bad boys
// package com.example;
import java.io.File;