Skip to content

Instantly share code, notes, and snippets.

Erik Yuzwa erikyuzwa

Block or report user

Report or block erikyuzwa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View eventBus.js
/**
* subscriptions data format:
* { eventType: { id: callback } }
*/
const subscriptions = { };
const getNextUniqueId = getIdGenerator();
function subscribe(eventType, callback) {
const id = getNextUniqueId();
View he_had_a_year_to_do_it_in.txt
He had a year to do it in
So brushed the thought away,
A chap with half his energy
Might do it in a day.
A year! ‘Twas too ridiculous,
As everyone should find;
However, he would get it done
And have it off his mind.
But not today. A few months hence would suit him better still;
@erikyuzwa
erikyuzwa / .bash_profile
Created Mar 19, 2017 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
View .bash_profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
You can’t perform that action at this time.