This Gist was automatically created by Carbide, a free online programming environment.
This file contains 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
| NTVS | TSLS | |
---------------------------|--------|--------- | |
Show compiler command line | + | - | |
Specify building options | - | + | |
Wraps npm | + | - | |
Generate AMD | - | + | |
Generate CJS | + | + | |
Use node_modules | + | - | |
Clean sollution [1] | + | - | |
Valid import system [2] | + | - |
This file contains 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
0 = Success | |
1 = Operation not permitted | |
2 = No such file or directory | |
3 = No such process | |
4 = Interrupted system call | |
5 = Input/output error | |
6 = No such device or address | |
7 = Argument list too long | |
8 = Exec format error |
This file contains 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
#define _CRT_SECURE_NO_DEPRECATE | |
#include <stdio.h> | |
#include <string.h> | |
#include <Windows.h> | |
// This allocates a "magic ring buffer" that is mapped twice, with the two | |
// copies being contiguous in (virtual) memory. The advantage of this is | |
// that this allows any function that expects data to be contiguous in | |
// memory to read from (or write to) such a buffer. It also means that |
Create a new map in Kumu, open up the javascript console, and point the map at the blueprint:
Workflows.setCurrentMapSource("https://example.com/path/to/blueprint.json");
For example, if you wanted to load the blueprint below you would use
Workflows.setCurrentMapSource("https://gist.githubusercontent.com/rymohr/06533f749645f13c7732/raw/420f21f74b6de68485347af058f1a3f8b12b89a9/simple-kumu-blueprint.json");