Skip to content

Instantly share code, notes, and snippets.

View potch's full-sized avatar

Potch potch

View GitHub Profile
@potch
potch / potch-q3.md
Last active October 21, 2015 17:08
What I Did On My Summer Vacation
2015-08-27T21:34:29.276174+00:00 app[web.1]: npm ERR! moz-games@1.0.0 prod: `npm run prod:build && http-server prod -c60`
2015-08-27T21:34:29.276415+00:00 app[web.1]: npm ERR! spawn ENOENT
2015-08-27T21:34:29.276708+00:00 app[web.1]: npm ERR!
2015-08-27T21:34:29.276966+00:00 app[web.1]: npm ERR! Failed at the moz-games@1.0.0 prod script 'npm run prod:build && http-server prod -c60'.
2015-08-27T21:34:29.277242+00:00 app[web.1]: npm ERR! This is most likely a problem with the moz-games package,
2015-08-27T21:34:29.277477+00:00 app[web.1]: npm ERR! not with npm itself.
2015-08-27T21:34:29.277700+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2015-08-27T21:34:29.277945+00:00 app[web.1]: npm ERR! npm run prod:build && http-server prod -c60
2015-08-27T21:34:29.278648+00:00 app[web.1]: npm ERR! You can get their info via:
2015-08-27T21:34:29.278882+00:00 app[web.1]: npm ERR! npm owner ls moz-games
@potch
potch / readme.txt
Last active August 29, 2015 14:27 — forked from anonymous/readme.txt
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
$('#pixelChat-messages').on('click', 'img', function (e) {
e.preventDefault();
$('canvas')[0].getContext('2d').drawImage(e.target, 0, 0);
});
@potch
potch / keybase.md
Created July 13, 2015 22:44
keybase.md

Keybase proof

I hereby claim:

  • I am potch on github.
  • I am potch (https://keybase.io/potch) on keybase.
  • I have a public key whose fingerprint is 31DC 1E3D 979D AEBE D433 CC20 A208 7989 A2DA 6DEC

To claim this, I am signing this object:

@potch
potch / post.md
Created March 27, 2015 18:00
draft

Peering Through the Fog with SocketPeer

Introductory paragraph

Old Tech, New Interface

SIP and VoIP

Alice and Bob (and ICE and NAT and STUN and SDP)

@potch
potch / datachannel.html
Created March 19, 2015 05:15
datachannels test
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
</head>
<body>
<script>
var RTCPeerConnection = typeof window !== 'undefined' &&
@potch
potch / newtabs.html
Created March 16, 2015 19:54
newt abs
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<title>New Tab</title>
<style>
html, body {
height: 100%;
}
var staff = require('./phonebook.json');
staff = staff.map(function (e) {
return {
cn: e.cn,
dn: e.dn,
manager: e.manager,
title: e.title
};
});
@potch
potch / style.js
Last active August 29, 2015 14:12
2015 JavaScript Style Guide
// Bad
"Your Framework Sucks."
// Bad
"Browserify? Have you heard about WebPack?"
// Bad
"Ember vs Angular: 10 Things You Should Know"