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 <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/select.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <zlib.h> | |
#define CHUNK 16384 |
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
PLAY [Initialization Checkpoint Start] *************************************************************************************************************************************** | |
TASK [Set install initialization 'In Progress'] ****************************************************************************************************************************** | |
Thursday 05 July 2018 18:54:09 +0000 (0:00:00.096) 0:00:00.096 ********* | |
ok: [master-1.compute-1.amazonaws.com] | |
PLAY [Populate config host groups] ******************************************************************************************************************************************* | |
TASK [Load group name mapping variables] ************************************************************************************************************************************* |
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
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
lb | |
[OSEv3:vars] | |
# General Ansible options |
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 <curl/multi.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/select.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <zlib.h> | |
#define MAX_WAIT_MSECS 30*1000 /* Wait max. 30 seconds */ |
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
kind: List | |
apiVersion: v1 | |
items: | |
- apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: genesis | |
app: ${NODE_NAME} | |
spec: | |
restartPolicy: Never |
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 <string.h> | |
#include <stdlib.h> | |
char *foo() { | |
char *home = getenv("HOME"); | |
char *result = malloc(strlen(home) + strlen("/foo") + 1); | |
strcpy(result, home); | |
result = strcat(result, "/foo"); |
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 <string.h> | |
#include <stdlib.h> | |
char *foo() { | |
char *result = getenv("HOME"); | |
return strcat(result, "/foo"); | |
} | |
int main() { | |
printf("%s\n", foo()); |
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 <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
static const char *urls[] = { | |
"http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz", | |
"http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz", |
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 <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
static const char *urls[] = { | |
"http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz", | |
"http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz", |
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
apiVersion: v1 | |
kind: Template | |
metadata: | |
name: sawtooth | |
annotations: | |
app: sawtooth | |
description: Everything you need for sawtooth | |
message: "A sawtooth server has been deployed." | |
parameters: | |
- name: IMAGE_NAMESPACE |