Skip to content

Instantly share code, notes, and snippets.

@jabrown85
jabrown85 / example.go
Created January 21, 2021 18:57
Brain dump on lifecycle organization
// analyzer.go
type AnalyzerService interface {
Analyze(group buildpack.BuildpackGroup, layersDir string, skipLayers...)
}
type analyzerService struct {
// this would implement AnalyzerService
}
@jabrown85
jabrown85 / idea.toml
Last active January 17, 2020 19:34
Riff buildpacks with provides/requires interface
[[order]]
[[order.group]]
id = "cloudfoundry/openjdk-jre"
version = "1.0.0"
optional = true
[[order.group]]
id = "cloudfoundry/jvm-application"
version = "1.0.0"
optional = true
@jabrown85
jabrown85 / AspNetCoreSentryRequestFactory.cs
Last active April 12, 2019 13:25
A basic implementation of sentry for aspnet core using existing RavenSharp (full .NET framework required)
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using SharpRaven.Data;