I hereby claim:
- I am helveticascenario on github.
- I am hscenario (https://keybase.io/hscenario) on keybase.
- I have a public key ASDg1rzH-1Ivxrp6KjnBG2XbbTx9a8AvSbzoqwfyYYWmLQo
To claim this, I am signing this object:
/* | |
Description: JS snippet to determine how many games you have in your humble bundle library | |
for a given platform. it won't filter duplicates (it does happen, but its rare) and it | |
will only count the ones in the main list(s), which appear to only be the drm free ones, | |
so those purchased via bundles that only give you steam keys, such as the humble THQ | |
bundle or the humble jumbo bundle, wont be included in the count. | |
Instructions: navigate to your main humble bundle library, select one of the platform | |
filters (eg. Windows, Mac OS X), open the browser console (in Chrome on mac the | |
shortcut is cmd-alt-j), and copy this snippit into the prompt and press |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
{\& "&", \< "<", \> ">", \" """, \' "&apos"} |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta charset=utf-8 /> | |
<title>liveFyre assessment</title> | |
</head> | |
<body> | |
<canvas id="myChart" width="1200" height="400"></canvas> |
/* | |
This is an extension of the famo.us Surface type. It behaves the exact same except that the content | |
property holds a ProxyConstructor object (the type that gets returned by any of the React component | |
functions such as those in React.DOM or created by React.createClass) instead of a string or Node. | |
One thing to note is that the component fed in to content will get an extra prop, _surface, which | |
is the surface object that holds it | |
example usage | |
var TestComponent = React.createClass({ |
function createListener() { | |
console.log('creating new listener'); | |
var recognition = new webkitSpeechRecognition(); | |
recognition.continuous = true; | |
recognition.interimResults = true; | |
var res = []; | |
recognition.onresult = function(event) { | |
for (var i=0; i < event.results.length; i++) { | |
var resultList = event.results[i]; | |
if (!resultList.isFinal) { |
import * as React from 'react' | |
import testContent from './content' | |
import { make2dContext, throttle } from './utils' | |
interface EditorState { | |
readonly font: string | |
readonly str: string | |
readonly words: ReadonlyArray<string> | |
readonly lines: ReadonlyArray<string> |
import * as R from 'ramda' | |
const _handleChangeCurried = function<S, P>() { | |
return <K extends keyof S>() => { | |
return R.curry< | |
React.Component<any, S>, | |
K, | |
React.FormEvent<HTMLInputElement>, | |
void | |
>((self, key, e) => |
I hereby claim:
To claim this, I am signing this object:
!function(t){function e(r){if(n[r])return n[r].exports;var u=n[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,e),u.l=!0,u.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=122)}([function(t,e,n){"use strict";function r(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return Object(c.a)(n)?e:Object(u.a)(function(e){return t(n,e)});default:return Object(c.a)(n)&&Object(c.a)(r)?e:Object(c.a)(n)?Object(u.a)(function(e){return t(e,r)}):Object(c.a)(r)?Object(u.a)(function(e){return t(n,e)}):t(n,r)}}}e.a=r;var u=n(1),c=n(27)},function(t,e,n){"use strict";function r(t){return function e(n){return 0===arguments.length||Object(u.a)(n)?e:t.apply(this,arguments)}}e.a=r;var u=n(27)},function(t,e,n){"use strict";functio |