Skip to content

Instantly share code, notes, and snippets.

View benjie's full-sized avatar

Benjie benjie

View GitHub Profile
@benjie
benjie / README.md
Last active August 29, 2015 13:56
Mocha uncaughtException workaround

Workaround Mocha's Assertion Catching

(For Node.js only.)

To protect mocha tests (and before and after commands) from uncaught exceptions, in each test file:

{protect} = require './test_helper'
protect()
@benjie
benjie / Storage.md
Last active August 29, 2015 13:57
Storage of Personal Stuff

Storage Proposal

NOTE: in this proposal I use the term "users" to refer to "So Make It Members" and the newly proposed "Friends of So Make It", or, more specifically, "Supporters" since they need to pay a monthly subscription. Friends may have to jump a few more hoops to store their stuff here (e.g. have turned up a few time and thus become known to the community) but are treated basically equivalently to Members.

The space can provide storage for it's users, but storage is at a premium. Users' items should be stored only inside authorised storage boxes.

How much can I store?

The amount a user can store is based on their subscription level (and available space). The first £15/mo covers basic usage of the space (no storage), above this the allowance is allocated as follows:

@benjie
benjie / Jof_Checklist.md
Last active August 29, 2015 14:01
A checklist for Jof for when shit ain't workin'

Try these before contacting Benjie... :)

Frontend

  • git status to ensure local changes aren't breaking things (don't forget to check the untracked files too)
  • npm install
  • Restart grunt ensuring all old nodemon instances are well and truly dead

API

About Us

A non-profit friendly and inclusive place for people who like making things (physical, digital or otherwise) to share knowledge, experience and tools.

The interests of the current membership focus on subjets of wood- and metal-work, costume and prop design, photography, 3D printing, microcontrollers, robotics, home automation and programming. We have a wide array of tools available to facilitate these activities and are constantly looking to expand our offering.

@benjie
benjie / presentation.md
Created July 3, 2014 20:40
Southampton Shed Presentation

Southampton Makerspace

A brief introduction by Benjie Gillam

What is a Makerspace?

  • Community Workshop
  • Friendly
@benjie
benjie / keybase.md
Created September 23, 2014 08:26
Proof that I am me.

Keybase proof

I hereby claim:

  • I am Benjie on github.
  • I am benjie (https://keybase.io/benjie) on keybase.
  • I have a public key whose fingerprint is 0AB7 7AB7 64BA A5D3 7A75 8820 42C2 D0EA 4A63 0ED6

To claim this, I am signing this object:

@benjie
benjie / LEDs.md
Last active August 29, 2015 14:07
LEDs for Dalek

Under Skirt Lights:

Left & Right R, G, B

7-8 LEDs in series depending on colour

  • 6x CC @ 50mA, 24V

Left & Right white LED lamp

@benjie
benjie / .asoundrc
Created February 15, 2015 14:24
Dalek Audio
pcm.ladspa {
type ladspa
slave.pcm "plughw:1,0"
path "/usr/lib/ladspa"
capture_plugins [
{
label lsFilter
input {
controls [ 1 2200 ]
@benjie
benjie / storage.dot
Last active August 29, 2015 14:17
So Make It "Big Project" storage flowchart
digraph G {
overnight [label="So you want to\nstore something\novernight?", color="green", style="filled"];
nope [label="Look at some\nother diagram\nthen!", shape="box"];
are_you_a_member [label="Are you a member?", color="green", style="filled"];
does_it_fit [label="Does it\nfit in your\nmember box?", color="green", style="filled"];
non_member [label="Talk to a\nkeyholder/trustee", shape="box"];
get_a_box [label="Talk to a trustee\nabout getting a\nmember box", shape="box", color="green", style="filled"];
put_in_box [label="Stick it in then,\nall's good", color="green", style="filled", shape="box"];
how_long [label="How long would\nyou like to\nstore it for?"];
couple_nights [label="Ask a Keyholder"];
@benjie
benjie / README.md
Created April 2, 2015 21:20
DOOR NOTES

Notes on installing the door-controller

DO NOT FOLLOW THESE NOTES, THEY ARE HACKS!

Do not install node from apt, install v0.10.x (x = 28)

Use gpio-admin from pull request #6 romilly/quick2wire-gpio-admin#6

Make similar changes to pi-gpio node module