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
| gco master | |
| git log | less #find the [sha] of merge you want to revert | |
| git revert -m 1 [sha] |
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 floorWait = floors.map( function(floor) { | |
| return {up:false, down: false}; | |
| }); | |
| function distance(a,b) { | |
| return Math.abs(a-b); | |
| } | |
| function addQueue(floorNum) { |
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 azure = require('azure-storage'); | |
| var blobService = azure.createBlobService("name", "key"); | |
| var serviceProperties = {}; | |
| serviceProperties.Cors = { | |
| CorsRule: [{ | |
| AllowedOrigins: ['*'], | |
| AllowedMethods: ['GET'], | |
| AllowedHeaders: [], | |
| ExposedHeaders: [], |