Project branches: Master and Feature branches Master is considered pristine: it should always be in a state that it could be deployed live as-is Development is done on feature branches Changes have pull requests opened against Master branch When features are complete, peer reviewed, and adhering to the definition of done. they should be merged into Master branch Product Manager reviews staged changes on Heroku If issues with staged changes, new Jira tickets are created to track this work If staged changes are accepted, staged changes are promoted to production in Heroku
#Sample email for new hires
Hi Mike, here's my new hire contact details:
- name: John Doe
- phone: 555-555-5555
- address: 123 Easy Street, Somewhere, CA 99999
- personal email: me@someemail.com
- business email: me@somecompany.com
- title: Sr. Software Engineer - Frontend
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
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g' \ | |
| tr -d '[[:space:]]') | |
echo $PACKAGE_VERSION |
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
var Marionette = require('backbone.marionette'); | |
module.exports = app.Behaviors.ObjectFitPolyfill = Marionette.Behavior.extend({ | |
onRender: function() { | |
this.selector = this.getOption('selector'); | |
this.parentSelector = this.getOption('parentSelector'); | |
this.ignoreBreakpoint = this.getOption('ignoreBreakpoint'); | |
this.objectFit(); |
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
//request animation fill, credit to paul irish and peeps | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; | |
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { | |
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; | |
window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame']; | |
} | |
if (!window.requestAnimationFrame) |