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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src='http://code.angularjs.org/1.1.2/angular.min.js'> | |
</script> | |
</head> | |
<body ng-app='App'> | |
<div> | |
<h2>Agregation</h2> | |
<h3>ClassB</h3> |
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 requestThrottler = require("request-throttler")({ | |
concurrency: c, | |
executionsPerRound: epr, | |
roundDuration: millis | |
}); | |
//Use case 1 | |
requestThrottler(reqOptions, function (error, response, body){ | |
//... | |
}); |
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
{ | |
"dependencies": { | |
"heapdump": "^0.2.10" | |
} | |
} |
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
from multiprocessing import Process | |
import argparse | |
import socket | |
import time | |
import math | |
def is_port_open(ip_address, port, timeout=1): | |
try: | |
socket.create_connection((ip_address, port), timeout).close() |