Skip to content

Instantly share code, notes, and snippets.


Paul Burke iPaulPro

View GitHub Profile
iPaulPro / bitclout-pg.js
Last active Dec 9, 2021
Query BitClout Postgres DB with public key
View bitclout-pg.js
const bs58check = require('bs58check')
const getPublicKeyBase64 = (publicKeyBase58Check) => {
const decoded = bs58check.decode(publicKeyBase58Check);
const payload = Uint8Array.from(decoded).slice(3);
return Buffer.from(payload).toString('base64');
const getPublicKeyBase58Check = (bytea) => {
const prefix = [0xcd, 0x14, 0x0];

Keybase proof

I hereby claim:

  • I am ipaulpro on github.
  • I am paulburke ( on keybase.
  • I have a public key ASBQ5efOeJFfyVzlSQ_JXlgj_oeCITzBnkcz6aPRfK36KQo

To claim this, I am signing this object:

iPaulPro / include_list_viewpager.xml
Last active Apr 9, 2022
CollapsingToolbarLayout with TabLayout
View include_list_viewpager.xml
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2015 The Android Open Source Project
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~ Unless required by applicable law or agreed to in writing, software