Skip to content

Instantly share code, notes, and snippets.

View sroucheray's full-sized avatar

Stéphane Roucheray sroucheray

View GitHub Profile

In this tutorial we're going to build a set of parser combinators.

What is a parser combinator?

We'll answer the above question in 2 steps

  1. what is a parser?
  2. and.. what is a parser combinator?

So first question: What is parser?

@sroucheray
sroucheray / aggregation.js
Last active August 29, 2015 14:11
How to collect Fans of a Facebook page
/*
Note : based on this script, there is a big gap between the number of returned profiles
and the counter that Facebook displays on Pages.
*/
/*
To collect Fan's ID of a Facebook page (provided you are admin of the page),
open this page swapping YOUR_PAGE_ID with... your page id
https://www.facebook.com/browse/page_fans/?page_id=YOUR_PAGE_ID
and then dump JS bellow in Firebug or Chrome console en execute
@sroucheray
sroucheray / README.md
Last active December 11, 2015 15:08
A requestAnimationFrame like API which makes its best to maintain a specific framerate