I hereby claim:
- I am jdoleary on github.
- I am jdoleary (https://keybase.io/jdoleary) on keybase.
- I have a public key ASAIdoeQ64RqXaURfDksziZj4KPsq8trAMzQdi9Myu1pIwo
To claim this, I am signing this object:
// Kindle truncates long highlights in some views. | |
// To get full, un-truncated notes, go to https://read.amazon.com/kindle-library | |
// in the sidebar click on "Notes & Highlights | |
// To just get all the highlights in an array | |
Array.from(document.querySelectorAll('#highlight')).map(x => x.innerText) | |
// To get highlights as markdown | |
Array.from(document.querySelectorAll('#highlight')).map(x => (`> ${x.innerText}`)).join('\n\n') |
I hereby claim:
To claim this, I am signing this object:
Contact Info | |
---|---|
Address | 1315 Hoffman Ave, Royal Oak, MI 48067 |
Cell | (248) 345-7894 |
jdoleary@gmail.com |
My mission is to write code that is intuitive, effective, robust, scalable and maintainable.
/* | |
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){ |
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:[], |
/* | |
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: |
### 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: |
# 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 -> |
A Pen by Jordan O'Leary on CodePen.
A Pen by Jordan O'Leary on CodePen.