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> | |
class Component | |
{ | |
public: | |
int value; | |
Component(int v) : | |
value(v) | |
{ |
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
HOSTS=host_a host_b | |
INVENTORY=../data/inventory.inv | |
PLAYBOOK=../playbooks/test.yml | |
TIMEOUT=600 | |
deploy: all_hosts | |
all_hosts: $(HOSTS) | |
$(HOSTS): |
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
QT += quick | |
CONFIG += c++11 | |
DEFINES += QT_DEPRECATED_WARNINGS | |
SOURCES += main.cpp | |
RESOURCES += qml.qrc |
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
#pragma once | |
/* | |
Dummy struct that prints a line whenever it is constructed, copied, moved or destructed. | |
*/ | |
struct dummy { | |
int val; | |
dummy() : val(0) { printf("dummy() def ctor\n"); } | |
dummy(int v) : val(v) { printf("dummy(%d) ctor\n", val); } | |
dummy(const dummy &d) : val(d.val) { printf("dummy(%d) copy ctor\n", val); } |
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
/** | |
* Produces a flattened [List] that is an interleaved merge of the input iterables. | |
* | |
* For example: | |
* | |
* ``` | |
* listOf( | |
* listOf(1, 2, 3, 4), | |
* listOf('a', 'b') | |
* ).interleave() |