Skip to content

Instantly share code, notes, and snippets.

const INITIAL_TOKENS_CONTEXT = [
{
'0x960b236A07cf122663c4303350609A66A7B288C0': {
'name': 'Aragon Network Token',
'symbol': 'ANT',
'decimals': 18,
'exchange_address': '0x077d52B047735976dfdA76feF74d4d988AC25196'
},
'0x0D8775F648430679A709E98d2b0Cb6250d2887EF': {
'name': 'Basic Attention Token',
@callil
callil / SketchSystems.spec
Last active July 16, 2019 19:33
Web3 Status
Web3 Status
Web3 Unavailable -> Unavailable
Web3 Available -> Uniswap Approved
Web3 Testnet -> Testnet
Uniswap Approved
Approved -> Connected
Not Approved Mobile -> Approve
Not Approved Desktop -> Disconnected
Not Logged In Desktop -> Logged Out
@callil
callil / dat.txt
Last active March 24, 2019 21:05
Dat links
dat://08609440ad1c882fa9ab5c114712b6584c984096a8bd7dee3d5c2376fb1db2e3/
dat doctor 58d16dd3bc65faf8e306d7e87477438a37ce4d4405fa0621d3c38eff29a24fa8
dat://eed956eb285bb2fddc85c419986bdad127f5745bdf5e9aad23ab8be8425622f6/
@callil
callil / index.js
Last active February 5, 2018 17:07
Choo onload
var choo = require('choo')
var html = require('choo/html')
var app = choo()
var main = require('./views/main.js')
var store = require('./stores/store.js')
app.use(store)
app.route('/', main)
@callil
callil / index.js
Last active February 2, 2018 22:00
Choo simple store & view change
var choo = require('choo')
var html = require('choo/html')
var app = choo()
var main = require('./views/main.js')
var store = require('./stores/store.js')
app.use(store)
app.route('/', main)
app.mount('body')
vid = new VideoLayer
video:"https://dl.dropboxusercontent.com/u/106558909/04/psd_LSC.framer/polar_ravit.mp4"
x: 0
y: 0
width: 1366
height: 750
vid.player.loop = true
vid.player.autoplay = true
@callil
callil / Sparkcore128x32i2c
Created July 4, 2014 01:54
Simple implementation of the sample script for the Adafruit 128x32 i2c OLED on the spark core. Based off this thread (https://community.spark.io/t/adafruit-ssd1306-library-ported/3505/48) and code from @pkourany (https://github.com/pkourany/Adafruit_SSD1306)
// This #include statement was automatically added by the Spark IDE.
#include "Adafruit_GFX.h"
// This #include statement was automatically added by the Spark IDE.
#include "Adafruit_SSD1306.h"
/*********************************************************************
This is an example for our Monochrome OLEDs based on SSD1306 drivers