This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom JavaScript for websites: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija?hl=en | |
// JSONView: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en | |
(function () { | |
var script = document.createElement('script'); | |
script.async = true; | |
script.src = 'https://rawgit.com/sompylasar/5440f7f0e3e7bc75c64674f14f58f6df/raw/cjs-timestamps-dates.js'; | |
document.head.appendChild(script); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## Starts a git branch that is dedicated to a task tracking ticket. | |
## Makes an empty commit that references the ticket. | |
## | |
## Created: 2016-08-22 | |
## Author: sompylasar <[email protected]> https://github.com/sompylasar | |
## License: MIT | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import verge from 'verge'; | |
import { Motion, spring } from 'react-motion'; | |
import withStyles from 'isomorphic-style-loader/lib/withStyles'; | |
import styles from './styles.scss'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function createActionMonitor({ | |
debug = false, | |
}) { | |
let actionMonitorLog = []; | |
const actionMonitorSubscriptions = []; | |
const middleware = () => (next) => (action) => { | |
if ( debug ) { | |
console.log('[actionMonitor] push:', action); // eslint-disable-line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// The following line enables extended tracking of unhandled promise rejections. | |
// @see https://github.com/cujojs/when/blob/master/docs/api.md#whenmonitorconsole | |
require('when/monitor/console'); | |
var when = require('when'); | |
/** | |
* Converts an object to a thenable that can be resolved to itself. |
NewerOlder