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) { | |
var queue = []; | |
elevators.forEach(function (elevator) { | |
elevator.on("idle", function() { | |
// If there is a floor in the queue, go there. | |
if (queue.length > 0) { | |
var floor = queue.shift(); | |
goToFloor(elevator, floor); | |
} |
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
/* Jira Agile */ | |
/* Allow to scroll the page with the keyboard in the Plan view */ | |
#ghx-plan, | |
#ghx-plan-group, | |
#ghx-rabid, | |
#ghx-work, | |
#page, | |
#js-detail-nav-content { | |
height: auto !important; |
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
#!/bin/bash -e | |
# Checks the available git branches and deletes all branches that are fully | |
# merged in the main branch. | |
# | |
# Source: http://devblog.springest.com/a-script-to-remove-old-git-branches | |
# Configuration | |
if [ -z ${MAIN_BRANCH} ]; then | |
MAIN_BRANCH=develop |
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
#!/bin/bash | |
# Author: Alan Ivey | |
# http://echodittolabs.org/blog/2011/01/are-your-drupal-sites-running-latest-core | |
# Default path. | |
WEBHOME=/var/www | |
# Default limit on subfolder depth to speed up the search. | |
MAX_DEPTH=6 |
NewerOlder