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
admin: | |
access_log_path: "/dev/stdout" | |
address: | |
socket_address: | |
protocol: TCP | |
address: 127.0.0.1 | |
port_value: 7779 | |
static_resources: | |
listeners: |
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
{ | |
"id": "bae757c2-381f-408b-b9dc-673297c3ef1e", | |
"name": "f9s-spark-workers-001", | |
"meters": { | |
"cpuUtil": 1.059900166389351, | |
"disk": { | |
"readBytes": 3.90654464E8, | |
"writeBytes": 3.78635264E8 | |
}, | |
"network": { |
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
[ | |
{ | |
"id": "2c97ad57-c7de-450d-b2fa-909d8458c948", | |
"name": "f9s-spark-master-001", | |
"meters": { | |
"cpuUtil": 0.9833610648918468, | |
"disk": { | |
"readBytes": 4.24442368E8, | |
"writeBytes": 4.55304192E8 | |
}, |
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
/** key code constants definition **/ | |
#define LEFT_KEY_CODE 100 | |
#define RIGHT_KEY_CODE 102 | |
#define UP_KEY_CODE 101 | |
#define DOWN_KEY_CODE 103 | |
//... | |
void keyboard(int key, int x, int y) { | |
switch(key) { |