Skip to content

Instantly share code, notes, and snippets.

View renecnielsen's full-sized avatar

René Clausen Nielsen renecnielsen

View GitHub Profile
@renecnielsen
renecnielsen / wide-width-style.css
Created July 11, 2019 20:30
CSS to enable .alignwide and .alignfull Gutenberg Blocks when I use Elementor page builder to create single posts templates
/* All I've done is a few edits to the brilliant walk-through on https://joshcollinsworth.com/adding-gutenberg-full-and-wide-width-image-support-to-your-wordpress-theme/ */
.alignfull {
max-width: 100vw !important;
margin: 2rem calc(50% - 50vw) !important;
}
.alignwide {
max-width: 100vw !important;
margin: 2rem calc(50% - 50vw) !important;
@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
@renecnielsen
renecnielsen / .block
Created August 6, 2017 18:33
d3-annotation v2.0
license: mit
@renecnielsen
renecnielsen / .block
Created August 2, 2017 09:51
Radar Chart Redesign
height: 600
license: mit
@renecnielsen
renecnielsen / .block
Created August 2, 2017 09:50
Draw a Text Path
license: mit
@renecnielsen
renecnielsen / .block
Created August 2, 2017 09:47
Chord diagram - Switching behavior between phone brands of the Dutch
height: 1500
@renecnielsen
renecnielsen / .block
Last active October 8, 2017 18:26
Scatterplot with Voronoi
height: 550
@renecnielsen
renecnielsen / .block
Last active July 5, 2017 12:33
Projection explorer
license: gpl-3.0
height: 620
border: no
@renecnielsen
renecnielsen / .block
Created July 3, 2017 19:17
Crossfilter Demo | es2015 d3v4
license: MIT
border: no
height: 1150
@renecnielsen
renecnielsen / .block
Last active May 20, 2017 08:29
Weighted pivot scatter plot v3
license: mit
height: 500
border: no