- Explore (github's issue API)[http://developer.github.com/v3/issues/#edit-an-issue]
- Register app and postman a list of issues
- Iterate over all issues and add comment
This file contains 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
if (typeof window.localStorage == 'undefined' || typeof window.sessionStorage == 'undefined') (function () { | |
var Storage = function (type) { | |
function createCookie(name, value, days) { | |
var date, expires; | |
if (days) { | |
date = new Date(); | |
date.setTime(date.getTime()+(days*24*60*60*1000)); | |
expires = "; expires="+date.toGMTString(); |
- (Github API)[https://gist.github.com/evanrs/9514532]
This file contains 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
[alias] | |
deprecate = "!f(){ for ORIGIN in $@; do if [ $ORIGIN == master ] || [ $ORIGIN == HEAD ] || [ $ORIGIN == develop ]; then echo $ORIGIN is not allowed; continue;fi; echo $ORIGIN; git branch -d $ORIGIN; git push origin --delete $ORIGIN; done; }; f" |
This file contains 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
var routeFactory = { | |
build: function(components, routes){ | |
components = _.reduce(components, function (accumulator, component, index) { | |
if(_.isEmpty(accumulator)) return component | |
if(_.isString(accumulator)) accumulator = [accumulator] | |
var transform = accumulator.slice(0) | |
_.map(accumulator, function(route){ | |
var slug = component | |
if(slug[0] === '/') slug = slug.slice(1) | |
else if(slug[0] === ':'){} |
This file contains 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
# SSL self signed localhost for rails start to finish, no red warnings. | |
# 1) Create your private key (any password will do, we remove it below) | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
This file contains 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
var TT = require('./thin-tree'); | |
var SearchTree = { | |
searchTree: function(query, op, source) { | |
op = op || 'where'; | |
source = source || this.preOrderTraverse(); | |
return _[op](source, query); | |
}, |
This file contains 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
ngModule.provider('$eventScope', function ($rootScopeProvider) { | |
var $get = $rootScopeProvider.$get.slice(-1)[0]; | |
var $eventScope, proto, $cast, $emit; | |
this.$get = ['$injector', '$exceptionHandler', '$parse', '$browser', | |
function ($injector, $exceptionHandler, $parse, $browser) { | |
$eventScope = $eventScope || $get.apply($rootScopeProvider, arguments); | |
proto = proto || $eventScope.constructor.prototype; | |
$cast = $cast || proto.$broadcast; | |
$emit = $emit || proto.$emit; |
This file contains 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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
This is a proposal for a lightning talk I would give at the Reactive 2015 conference.
NOTE: If you like it, put a star ⭐ on it—the number of stars decides if it makes the cut!
Redux provides a simple pattern for managing application state. As demonstrated in Dan Abramov's talk following this pattern lets you painlessly implement simple undo and time travel. By keeping a history of actions, and reducing a subset
OlderNewer