Skip to content

Instantly share code, notes, and snippets.

Trying my best to be worth something.

Benjamin Lupton balupton

Trying my best to be worth something.
View GitHub Profile
colllin /
Last active Aug 11, 2020
Auth0 + FaunaDB integration strategy



At the very least, we need two pieces of functionality:

  1. Create a user document in Fauna to represent each Auth0 user.
  2. Exchange an Auth0 JWT for a FaunaDB user secret.
bvaughn /
Last active Jan 24, 2021
How to use profiling in production mode for react-dom
posener /
Last active Jan 20, 2021
Story: Writing Scripts with Go

Story: Writing Scripts with Go

This is a story about how I tried to use Go for scripting. In this story, I’ll discuss the need for a Go script, how we would expect it to behave and the possible implementations; During the discussion I’ll deep dive to scripts, shells, and shebangs. Finally, we’ll discuss solutions that will make Go scripts work.

Why Go is good for scripting?

While python and bash are popular scripting languages, C, C++ and Java are not used for scripts at all, and some languages are somewhere in between.

View Melbourne Node.js Backend HTTP services development. Contract or

One of Newscorp's most heavily used data platforms, TCOG, is beginning a rebuild.

TCOG has 6 deployments taking high web traffic to deliver digital content for some of Australia's most downloaded sources of news and media.

The TCOG service loosely fits into a 'backend for the frontend' pattern that provides an API to front end clients to transform and render data from one or more upstream APIs by "smart URLs". See for more information about the pattern.

Over time, the TCOG service has become monolithic. We have designed TCOG 1.5, which will consist of smaller services. We want you to help us build them! This project is a mixture of refactoring the existing and working on greenfield solutions to known problems. The new architectural direction is focussed on service patterns for caching, rendering and data transformation.

In addition, regular BAU work requires communication and support for the surrounding developers who build TCOG extensions to service the

AgentOak /
Last active Jan 26, 2021
Youtube Format IDs

Last updated: December 2020

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Resolution AV1 HFR AV1 VP9.2 HDR HFR VP9 HFR VP9 H.264 HFR H.264
MP4 MP4 WebM WebM WebM MP4 MP4
tam7t / certdump.go
Created Sep 1, 2016
certdump consul-template plugin for writing vault-generated certificates to separate files
View certdump.go
package main
import (

Some of the Redis best practices content has moved

This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out :

NOTE: Client specific guidance listed below is still valid and should still be considered. I will update this document once all content has been moved.

andypiper /
Last active Jan 18, 2021
Twitter API recipes for twurl +jq, and other useful Twitter code snippets and tools
View babel-preset-es2015-loose.js
module.exports = {
plugins: [
// es2015 - based off of v6.3.13
[require('babel-plugin-transform-es2015-template-literals'), { loose: true }],
[require('babel-plugin-transform-es2015-classes'), { loose: true }],
datagrok / .gitignore
Last active Jan 3, 2021 quick and dirty script to archive twitter favs (aka "likes")
View .gitignore