Skip to content

Instantly share code, notes, and snippets.

View AyabongaQwabi's full-sized avatar
Working from home

Ayabonga Qwabi AyabongaQwabi

Working from home
View GitHub Profile
AyabongaQwabi / server.js
Created November 25, 2015 13:41 — forked from Chris927/server.js
NodeJS Express, use middleware to protect routes
var express = require('express');
var app = express();
var port = 3100;
app.listen(port, function() {
console.log('listening on port ' + port);
/* public routes */
AyabongaQwabi / facebook-contact-info-summary.rb
Created March 27, 2018 11:22 — forked from dylanmckay/facebook-contact-info-summary.rb
A Ruby script for collecting phone record statistics from a Facebook user data dump
#! /usr/bin/env ruby
# NOTE: Requires Ruby 2.1 or greater.
# This script can be used to parse and dump the information from
# the 'html/contact_info.htm' file in a Facebook user data ZIP download.
# It prints all cell phone call + SMS message + MMS records, plus a summary of each.
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created