Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@aysbg
aysbg / store-pattern.js
Created Jul 6, 2016
Store pattern implementation
View store-pattern.js
// Store implementation:
import { EventEmitter } from 'events';
const store = new EventEmitter();
let game = {};
store.GAME = () => {
return game;
};
@aysbg
aysbg / httpexample
Last active Aug 29, 2015
http example
View httpexample
(function () {
'use strict';
var UserService = [
'$http', '$q',
function ($http, $q) {
return {
getOne: getOne
};
You can’t perform that action at this time.