I hereby claim:
- I am pablomatiasgomez on github.
- I am pablomatiasgomez (https://keybase.io/pablomatiasgomez) on keybase.
- I have a public key ASASahbeYWBkeqm4kX9Uo9xGCjP8F0zLwafmaMVjJLdd0go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
private static final String IP = "10.254.130.140"; | |
public static void main(String[] args) throws UnknownHostException, IOException { | |
System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "200"); | |
IntStream.range(1, 64000).filter(LocaleResolver::testPort).forEach(System.out::println); | |
List<Integer> ports = Arrays.asList(5000, 5001, 4000, 8000, 9400, 79, 9200, 9500, 9501, 515, 9100, 9600, 6100, 6110); |
#!/usr/bin/env node | |
var getDate = function(id) { | |
return new Date(parseInt(id.toString().slice(0, 8), 16) * 1000); | |
} | |
if (process.argv.length > 2) { | |
process.argv.slice(2).forEach(function (val, i) { | |
console.log(val + ": " + getDate(val)); | |
}); |
int connections_node_getActiveConnectedCount() { | |
pthread_mutex_lock(&activeNodesLock); | |
return dictionary_size(activeNodesSockets); | |
pthread_mutex_unlock(&activeNodesLock); | |
} |
public class DoubleContainer { | |
private Double value; | |
public Double getValue() { | |
return (this.value != null ? Math.ceil(this.value) : this.value); | |
} | |
public void setValue(Double value) { | |
this.value = value; |