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
balupton /
Last active Aug 29, 2015
Libre Work Opportunities
balupton /
Last active Aug 29, 2015
Bevry member geolocation consolidation script

Bevry member geolocation consolidation script

This is an example script of doing some advanced data operations with high-level APIs

  • is my upcoming way of doing this, using chainy
  • desired.js is my desired way of doing this, not yet possible
  • highland.js is a mostly-working implementation using highland

The goal of the script is to:

balupton /
Last active Aug 29, 2015
Checklist: Running a Google Hangout on Air

Running a Google Hangout on Air

  1. Before Creating the Hangout On Air
    1. Create a Google Document with public editing that you can use as the agenda, taking notes, and for others not able to call to keep up
  2. Creating the Hangout on Air
    1. Invite Public, and the communities as the Audience
      1. Public is needed as otherwise the video is not available on youtube and the hangout isn't visible to others afterwards
    2. Set the description to the google document
    3. Click the enable Q&a button
  3. Start the hangout


Podcasts that I've taken note of.

Libre Music

  • Starfrosch
balupton / script.js
Created Jun 25, 2014
Chainy: Update base files for all repos of multiple github organisations
View script.js
var util = require('util')
require('chainy').create().require('feed set map exec')
.set(['bevry', 'docpad'])
.addExtension('pagefeed', 'action', function(url, opts, next){
url = url.replace('PER_PAGE', opts.per_page).replace('PAGE',
var chain = this
var results = []
var fetch = function(page){
balupton /
Created Jun 30, 2014
Talk: A road to open-source life
View gist:47fb659790b178f566ff

Polymer Feedback

Things I've come accross that are unpleasant with polymer.

Template Binding

  1. There is TemplateBinding which is standalone
  2. It doesn't seem like a direct implementation of the template tag
  3. No instructions for using it standalone (turns out you have to bower install it and its dependencies and include them manually) — I've published a compiled version to npm at templatebinding
balupton / app.js
Created Dec 16, 2014
Steams-based Static Site Generator
View app.js
var Stream = require('stream').extend({
// arguments[i].pipe(this)
drink: function(){
var me = this{
return this
// this.pipe(arguments[i])
balupton / cssbutton.css
Created Jun 27, 2010
balupton's csscaffold mixins
View cssbutton.css
CSS3 Button Mixins
@author Benjamin "balupton" Lupton {@link}
@version 1.0, April 25 2010
.button {
balupton / multi-programmatic.html
Created Jun 30, 2010
Bespin multi issue. [closed]
View multi-programmatic.html
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License