Skip to content

Instantly share code, notes, and snippets.

@friedger
friedger / gist:d6fa42a9a8331abb82db2805b6dc0675
Created March 20, 2019 20:36
Google Apps Script to massage Blockstack App Mining results
var months = ["March 2019 w/ Digital Rights Reviewer", "March 2019", "February 2019", "January 2019", "December 2018"]
function all() {
var overview = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Overview")
overview.clear();
var appRankings = {};
perMonth("March 2019 w/ Digital Rights Reviewer", appRankings, 0, 1, 36, 10, 26, 21, 32)
perMonth("March 2019", appRankings, 0, 1, 30, 10, 26, 21, -1)
perMonth("February 2019", appRankings, 0, 1, 29, 16, 8, 26, -1 )
Verifying my Blockstack ID is secured with the address 1Maw8BjWgj6MWrBCfupqQuWANthMhefb2v https://explorer.blockstack.org/address/1Maw8BjWgj6MWrBCfupqQuWANthMhefb2v
Verifying my Blockstack ID is secured with the address 15v6Eh5fuJ5gLURDfs24EdtCMtreodKHr4
0x3293c8Ef0c58f93a8DBC6Ec9B7853b8Ca6BF80c6
Verifying that "friedger.id" is my Blockstack ID. https://onename.com/friedger

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@friedger
friedger / gist:a83d909b1374aea8278a87b3a0a8f79b
Created April 16, 2017 20:20
Deep Link Redirect to browser
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.widget.Toast;
This is for blockchain ID verification
mueffke@ubuntu:~/Android/_dev/_repos/github/novoda/arte$ ./gradlew build --debug >log.txt
14:30:03.444 [ERROR] [org.gradle.BuildExceptionReporter]
14:30:03.448 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
14:30:03.449 [ERROR] [org.gradle.BuildExceptionReporter]
14:30:03.450 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
14:30:03.450 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:lint'.
14:30:03.451 [ERROR] [org.gradle.BuildExceptionReporter] > Comparison method violates its general contract!
14:30:03.454 [ERROR] [org.gradle.BuildExceptionReporter]
14:30:03.454 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
14:30:03.456 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:lint'.
@friedger
friedger / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<polymer-element name="my-element">