Skip to content

Instantly share code, notes, and snippets.

View keiththompson's full-sized avatar

Keith Thompson keiththompson

View GitHub Profile
openapi: 3.0.0
info:
description: Serverless demo application
version: "1.0.0-oas3"
title: Simple Todo API
contact:
email: keithjoethompson@gmail.com
tags:
- name: Todo Application

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@keiththompson
keiththompson / HeaderFooterItemDecoration.java
Created December 13, 2017 10:08
An ItemDecoration that will draw a given Drawable as a header and or a footer on your RecyclerView.
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.annotation.IntDef;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@keiththompson
keiththompson / balancing.sh
Last active December 13, 2021 09:58
CircleCI’s parallelization: junit tests with Gradle
#!/usr/bin/env bash
testFiles=$(find ./{app}/src/test/java/{your}/{package}/{name} -name '*.java' | sort | awk "NR % ${CIRCLE_NODE_TOTAL} == ${CIRCLE_NODE_INDEX}")
./gradlew test -PtestFilter="$testFiles"