Skip to content

Instantly share code, notes, and snippets.

View TheZoker's full-sized avatar

Florian Gareis TheZoker

View GitHub Profile
@TheZoker
TheZoker / gist:ce30f1ff289d5a4c9823
Last active February 19, 2016 17:15 — forked from Wardormeur/gist:5755649f587b2aa7ed0c
Grunt task to check phpbb theme event coverage
grunt.registerTask('getEvents', function(){
var http = require('https');
var cheerio = require('cheerio');
var fs = require('fs');
var url = 'https://wiki.phpbb.com/Event_List';
var done = this.async();
var dom = http.get(url, function(response){
var srcContents = '';
//another chunk of data has been recieved, so append it to `str`