Skip to content

Instantly share code, notes, and snippets.

@tadfisher
tadfisher / fabric.groovy
Created June 27, 2018 19:50
Fabric Gradle plugin property investigation
class ProjectVariantState {
def COMMAND_LINE_BETA_PROPERTIES = [
"betaDistributionReleaseNotes",
"betaDistributionReleaseNotesFilePath",
"betaDistributionEmails",
"betaDistributionEmailsFilePath",
"betaDistributionGroupAliases",
"betaDistributionGroupAliasesFilePath",
"betaDistributionNotifications"
@tadfisher
tadfisher / AutofillInterceptor.kt
Created August 17, 2017 20:13
AutofillKiller
import android.os.Build
import android.view.View
import io.github.inflationx.viewpump.InflateResult
import io.github.inflationx.viewpump.Interceptor
import javax.inject.Inject
class AutofillKillerInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): InflateResult {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
@tadfisher
tadfisher / ComponentStack.java
Created September 15, 2016 19:33
Dagger runtime component management idea
package com.banksimple.dagger;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
/**
@tadfisher
tadfisher / ExpandableItemAnimator.java
Last active October 4, 2021 14:55
DefaultItemAnimator workarounds
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewCompat;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import java.util.List;
/**
@tadfisher
tadfisher / keybase proof
Created March 6, 2014 21:03
Keybase proof
### Keybase proof
I hereby claim:
* I am tadfisher on github.
* I am tad (https://keybase.io/tad) on keybase.
* I have a public key whose fingerprint is 8728 8002 68DD C929 09D5 05F3 AF27 E9AD 827E 9332
To claim this, I am signing this object:
==> Installing notmuch dependency: xapian
==> Downloading http://oligarchy.co.uk/xapian/1.2.13/xapian-core-1.2.13.tar.gz
Already downloaded: /Library/Caches/Homebrew/xapian-1.2.13.tar.gz
==> ./configure --prefix=/usr/local/Cellar/xapian/1.2.13
==> make install
🍺 /usr/local/Cellar/xapian/1.2.13: 438 files, 16M, built in 51 seconds
==> Installing notmuch
Error: notmuch dependency xapian was built with the following
C++ standard library: libc++ (from clang)
==> Downloading http://fishshell.com/files/2.0.0/fish-2.0.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/fish-2.0.0.tar.gz
tar xf /Library/Caches/Homebrew/fish-2.0.0.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file configure.ac
patching file reader.cpp
Hunk #1 succeeded at 3035 with fuzz 2.
==> autoconf
autoconf