Skip to content

Instantly share code, notes, and snippets.

@0x00000002
0x00000002 / asdf.js
Created November 12, 2018 07:10
asdf
import R from 'ramda'
export const wrapCallback = (callback, event) => (error, response) => {
const truthy = (obj) => obj !== undefined
const hasParams = (p1, p2) => R.compose(truthy, R.both(R.prop(p1), R.prop(p2)))
const isLambdaProxy = hasParams('pathParameters', 'queryStringParameters')(event)
const isCustom = hasParams('path', 'query')(event)
const headers = { 'Access-Control-Allow-Origin': '*' }
const okStatusCode = 200
@0x00000002
0x00000002 / index.html
Created June 21, 2023 11:13
Vesting schedules
<h1>Employee vestings</h1>
<div>
<input id="wallet" type="text" placeholder="wallet address"/>
<button id="fetch">CALCULATE</button>
</div>
<section id="schedules">
</section>
@0x00000002
0x00000002 / index.html
Created June 21, 2023 11:13
Vesting schedules
<h1>Employee vestings</h1>
<div>
<input id="wallet" type="text" placeholder="wallet address"/>
<button id="fetch">CALCULATE</button>
</div>
<section id="schedules">
</section>

Keybase proof

I hereby claim:

  • I am 0x00000002 on github.
  • I am webb3dev (https://keybase.io/webb3dev) on keybase.
  • I have a public key ASBHzvK-aU3xPpsITqdms2TeOpxprLClfp60jJjHqwdskwo

To claim this, I am signing this object: