I hereby claim:
- I am odbol on github.
- I am odbol (https://keybase.io/odbol) on keybase.
- I have a public key ASCGfcow9kaIAW9XZ6jpjOlbnPZLbHm7arhB8gKESG9pHAo
To claim this, I am signing this object:
| import {Deferred} from './Deferred.js'; // See https://gist.github.com/odbol/1a98cf6186caaace78cae9e7a249c992 | |
| /** | |
| * A PendingRequest. | |
| */ | |
| export interface PendingRequest<T> { | |
| /** | |
| * Id of the request for resolving/rejecting later. | |
| */ | |
| requestId: number; |
| /** | |
| * A Promise that you can resolve or reject after the fact. | |
| */ | |
| export class Deferred<T> { | |
| private _resolve?: (result: T) => void; | |
| private _reject?: (error: Error) => void; | |
| promise: Promise<T>; | |
| constructor() { | |
| this.promise = new Promise((resolve, reject) => { |
| export type float = number; | |
| /** | |
| * Interpolate a value with specified extrema, to a new value between new extrema. | |
| * | |
| * @param value the current value | |
| * @param inputMin minimum the input value can reach | |
| * @param inputMax maximum the input value can reach | |
| * @param outputMin minimum the output value can reach | |
| * @param outputMax maximum the output value can reach |
| import {promises as fs} from 'fs'; | |
| import os from 'os'; | |
| import { parse } from 'csv-parse/sync'; | |
| /** | |
| * Creates a credential provider to pass to S3Client which reads a credentials | |
| * CSV downloaded from the AWS console. | |
| * | |
| * @param csvFile string path of the CSV file from AWS console. | |
| * @returns a Provider<Credentials> to give to S3Client as the credentials option. |
| I am attesting that this GitHub handle odbol is linked to the Tezos account tz1cdfM7UEtbMt6fMUyGJ4sf5UVNMHEwnEGZ for tzprofiles | |
| sig:edsigtY7ADXz4xbHrP1P6pQx9fJiZ9piF9bw1fTBhVfKLT1AaZp5X6dfZSey3RirZc1NGxb3spS9eqXGKvhe7fS4zVdgwfXa5DE |
| package com.odbol.rx | |
| import com.google.android.gms.tasks.Task | |
| import com.google.firebase.firestore.DocumentReference | |
| import com.google.firebase.firestore.DocumentSnapshot | |
| import com.google.firebase.firestore.ListenerRegistration | |
| import io.reactivex.Emitter | |
| import io.reactivex.Observable | |
| import io.reactivex.Single | |
| import io.reactivex.SingleEmitter |
| package com.xxx.xxx.preference; | |
| package com.odbol.android; | |
| import java.text.DateFormat; | |
| import java.text.ParseException; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| import java.util.Locale; | |
| import android.content.Context; |
I hereby claim:
To claim this, I am signing this object:
| package com.odbol.utils; | |
| /** | |
| * Various utilities for animation and graphics. | |
| */ | |
| public class AnimationUtils { | |
| /** | |
| * Interpolate a value with specified extrema, to a new value between new extrema. | |
| * |
| /** | |
| * Handles logging in to Firebase. | |
| */ | |
| class Authentication { | |
| authPromise; | |
| constructor() { | |
| this.authPromise = new Promise((resolve, reject) => { | |
| firebase.auth().onAuthStateChanged(function(user) { | |
| if (user) { |