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
bash -c 'while [[ "$(curl -o /dev/null -s -u jprabucki: -w ''%{http_code}'' http://localhost:8080/cp-css/start.html)" != "200" ]]; do echo ''server returned ''; curl -s -u jprabucki: -w ''%{http_code}'' http://localhost:8080/cp-css/start.html; sleep 2; done' |
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
#include <stdio.h> | |
#include <sys/time.h> | |
#define NUMBER 30 | |
int main (void) { | |
struct timeval tv[NUMBER]; | |
int count[NUMBER], i, diff; | |
gettimeofday (&tv[0], NULL); |
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
tracking age properteis, by passing list to it | |
var age : Int by Delegates.observable({ | |
historyList.add(0) | |
0 | |
}()) { | |
property, oldVal, newVal -> historyList.add(newVal) | |
} |