Skip to content

Instantly share code, notes, and snippets.

balling out

Matt Brandly brandly

balling out
Block or report user

Report or block brandly

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
brandly / only-numbers.js
Created Mar 23, 2015
only numbers directive
View only-numbers.js
'use strict';
.directive('onlyNumbers', function () {
var allowedValues = [
'0', '1', '2', '3', '4', '5',
'6', '7', '8', '9', '.'
return {
brandly /
Last active Jan 3, 2016
thoughts on branching and pull requests

here's how i think of branching.

purpose of branching

you need to write some code. since you may end up writing good code, but there's a chance you'll write bad code, branches allow you to freely commit your changes as you go along without affecting the core of the project. if you end up with something you don't like, you can clip the branch like nothing ever happened.

i think branches fall into a few categories.


View koa-kiwi.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
.directive 'showAfterEvent', ['$timeout', ($timeout)->
return {
link: (scope, element, attrs) ->
eventName = attrs.showAfterEvent
element.css 'opacity', 0
element.bind eventName, (e) ->
You can’t perform that action at this time.