Skip to content

Instantly share code, notes, and snippets.

@dylanmckay
dylanmckay / facebook-contact-info-summary.rb
Last active March 12, 2024 22:46
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
@bverc
bverc / WordClock.c
Created September 5, 2012 11:23
A functional clock which displays the time in words in increments of 5 minutes. Now a full git repo: https://github.com/bverc/led-word-clock
/*
* WordClock.c
*
* Author: Brendan Vercoelen
* http://no8hacks.com
*
* A functional clock which displays the time in words in increments of 5 minutes. It
* uses multiplexing to control a gridded array of LEDs and uses 74HC595 Shift
* Registers. It is written for the Attiny2313 but could be easily be adapted for any
* Microcontroller. The RTC Clock is the DS1307.