Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Johnstone Widdershin

View GitHub Profile
@ekmett
ekmett / CEK.hs
Created Jul 22, 2018
Simple CEK Machine
View CEK.hs
{-# language StrictData #-}
module CEK where
-- C -- Control
-- E -- Environment
-- (S) -- Store
-- K -- Continuation
data Exp
= Var String
View deeplearning.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View rspec_hierarchy.md

Context and Describe

We tend to use describe() for things and context() for context

RSpec book

Describe

  • wrap a set of tests 'against one functionality'
@staltz
staltz / index.ios.js
Created Apr 7, 2015
Experiment with Cycle.js and React Native
View index.ios.js
'use strict';
var React = require('react-native');
var Cycle = require('cyclejs');
var {Rx, h} = Cycle;
var createExperimentalIOSRenderer = require('./src/ios-renderer.ios.js');
var {StyleSheet, Text, TextInput, View} = React;
var styles = StyleSheet.create({
container: {
@kellective
kellective / sds.md
Last active Jun 18, 2021
Shit developers say
View sds.md

Overheard in my team (circa 2015)

In a fit of refactoring madness I have gone and changed a lot

Did you seriously just give ME nil?... No!

If the shit sticks, then we put nice paint on it

Fucking red dot motherfucker (Ben and his failing specs)

@staltz
staltz / introrx.md
Last active Jul 1, 2022
The introduction to Reactive Programming you've been missing
View introrx.md