Skip to content

Instantly share code, notes, and snippets.

View lannonbr's full-sized avatar

Benjamin Lannon lannonbr

View GitHub Profile
@lannonbr
lannonbr / docsStubParser.js
Created February 23, 2019 04:06
A small node script to figure out the number of stubs in gatsby's docs compared to the total number of docs
const yamlParser = require("js-yaml");
const fs = require("fs");
const path = require("path");
const doc = yamlParser.safeLoad(
fs.readFileSync(path.join(__dirname, "doc-links.yaml"))
);
const doc2 = yamlParser.safeLoad(
fs.readFileSync(path.join(__dirname, "contributing-links.yaml"))
@lannonbr
lannonbr / learning.md
Created February 1, 2019 16:17
List of things I'd reccomend to people when they ask "how do I learn X?"
@lannonbr
lannonbr / roosevelt-labels.json
Created December 6, 2018 14:57
Labels to be deployed across rooseveltframework org using lannonbr/issue-label-manager-cli
[
{ "name": "blocked", "color": "8e44ad", "description": "Cannot be worked on until other issues / PRs are resolved" },
{ "name": "breaking", "color": "96281b", "description": "Change will require a major version bump" },
{ "name": "bug", "color": "d73a4a" },
{ "name": "discussion", "color": "6bb9f0" },
{ "name": "documentation", "color": "446cb3" },
{ "name": "duplicate", "color": "cfd3d7" },
{ "name": "engineering", "color": "f7ca18", "description": "Pertains to infrastructure around project (CI, build tools, etc)" },
{ "name": "enhancement", "color": "a2eeef", "description": "Planned feature" },
{ "name": "good first issue", "color": "7057ff", "description": "If you're new to the project, this would be a good issue to try resolving first" },
@lannonbr
lannonbr / MirrorDirStats.txt
Last active June 29, 2017 17:01
The number of entries for individual directories on Clarkson's Mirror from 09/16 - 06/17
September 2016
---
alpine: 4265 entries
archlinux: 9792 entries
blender: 0 entries
centos: 1028410 entries
clonezilla: 4619 entries
cpan: 1685 entries
cran: 7569 entries
ctan: 6547 entries
@lannonbr
lannonbr / lamba.rb
Last active November 23, 2015 03:56
An interesting look at lambdas in Ruby
puts -> () {
f = -> () { -> () { -> (n) { -> () { -> (n) { n + 1 }.(1) }.() }.("Hello!") }.() }
g = -> () { -> () { f.() }.() }
-> () { g.() }.()
}.()