Skip to content

Instantly share code, notes, and snippets.

View kenwheeler's full-sized avatar
🌭
PRs Welcome

Ken Wheeler kenwheeler

🌭
PRs Welcome
View GitHub Profile
open ReactNative;
type targetDimensions = {
x: float,
y: float,
width: float,
height: float
};
type _state = {
The HIT License (HIT)
Copyright (c) 2017 Ken Wheeler
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
var player = require('play-sound')((opts = {}));
var path = require('path');
function JeopardyPlugin(options) {}
JeopardyPlugin.prototype.apply = function(compiler) {
var audio;
compiler.plugin('compile', function() {
var build = path.join(process.cwd(), '/configuration/webpack/jeopardy.mp3');
audio = player.play(build);
This file has been truncated, but you can view the full file.
❯ npm run diff
> [email protected] diff /Users/kenwheeler/Projects/formidable.com-aws
> diff -Naur site-old site || true
diff -Naur site-old/open-source/builder/index.html site/open-source/builder/index.html
--- site-old/open-source/builder/index.html 2016-11-01 13:30:32.000000000 -0400
+++ site/open-source/builder/index.html 2016-11-30 17:36:50.000000000 -0500
@@ -18,7 +18,7 @@
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.4.1/themes/prism.min.css" rel="stylesheet" type="text/css">
@kenwheeler
kenwheeler / init.js
Last active November 30, 2016 21:52
"use strict";
module.exports = {
destination: {
default: function (data) {
return data.packageName;
}
},
type floatPointType = {x: float, y: float};
type intPointType = {x: int, y: int};
type wCoordType =
| WCoord floatPointType;
type gCoordType =
| GCoord intPointType;

My year in open source at Formidable

In this talk Ken Wheeler will detail his year in open source at Formidable. During the past year he has created libraries like Spectacle, react-music & react-game-kit, and worked on libraries such as Victory and Spectacle Editor. He will be showing demos of the fun stuff they are building at Formidable and speaking to what we can expect from them in the future.

React Europe Talk
# Cross Platform Charting With React & React Native
Ken Wheeler | ken_wheeler
***
![Pyramid Graphic](http://i.imgur.com/NPYu64W.png)
***
// Slide 1
My name is Ken Wheeler, I work at Formidable and I’m here to talk about charts. Specifically, creating charts with React & React Native
// Slide 2
At formidable, we’ve historically done our data viz with d3. Then this hot new super cool “view library” called React came out, and it was time to figure out how to built our charts in its ecosystem.
// Slide 3
Naturally, we wanted to continue using d3, so we had to figure out how to integrate it with React. There are two main ways to do this.
// Slide 4

vim-thug-mode

So you want your vim to be straight up aquafina polar bear status? That maraschino cherry gold plated butterscotch library book shit?

Well iight den. Do this.

  1. Holla at your .vimrc/.nvimrc file, and put these plugins in:
Plugin 'pangloss/vim-javascript'