Skip to content

Instantly share code, notes, and snippets.

View davesag's full-sized avatar
:octocat:
Coding

Dave Sag davesag

:octocat:
Coding
View GitHub Profile
@davesag
davesag / ir-sockets-demo.html
Last active July 15, 2019 05:56
Realtime Buy and Sell orders on Independent Reserve
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Independent Reserve WebSockets Demo</title>
<script>
const SORTS = {
buy: (a, b) => b - a,
sell: (a, b) => a - b
}
@davesag
davesag / iMobilePrivacyPolicy.md
Created August 3, 2019 07:31
irMobile Privacy Policy

Privacy Policy for the irMobile app.

Your data is yours.

The app allows you to enter your personal Independent Reserve API Secret and Key and this data is stored locally in your device.

Your key and secret are used exclusively to access your account information via the Independent Reserve API.

That data is never used for anything else.

@davesag
davesag / Fox.js
Created April 24, 2021 11:10
A React wrapper for the MetaMask Fox logo
/**
* uses the @metamast/logo package to provide the core code.
* sometimes it's a bit sticky.
* The underlying code does a bunch of raw DOM manipulation so makes React a bit funny.
* see https://github.com/MetaMask/logo
*
* use <Fox followMouse slowDrift />
*/
import { useRef, useEffect, useMemo } from 'react'