Skip to content

Instantly share code, notes, and snippets.

View crodgers's full-sized avatar

Christopher Douglas Rodgers crodgers

View GitHub Profile
@crodgers
crodgers / keybase.md
Created September 12, 2019 19:31
keybase.md

Keybase proof

I hereby claim:

  • I am crodgers on github.
  • I am crodgers (https://keybase.io/crodgers) on keybase.
  • I have a public key ASBAxGXqADWcTbhAzF_0sMhwwGIOFkvF5KginkT91UwmTwo

To claim this, I am signing this object:

@crodgers
crodgers / polygit_example.js
Last active May 9, 2016 01:23
Using the polygit CDN to create dom-module snippets in JS Bin source: https://jsbin.com/qiqole/11/edit?html
<!doctype html>
<head>
<meta charset="utf-8">
<base href="https://polygit.org/components/">
<script src="webcomponentsjs/webcomponents-lite.min.js"></script>
<link href="polymer/polymer.html" rel="import">
</head>
<body>
<dom-module id="x-foo">
@crodgers
crodgers / ogs_realtime_api.js
Last active April 27, 2016 14:45
Connecting to the real time API using socket.io
socket = require(socket.io-client)("https://ggs.online-go.com");
// connect to the socket for live challenges being posted
// will return a list of currently active challenges
socket.emit("seek_graph/connect", {channel:"global"});
//listen for new challenges being posted, or challenges being accepted
socket.on("seek_graph/global", function(event){});