Skip to content

Instantly share code, notes, and snippets.

==> 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
==> 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)
@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:
@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 / 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 / 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 / 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 / fwupd.txt
Created August 15, 2018 21:13
fwupd logs
-- Logs begin at Mon 2018-07-02 12:37:49 PDT, end at Wed 2018-08-15 14:11:36 PDT. --
Aug 15 14:09:44 curie systemd[1]: Starting Firmware update daemon...
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0974 Fu Verbose debugging enabled (on console 0)
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 As run FuEngine:load
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 Fu Daemon configuration /nix/store/89w6y6kaimpdb86vs116dgkprgrvz3gj-fwupd-1.1.0/etc/fwupd/daemon.conf not found
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 Fwupd looking for os-release at /etc/os-release
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 As run AsStore:load-installed{/nix/store/89w6y6kaimpdb86vs116dgkprgrvz3gj-fwupd-1.1.0/share/fwupd/metainfo}
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 As adding existing file: /nix/store/89w6y6kaimpdb86vs116dgkprgrvz3gj-fwupd-1.1.0/share/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
Aug 15 14:09:44 curie fwupd[7025]: 21:09:44:0975 As adding existing file: /nix/
@tadfisher
tadfisher / default.nix
Created January 28, 2020 21:59
gradle2nix updateScript wrapper
{ callPackage, jre, makeWrapper }:
rec {
buildGradle = callPackage ./gradle-env.nix {};
gradle2nix = buildGradle {
envSpec = ./gradle-env.json;
src = import ./fetch-source.nix {};
gradleFlags = [ "installDist" ];
nativeBuildInputs = [ makeWrapper ];
@tadfisher
tadfisher / trace.2415
Created October 24, 2020 22:13
reMarkable 2 strace dumps
This file has been truncated, but you can view the full file.
execve("/usr/bin/xochitl", ["xochitl", "--system"], 0x7edd49b8 /* 27 vars */) = 0
brk(NULL) = 0x240c000
uname({sysname="Linux", nodename="reMarkable", ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76fb8000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6737, ...}) = 0
mmap2(NULL, 6737, PROT_READ, MAP_PRIVATE, 3, 0) = 0x76fb6000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libpdfium.so", O_RDONLY|O_CLOEXEC) = 3