Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt mattfysh

View GitHub Profile
@mattfysh
mattfysh / main.cpp
Created Feb 1, 2020
Runtime symbols
View main.cpp
#include <iostream>
using namespace std;
template<typename T>
T make_symbol(T value, string metadata);
template<typename T>
string get_symbol_for(T value);
View utils.js
window.utils = (function() {
function touch(el, type, listener) {
if (type === 'tap') {
var isDragging, startPos;
function touchStart(e) {
el.addEventListener('touchmove', touchMove);
el.addEventListener('touchend', touchEnd);
isDragging = false;
You can’t perform that action at this time.