- Download the perforce visual tool suite from here: http://www.perforce.com/perforce/downloads/index.html
- Copy only the p4merge.app file into your /Applications/ directory
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
# | |
# application entry points | |
# https://www.example.com/ (production) | |
# https://demo.example.com/ (demo/lite production) | |
# https://devel.example.com/ (development) | |
# | |
# static content served by nginx server | |
# http://app-be1.example.net:4xxx/ | |
# http://app-be2.example.net:4xxx/ | |
# |
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
requirejs.config({ | |
shim: { | |
'http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js': { | |
exports: 'L' | |
} | |
} | |
}); | |
require(["http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js"], function(mapbox) { |
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
/** | |
* Convert From/To Binary/Decimal/Hexadecimal in JavaScript | |
* https://gist.github.com/faisalman | |
* | |
* Copyright 2012-2015, Faisalman <[email protected]> | |
* Licensed under The MIT License | |
* http://www.opensource.org/licenses/mit-license | |
*/ | |
(function(){ |
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
// clear Big Integer implementation of JavaScript/ECMAScript5 | |
// BigDecimal(10**n base): for string conversion | |
// - BigInt and BigDecimal are basically same. | |
var BigDecimal = this.BigDecimal = function (ints, sign) { | |
var ctor = BigDecimal; | |
ints = ints || []; | |
sign = ctor.normalize(ints, sign || 1); | |
return Object.freeze(Object.create(ctor.prototype, { | |
ints: {value: Object.freeze(ints), enumerable: true}, |
NewerOlder