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
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
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
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
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 action1 = function(){ | |
| return "Action 1 executed" | |
| }; | |
| var action2 = function(){ | |
| return "Action 2 executed" | |
| }; | |
| var def = function(){ | |
| return "Default Action Executed" | |
| }; |
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 fomatCSV(req, res){ | |
| //format csv | |
| } | |
| function formatExcel(req, res){ | |
| //formatExcel | |
| } | |
| //------- switch alternative-- | |
| var formats = { |
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
| dssdsd |
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 InteratorIterface(){ | |
| function Iterator(arr){ | |
| this.data = arr | |
| this.pointer = 0; | |
| } | |
| Iterator.prototype.first = function(){ | |
| return this.data[0] | |
| } |
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 fs = require('fs'); | |
| var express = require('express'); | |
| var glob = require('glob'); | |
| var deAsync = require('deasync'); | |
| var path = require('canonical-path'); | |
| var _ = require('lodash'); | |
| /** | |
| * | |
| * @constructor RouteController |
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
| _='';('H')+(((_>_)+_)[((_==_)+(_==_))*2])+(_+(_<_)+_)[((!_!=_)+(_==_))]+(_+(_!=_))[((!_!=_)+(!_!=_))]+(_+{})[+!_]+(' W')+(_+{})[+!_]+((_==_)+_)[(_==_)+(_!=_)]+((_!=_)+_)[(_==_)+(!_>_)]+((_._+_)[(_._!=_)+(_==_)]) |
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 exec = require('child_process').exec; | |
| var httpClient = require('request'); | |
| var _ = require('underscore'); | |
| var fs = require('fs'); | |
| var download = function (uri, filename, onDownloadComplete) { | |
| httpClient.head(uri, function (err, res, body) { | |
| httpClient(uri) | |
| .pipe(fs.createWriteStream("./razunaImages/" + filename)) | |
| .on('close', onDownloadComplete); |
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 DoorsWorld(passes){ | |
| this.doors = [] | |
| this.passes = passes | |
| for(var i = 0; i < 100;i++){ | |
| this.doors.push({ | |
| number:++i, | |
| state:'closed' | |
| }) | |
| } |
OlderNewer