Skip to content

Instantly share code, notes, and snippets.

Eric Wyne ecwyne

Block or report user

Report or block ecwyne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bruno-use-async.ts
import { useState, useEffect, useCallback } from 'react';
type AsyncState<TData, TError = Error> = {
status: 'idle' | 'loading' | 'finished' | 'failed';
data?: TData;
error?: TError;
type AsyncOptions<TArgs> = {
onLoad?: boolean;
ecwyne /
Last active May 29, 2019 Error Findings

Opening in chrome browser results in the following error message.

This page contains the following errors:
error on line 92 at column 1: expected '>'
Below is a rendering of the page up to the first error.

Firefox returns the following error

View Fauna Index Lessons

Consider the following example. We have a sales class that has instances with the following shape.

  date: '2019-04-21',
  total: 1050,
  salesperson: Ref(Class('users'), '1234')
ecwyne / CampFireHousing.ts
Last active Jul 23, 2019
Serverless CampFireHousing
View CampFireHousing.ts
import fetch from 'node-fetch';
import Twitter from 'twit';
import { parse, format } from 'fecha';
import { take } from 'ramda';
const T = new Twitter({
consumer_key: 'consumer_key',
consumer_secret: 'consumer_secret',
ecwyne /
Last active Apr 20, 2017
Documentation for hydra.ready()


Returns promise that resolves when initialization is complete.

* @name ready
* @summary returns promise that resolves when initialization is complete
* @return {object} promise - resolving if init success or rejecting otherwise
View cellular-automata.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Cellular Automata</title>
<script type="text/javascript" src=""></script>
.cell {
width: 5px;
height: 5px;
ecwyne /
Created Oct 12, 2014
meteor-polymer issue #16 debugging code
[Sat Oct 11 2014 22:47:29 GMT+0000 (UTC)] INFO HIT /bower_components/core-popup-menu/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-header-panel/bower_components/core-hea
View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
You can’t perform that action at this time.