Skip to content

Instantly share code, notes, and snippets.

@jlstrater
jlstrater / SampleIncludeProcessor
Created March 31, 2019 10:07
The Asciidoctor processor we use to include files from the samples directory in Gradle guides (and add some nice formatting)
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jlstrater
jlstrater / MultiLanguageSamplesDocinfoProcessor.java
Created March 31, 2019 09:59
The Asciidoctor Processor we use to create the side-by-side Groovy/Kotlin tabs in the Gradle docs and guides
/*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software

Keybase proof

I hereby claim:

  • I am jlstrater on github.
  • I am codejennerator (https://keybase.io/codejennerator) on keybase.
  • I have a public key whose fingerprint is 1C2B C59E E90C 5EC8 CD3A 6881 8556 081D 05EF F943

To claim this, I am signing this object:

@jlstrater
jlstrater / bananabread.txt
Last active February 15, 2018 07:29
Banana Bread Recipe
Banana Bread (adapted from the St. Peter's Catholic Church Cookbook from my childhood)
1/2 cup butter (about half a 250g bar) softened
1 1/4 cup sugar (about 250 g)
2 eggs
1 1/2 cup flour (about 180 g)
3/4 tsp baking powder
2 1/2 tsp milk
1/2 tsp vinegar
1 tsp vanilla