Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🏢

Stephan Seidt seidtgeist

💭
🏢
View GitHub Profile
View aws-iot-qs.md

AWS IoT questions

  • Can I use IoT to send messages between phones and web browsers? (I’ve previously set up DynamoDB, Cognito & Lambda for signup and messaging)
  • Is there anything tying multiple devices together to social identities? (E.g. my iPhone, iPad, Safari on macOS)
  • Any limitations that would come to mind with the above use cases?
View gist:14402afaf6adc46286a7
Verifying that +ehd is my blockchain ID. https://onename.com/ehd
View keybase.md

Keybase proof

I hereby claim:

  • I am ehd on github.
  • I am ehd (https://keybase.io/ehd) on keybase.
  • I have a public key whose fingerprint is A9CE E967 3C80 1787 6F0F 0E02 21DB 73E9 9403 D1BE

To claim this, I am signing this object:

View diffsync-state-component-example.js
'use strict';
/*
BAT SHIT FUCKING CRAZY IDEA DROP ZONE:
1. don't have a central server. have any peer be a server.
will jsondiffpatch's "server" stuff work in a browser though?
*/
View keybase.md

Keybase proof

I hereby claim:

  • I am ehd on github.
  • I am ehd (https://keybase.io/ehd) on keybase.
  • I have a public key whose fingerprint is B2E9 025D 1D32 6545 E790 67AB 7CB7 54CD 6EBF 962F

To claim this, I am signing this object:

View wrap-exceptions-at-entrypoint.js
function couldThrow(hopefullyJSON) {
var object = JSON.parse(hopefullyJSON);
return Promise.fulfilled(object);
}
function safe(hopefullyJSON) {
return Promise.fulfilled().then(function() {
return couldThrow(hopefullyJSON);
});
}
View bound.js
// Motivation:
//
// I see myself writing this quite often:
f(_.bind(obj.m, obj))
// but I could write:
f(bound(obj, 'm'));
View voxatar.md

voxatar - distributed voxel avatars

  1. When joining game ask for username
  2. Look for username.github.com/voxatar/voxatar.png
  3. Use as skin

Auth can be added later, a central hub where people can also upload voxatars can also be added later (I grabbed voxatar.com)

(name credit goes to @rolnaaba)