Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjie benjie

View GitHub Profile
@benjie
benjie / README.md
Last active Aug 29, 2015
Mocha uncaughtException workaround
View README.md

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 Aug 29, 2015
Storage of Personal Stuff
View Storage.md

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 Aug 29, 2015
A checklist for Jof for when shit ain't workin'
View Jof_Checklist.md

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

View So Make It Blurb.md

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 Jul 3, 2014
Southampton Shed Presentation
View presentation.md

Southampton Makerspace

A brief introduction by Benjie Gillam

What is a Makerspace?

  • Community Workshop
  • Friendly
@benjie
benjie / keybase.md
Created Sep 23, 2014
Proof that I am me.
View keybase.md

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 Aug 29, 2015
LEDs for Dalek
View LEDs.md

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

View .asoundrc
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 Aug 29, 2015
So Make It "Big Project" storage flowchart
View storage.dot
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"];
View README.md

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