Skip to content

Instantly share code, notes, and snippets.

@mattstratton
mattstratton / matt-stratton-speaker-rider.md
Last active January 7, 2022 19:02
Matt Stratton's Speaker Rider

Speaker Rider

by Matt Stratton

Last updated 4 November 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.

Considerations

😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

@mattstratton
mattstratton / main.go
Last active July 2, 2021 19:39
Using AWS Infinidash with Pulumi (golang example)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/i8h"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
@mattstratton
mattstratton / Brewfile
Last active April 9, 2020 18:32
Brewfile
# Taps
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "homebrew/cask-drivers"
tap "homebrew/services"
tap "devopsdays/tap"
tap "github/gh"
tap "heroku/brew"
@mattstratton
mattstratton / custom-castanet-colors-md
Last active November 16, 2019 02:59
Hacking a custom color scheme for the Castanet Hugo theme
If you use the [Castanet](https://www.github.com/mattstratton/castanet) theme for Hugo you can now have your own special theme (i.e., instead of "orange" or "blue", you want "my-cool-podcast" with your own variable colors). Here's kind of how to do it - I'll probably write a blog explaining it much better sometime.
Assuming you have the `castanet` theme inside of `themes` in your site's directory, here's the stuff you need to create/do/install. (for purposes of example, let's say your hugo site is called `hugocast`)
1. Install `node` and `npm` (you're on your own to do this)
1. Copy the `hugocast/themes/castanet/package.json` to `hugocast/package.json`
1. Feel free to edit the `hugocast/package.json` file to use your project's name and repo, but it's not strictly required, but it's probably a good practice.
1. Create the directory `hugocast/gulp/tasks`
1. Copy `hugocast/themes/castanet/gulpfile.js` to `hugocast/gulpfile.js`
1. Copy the contents of `sass.js` in this gist to `hugocast/gulp/tasks/sass.js` (re
@mattstratton
mattstratton / forgot-about-clay.md
Last active December 20, 2017 15:55
Forgot About Clay

"Forgot About Clay"
(feat. Patrick DeBois)


[Andrew Clay Shafer]
Y'all know me still the same OG
But I been low key
Hated on by most of these ops
With no skills, no tests, no quality, no empathy
No CI, no stories, and no speaker fees
Mad at me cause

@mattstratton
mattstratton / golang.md
Last active October 6, 2017 22:35
Resources for golang dev

Go Resources

This is just a collection of things that I have found useful in my journey through learning/working with Go.

Tools

  • goreleaser - deploy go applications to github releases. Also magically makes brew taps and supports FPM.
  • go-github-release - a toolchain around releasing code. I use a combination of the stuff in here along with goreleaser for devopsdays-cli
  • GoConvey - Write awesome tests and see them in the browser
  • goreporter - Generate Go quality test reports. Cry at how awful you are.
  • gorram - It's like go run for a function
@mattstratton
mattstratton / pipeline.md
Last active January 5, 2017 20:09
Wacky gulp asset pipeline using hugo and netlify and contributors without npm and gulp

Criteria

Be able to process the assets for a hugo based website using gulp, and serve them via Netlify. Contributors to the content of this site cannot be assumed to have anything installed locally besides the hugo binary.

Proposed Approach

File structure of main repo

.
+-- content
+-- data
+-- static

Starting job on builder ec2-54-158-195-255.compute-1.amazonaws.com at 2016-11-23T00:44:53+00:00.
Command: delivery job acceptance functional --server automate-server.mattstratton.com --user builder --ent bluth --org bluth --project azure_test --for master --change-id 8c743c9a-a9a4-4262-86d8-893017cfce2d --shasum 6753047778528fdee0fdfab6fe7a4ffe623c2457 --git-url ssh://builder@bluth@automate-server.mattstratton.com:8989/bluth/bluth/azure_test
Chef Delivery
Loading configuration from /var/opt/delivery/workspace
Starting job for azure_test acceptance functional
Creating workspace in /var/opt/delivery/workspace/automate-server.mattstratton.com/bluth/bluth/azure_test/master/acceptance/functional
Cloning repository, and merging 6753047778528fdee0fdfab6fe7a4ffe623c2457 to master
Configuring the job
Running the job
Setting up
@mattstratton
mattstratton / bluth-azure_test-master-acceptance-functional-131.txt
Created November 22, 2016 15:03
Errors using kitchen-azurerm in delivery-sugar
Starting job on builder build-node-1.mattstratton.com at 2016-11-21T23:43:38+00:00.
Command: delivery job acceptance functional --server automate-server.mattstratton.com --user builder --ent bluth --org bluth --project azure_test --for master --change-id f5ba9427-92f9-48af-b38c-a767a9fed1a8 --shasum 931a51d96f8e85d90e129f68f07f94a29baca2a9 --git-url ssh://builder@bluth@automate-server.mattstratton.com:8989/bluth/bluth/azure_test
Chef Delivery
Loading configuration from /var/opt/delivery/workspace
Starting job for azure_test acceptance functional
Creating workspace in /var/opt/delivery/workspace/automate-server.mattstratton.com/bluth/bluth/azure_test/master/acceptance/functional
Cloning repository, and merging 931a51d96f8e85d90e129f68f07f94a29baca2a9 to master
Configuring the job
Running the job
Setting up the builder