Skip to content

Instantly share code, notes, and snippets.

Brian Cunnie cunnie

Block or report user

Report or block cunnie

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
View keybase.md

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
Assets for Blog Post "How to Install a TLS Certificate on vCenter Server Appliance (VCSA) 6.7"
View addtrustexternalcaroot.crt
-----BEGIN CERTIFICATE-----
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
MB4XDTAwMDUzMDEwNDgzOFoXDTIwMDUzMDEwNDgzOFowbzELMAkGA1UEBhMCU0Ux
FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5h
bCBUVFAgTmV0d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9v
dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf3GjPm8gAELTngTlvt
H7xsD821+iO2zt6bETOXpClMfZOfvUq8k+0DGuOPz+VtUFrWlymUWoCwSXrbLpX9
uMq/NzgtHj6RQa1wVsfwTz/oMp50ysiQVOnGXw94nZpAPA6sYapeFI+eh6FqUNzX
@cunnie
cunnie / bosh-aws.sh
Created Nov 28, 2017
Description of a terse script to deploy a BOSH director to AWS
View bosh-aws.sh
#!/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 Oct 7, 2017
simple single-threaded benchmark: `time ssh-keygen -T moduli-1024 -f moduli-1024.candidates`
View 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
View Transcriber.java
// 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;
View bosh-links-why-and-how.md
@cunnie
cunnie / crontab
Last active Apr 1, 2017
IPv6 Troubleshooting Notes for IPv6 on AWS
View crontab
* * * * * root /bin/bash -x /usr/local/bin/recuperate.sh >> /tmp/recuperate.out 2>&1
@cunnie
cunnie / esxi_datastore_benchmarks.md
Last active Mar 31, 2017
Benchmarks of Datastores Used by My Skull Canyon NUC ESXi Host
View esxi_datastore_benchmarks.md

Intro

  • Ubuntu 14.04 512MB RAM
  • time bonnie++ -m "Freenas" -r 1024 -s 2048 -d /tmp/ -f -b -n 1 >> ~/bonnie.txt

FreeNAS iSCSI over 1GBe

102 MiB/s write, 121 MiB/s read, 87 seconds to complete.

Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
@cunnie
cunnie / ntp_abuse.txt
Created Oct 17, 2016
List of IP Addresses that Hetzner thinks I'm portscanning (but who are merely NTP clients)
View ntp_abuse.txt
Return-Path: <system-operation@hetzner.de>
Received: from [193.47.99.6] (helo=ext-monitoring1.your-server.de) by mail.hetzner.company with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from <system-operation@hetzner.de>) id 1bvqta-0001FG-Uv for network-abuse@hetzner.de; Sun, 16 Oct 2016 21:14:56 +0200
Received: from localhost ([127.0.0.1] helo=ext-monitoring1.your-server.de) by ext-monitoring1.your-server.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from <system-operation@hetzner.de>) id 1bvqrl-0006JQ-0j for network-abuse@hetzner.de; Sun, 16 Oct 2016 21:13:01 +0200
Received: from hosext1 by ext-monitoring1.your-server.de with local (Exim 4.85_2) (envelope-from <hosext1@ext-monitoring1.your-server.de>) id 1bvqrk-0006J9-Ji for network-abuse@hetzner.de; Sun, 16 Oct 2016 21:13:00 +0200
Date: Sun, 16 Oct 2016 21:13:00 +0200
From: root@monitoring2.rz1.hetzner.de (root)
To: network-abuse@hetzner.de
Message-ID: 1bvqta-0001FG-Uv@mail.hetzner.company
Subject: Por
View empty-six.yml
---
# bosh create-env empty-six.yml
name: empty
releases:
- name: bosh-vsphere-cpi
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=29
sha1: 1d56af20bbba21b9f79373b967b08caab1678161
resource_pools:
You can’t perform that action at this time.