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
| angular.element(document).ready(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
| gulp.task('open', function (done) { | |
| var uri = 'http://localhost:' + CONFIG.PORT + '/tms.html'; | |
| var spawn = require('child_process').spawn, | |
| tempDir = 'C:/temp-chrome-eng'; | |
| var args = [ | |
| '--user-data-dir=' + tempDir, | |
| '--no-default-browser-check', | |
| '--no-first-run', |
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
| [ | |
| { name: 'Europe', | |
| children: [ | |
| { name: 'Italy', | |
| children: [ | |
| { name: 'Rome' }, | |
| { name: 'Milan' } | |
| ]}, | |
| { name: 'Spain'} | |
| ] |
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 osx = process.platform === 'darwin' | |
| var win = process.platform === 'win32' | |
| var other = !osx && !win | |
| var fs = require('fs') | |
| if (other) { | |
| try { | |
| module.exports = require('which').sync('google-chrome') | |
| } catch(e) { | |
| module.exports = null |
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
| <apex:page> | |
| <script>console.log('{!URLFOR($Resource.TMS_Statics, '')}')</script> | |
| </apex:page> |
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
| git archive --format zip --output /full/path/to/zipfile.zip master |
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
| { "directory" : "bower_components", "strict-ssl": false, "https-proxy": "" } |
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
| start "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:/temp-chrome-eng" --new-window http://localhost |
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 encode(unencoded) { | |
| return encodeURIComponent(unencoded).replace(/'/g,"%27").replace(/"/g,"%22"); | |
| } | |
| function decode(encoded) { | |
| return decodeURIComponent(encoded.replace(/\+/g, " ")); | |
| } |