Skip to content

Instantly share code, notes, and snippets.

Avatar

Tad Fisher tadfisher

View GitHub Profile
@tadfisher
tadfisher / config.gz
Created Oct 28, 2020
reMarkable 2 linux configuration
View config.gz
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 4.14.78 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
CONFIG_MIGHT_HAVE_PCI=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
@tadfisher
tadfisher / trace.2415
Created Oct 24, 2020
reMarkable 2 strace dumps
View trace.2415
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
@tadfisher
tadfisher / default.nix
Created Jan 28, 2020
gradle2nix updateScript wrapper
View default.nix
{ callPackage, jre, makeWrapper }:
rec {
buildGradle = callPackage ./gradle-env.nix {};
gradle2nix = buildGradle {
envSpec = ./gradle-env.json;
src = import ./fetch-source.nix {};
gradleFlags = [ "installDist" ];
nativeBuildInputs = [ makeWrapper ];
View fwupd.txt
-- 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 / fabric.groovy
Created Jun 27, 2018
Fabric Gradle plugin property investigation
View fabric.groovy
class ProjectVariantState {
def COMMAND_LINE_BETA_PROPERTIES = [
"betaDistributionReleaseNotes",
"betaDistributionReleaseNotesFilePath",
"betaDistributionEmails",
"betaDistributionEmailsFilePath",
"betaDistributionGroupAliases",
"betaDistributionGroupAliasesFilePath",
"betaDistributionNotifications"
View AutofillInterceptor.kt
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 Sep 15, 2016
Dagger runtime component management idea
View ComponentStack.java
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 Jan 13, 2020
DefaultItemAnimator workarounds
View ExpandableItemAnimator.java
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;
/**
View 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:
View notmuchfail
==> 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)
You can’t perform that action at this time.