Skip to content

Instantly share code, notes, and snippets.

View jdoleary's full-sized avatar
🌱

Jordan O'Leary jdoleary

🌱
View GitHub Profile
@jdoleary
jdoleary / Keymapper.markdown
Last active August 29, 2015 14:23
Keymapper
@jdoleary
jdoleary / Days in a Year.markdown
Last active November 9, 2015 16:54
Days in a Year
@jdoleary
jdoleary / Bring joe a rock.markdown
Created November 25, 2015 05:19
Bring joe a rock
@jdoleary
jdoleary / Subject Object.markdown
Created November 25, 2015 05:19
Subject Object
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
### Keybase proof
I hereby claim:
* I am jdoleary on github.
* I am jdoleary (https://keybase.io/jdoleary) on keybase.
* I have a public key ASCf5SEoo0XPubfyzER-JjJFWxD5HgPbYF0HlMImoHTcPgo
To claim this, I am signing this object:
@jdoleary
jdoleary / flexibleComposition.js
Last active September 9, 2017 18:55
Flexible Object Composition with "Constructor"
/*
How to compose object AND change things inside the factories used to compose
while maintaining an exact reference to the original object and being able to
access variables from any factory.
*/
var a = {a:1};
function factory(state){
// State is still the original object:
import _ from 'lodash';
import uid from 'uuid/v4';
export default function(){
return {
// Current time in millis
time:0,
// one 'day' occurs every x milliseconds:
millisPerDay: 60000,
events:[],
@jdoleary
jdoleary / saga-implementation-example.js
Last active November 6, 2018 02:40
Faux Implementation of Redux-Saga
/*
The following is a fake implementation of functions inside of Redux-Saga.
*/
// Simplistic fake implementations of Saga Effects
const put = action => ({effect:'PUT', action});
const call = fn => ({effect:'CALL', fn});
// Simplistic fake implementation of runSaga
function runSaga(genFn, ...args){
@jdoleary
jdoleary / resume.md
Last active November 14, 2018 03:15
Resume

Jordan O'Leary

Contact Info
Address 1315 Hoffman Ave, Royal Oak, MI 48067
Cell (248) 345-7894
Email jdoleary@gmail.com

Philosophy

My mission is to write code that is intuitive, effective, robust, scalable and maintainable.