sudo yum install cmake28
sudo yum install devtoolset-2-gcc-c++.x86_64
git clone --recursive https://github.com/Reactive-Extensions/RxCpp.git
| sudo sysctl -w kern.maxfiles=1048600 | |
| sudo sysctl -w kern.maxfilesperproc=1048576 | |
| ulimit -S -n 1048576 |
| function delay(ms) { | |
| var deferred = Promise.pending(); | |
| setTimeout(function() { | |
| deferred.fulfill(); | |
| }, ms); | |
| return deferred.promise; | |
| } | |
| delay(1000).then(function () { | |
| // do stuff |
| #!/bin/bash | |
| # Automatically replacing /etc/hosts eth[x] IP with new assigned one from DHCP | |
| IFACE=(0 1 2 3 4 5 6 7 8 9) | |
| x=0 | |
| while [ $x != ${#IFACE[@]} ] ; do | |
| ifconfig eth${IFACE[$x]} 1>/dev/null 2>&1 |
| namespace TR; | |
| <% | |
| my $numSource = 10; | |
| my $numSink = 1; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |
| namespace TR; | |
| <% | |
| my $numSource = 1; | |
| my $numSink = 10; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |
| namespace TR; | |
| <% | |
| my $numSource = 10; | |
| my $numSink = 1; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |
| namespace TR; | |
| <% | |
| my $numSource = 1; | |
| my $numSink = 1; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |
| namespace TR; | |
| <% | |
| my $numSource = 1; | |
| my $numSink = 10; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |
| namespace TR; | |
| <% | |
| my $numSource = 1; | |
| my $numSink = 10; | |
| %> | |
| composite ThreadTest { | |
| graph | |
| stream<uint64 x> Control = Beacon() { |