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 http = require('http'); | |
| var net = require('net'); | |
| var debugging = 0; | |
| var regex_hostport = /^([^:]+)(:([0-9]+))?$/; | |
| function getHostPortFromString( hostString, defaultPort ) { | |
| var host = hostString; | |
| var port = defaultPort; |
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
| // http://dojotoolkit.org/documentation/#widgets | |
| define(["../Theme", "dojox/gfx/gradutils", "./common"], function(Theme, gradutils, themes){ | |
| // created by Tom Trenka | |
| var g = Theme.generateGradient, | |
| defaultFill = {type: "linear", space: "shape", x1: 0, y1: 0, x2: 0, y2: 100}; | |
| themes.Claro = new Theme({ | |
| chart: { |
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
| - describe | |
| - desc | |
| - show | |
| Add that he has to source ~/.bashrc or ~/.zshrc upon installation |
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
| { sample: { _elements: [Object], _size: 10, _sum: 1010, _count: 10 }, | |
| cmp: [Function], | |
| start: false, | |
| reached: 0, | |
| threshold: 20, | |
| issue: [Error: more than 20], | |
| func: [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
| grunt.registerTask('es', 'ES', function(usr) { | |
| var utils = require('util'); | |
| var done = this.async(); | |
| var query = { | |
| index : '*', | |
| type : 'exception', | |
| body : { | |
| size : 5000, | |
| "query" : { |
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
| cluster.name: alphacentauri | |
| node.master: true | |
| node.max_local_storage_nodes: 1 | |
| index.mapper_dynamic: true | |
| index.query.bool.max_clause_count: 4096 |
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
| - sysctl: name=net.ipv4.ip_local_port_range value='1024 65000' | |
| - sysctl: name=vm.swappiness value=0 state=present | |
| - sysctl: name=fs.file-max value=128000 | |
| - lineinfile: dest=/etc/security/limits.conf line='* - nofile 128000' insertafter=EOF | |
| # Increase number of incoming connections | |
| - sysctl: name=net.core.somaxconn value='4096' | |
| - sysctl: name=net.ipv4.tcp_tw_reuse value='1' | |
| - sysctl: name=net.ipv4.tcp_fin_timeout value='15' |
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
| TypeError: Cannot read property 'split' of undefined | |
| at Object.Semver.compare (all.min.js?t=1441807385906:4) | |
| at isModuleUpdated (all.min.js?t=1441807385906:24) | |
| at Object.fn (all.min.js?t=1441807385906:24) | |
| at m.a.$get.m.$digest (all.min.js?t=1441807385906:6) | |
| at m.a.$get.m.$apply (all.min.js?t=1441807385906:6) | |
| at l (all.min.js?t=1441807385906:5) | |
| at N (all.min.js?t=1441807385906:5 | |
| at XMLHttpRequest.x.onload (all.min.js?t=1441807385906:5)(anonymous function) @ all.min.js?t=1441807385906:6b.$get @ all.min.js?t=1441807385906:5a.$get.m.$digest @ all.min.js?t=1441807385906:6a.$get.m.$apply @ all.min.js?t=1441807385906:6l @ all.min.js?t=1441807385906:5N @ all.min.js?t=1441807385906:5x.onload @ all.min.js?t=1441807385906:5 |
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
| val equal threshol throw error | |
| TypeError: this.cmp is not a function | |
| at Alert.tick (/root/.pm2/node_modules/pm2-server-monit/node_modules/pmx/lib/utils/alert.js:112:15) | |
| at /root/.pm2/node_modules/pm2-server-monit/node_modules/pmx/lib/Probe.js:76:30 | |
| at Array.forEach (native) | |
| at checkIssues (/root/.pm2/node_modules/pm2-server-monit/node_modules/pmx/lib/Probe.js:74:21) | |
| at null._repeat (/root/.pm2/node_modules/pm2-server-monit/node_modules/pmx/lib/Probe.js:124:7) | |
| at wrapper [as _onTimeout] (timers.js:270:19) | |
| at Timer.listOnTimeout (timers.js:89:15) |
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
| { | |
| "at": 1443001198515, | |
| "data": { | |
| "stack": "Error\n at ChildProcess.<anonymous> (/home/virtual/meczyki/.pm2/node_modules/pm2-server-monit/lib/process.js:40:32)\n at ChildProcess.emit (events.js:110:17)\n at Process.ChildProcess._handle.onexit (child_process.js:1074:12)", | |
| "message": "" | |
| }, | |
| "process": { | |
| "pm_id": 6, | |
| "name": "pm2-server-monit", | |
| "rev": null, |