Skip to content

Instantly share code, notes, and snippets.

bdadam / fp-in-js.txt
Last active Dec 12, 2017
Links to some Functional Programming resources in JavaScript in no particular order
View fp-in-js.txt
Functional Programming Jargon in simple terms:
Professor Frisby's Mostly Adequate Guide to Functional Programming (book):
A series on FP in JS from Eric Elliott:
Some introduction to Monads:
bdadam / 1-ajax.js
Last active Feb 28, 2017
View 1-ajax.js
const vehicleToHtml = obj => {
return `<div id="${}">${}</div>`;
url: '/get/all/vehicles',
success: vehicles => {
const html =;
// const html = => new Vehicle(v)).map(v => v.toHtml());
document.querySelector('#list').innerHTML = html;
bdadam / example.html
Created Jan 30, 2014
Adding tabs to simple textareas
View example.html
<!doctype html>
<meta name="charset" content="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="author" content="Adam Beres-Deak"/>
<meta name="viewport" content="width=device-width"/>
body {
You can’t perform that action at this time.