Skip to content

Instantly share code, notes, and snippets.

View renecnielsen's full-sized avatar

René Clausen Nielsen renecnielsen

View GitHub Profile
@renecnielsen
renecnielsen / facebook-contact-info-summary.rb
Created April 3, 2018 12:52 — 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@renecnielsen
renecnielsen / gexfd3.css
Last active August 29, 2015 14:11 — forked from emeeks/gexfd3.css
#modal {
position:fixed;
left:150px;
top:20px;
z-index:1;
background: white;
border: 1px black solid;
box-shadow: 10px 10px 5px #888888;
display: none;
}
@renecnielsen
renecnielsen / cosit.gexf
Last active August 29, 2015 14:11 — forked from emeeks/cosit.gexf
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft" version="1.2" xmlns:viz="http://www.gexf.net/1.2draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.2draft http://www.gexf.net/1.2draft/gexf.xsd">
<meta lastmodifieddate="2014-03-04">
<creator>Gephi 0.8.1</creator>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<attributes class="node" mode="static">
<attribute id="startyr" title="startyr" type="integer"></attribute>
<attribute id="title" title="title" type="string"></attribute>
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 14:06 — forked from mbostock/.block

This example, using satirical data from The Onion, demonstrates how to wrap long axis labels to fit on multiple lines.

@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 14:00 — forked from gniemetz/README.md

d3js Multiline chart with brushing and mouseover

<!DOCTYPE html>
<meta charset="utf-8">
<style>
path {
stroke: #000;
fill-opacity: .8;
}
</style>
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 13:57 — forked from mbostock/.block
Collapsible Tree
@renecnielsen
renecnielsen / README.md
Last active August 29, 2015 13:57 — forked from mbostock/.block
Force-Directed Graph