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
function create_branch_pr { | |
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
remote=$(git config remote.origin.url | cut -d. -f1-2) | |
echo "$remote/compare/develop...$branch" | |
} | |
alias opr='open -a /Applications/Google\ Chrome.app $(create_branch_pr)' |
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
{ | |
init: function(elevators, floors) { | |
// Create Queue System for People waiting | |
var floorQueue = []; | |
// Loop Through each elevator | |
// Bind Events to elevator | |
elevators.forEach(function(elevator) { | |
// When Elevators is idle |