Skip to content

Instantly share code, notes, and snippets.

View NoelLH's full-sized avatar

Noel Light-Hilary NoelLH

View GitHub Profile

Keybase proof

I hereby claim:

  • I am noellh on github.
  • I am noellh (https://keybase.io/noellh) on keybase.
  • I have a public key ASD89T0sV-wCybzPL8P_jCkn2hJFLIRLASy4CGVCZxrmmQo

To claim this, I am signing this object:

@NoelLH
NoelLH / sumGrantsByIssue.js
Created July 27, 2017 11:44
Get amounts total for first 16 pages of grants grouped by issue
// Hardcoded number of pages - hacky demo!
var request = require('request');
var numLoaded = 0;
var grants = [];
var totalPages = 16;
function readPage(pageNum, resolve) {
request(
@NoelLH
NoelLH / app.js
Created May 4, 2014 14:32
Sample files for Phonegap + AngularJS + Facebook walkthrough at http://noellh.com/blog/phonegap-angularjs-facebook/
angular.module('demoapp', ['ngRoute', 'demoapp.services', 'demoapp.controllers', 'ezfb'])
.config(function (ezfbProvider) {
ezfbProvider.setInitParams({
appId: '12345',
nativeInterface: CDV.FB,
useCachedDialogs: false
});
ezfbProvider.setLoadSDKFunction(function ($rootScope, ezfbAsyncInit) {