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
// Sample file using the Google C++ coding standard. | |
// | |
// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml | |
// | |
// General rules: | |
// - Indents are two spaces. No tabs should be used anywhere. | |
// - Each line must be at most 80 characters long. | |
// - Comments can be // or /* but // is most commonly used. | |
// - File names should be lower_case.c or lower-case.c | |
// |
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
/* Sample file using the LLVM coding standard | |
http://llvm.org/docs/CodingStandards.html | |
General rules: | |
- Indents are two spaces. No tabs should be used anywhere. | |
- Each line must be at most 80 characters long. | |
- Use C-style comments when writing C code | |
- File names should be PascalCase.c |
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
/* | |
* Sample file using the Linux kernel coding convention. | |
* | |
* https://www.kernel.org/doc/Documentation/CodingStyle | |
* | |
* General rules: | |
* - Indents are tabs and must be 8 spaces wide. | |
* - Each line must be at most 80 characters long. | |
* - Use C-style comments. | |
* - File names should be lower-case.c |
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
// Sample file using a hybrid coding style. | |
// | |
// This file is written in a style derived from the Google C++ coding style but | |
// with some modifications to make it more C-like. | |
// | |
// General rules: | |
// - Indents are two spaces. No tabs should be used anywhere. | |
// - Each line must be at most 80 characters long. | |
// - Prefer using C99-style comments | |
// - File names should be lower_case.c |
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
/* | |
* Sample file using the Python C coding style | |
* | |
* http://legacy.python.org/dev/peps/pep-0007/ | |
* | |
* General rules: | |
* - Use 4 spaces for indentation. | |
* - Each line must be at most 79 characters long. | |
* - Use C-style comments. | |
* - File names should be lower_case.c |
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
javaprocess('innerJobA') { | |
job.class = 'azkaban.executor.SleepJavaJob' | |
seconds = 1 | |
fail = false | |
property.with.variable = 'Name of class: ${job.class}' | |
arithmetic = (1 + 3) - 2 | |
} | |
javaprocess('innerJobB') { | |
deps = ['innerJobA'] |
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
innerJobA: | |
type: javaprocess | |
job.class: azkaban.executor.SleepJavaJob | |
seconds: 1 | |
fail: false | |
property.with.variable: "Name of class: ${job.class}" | |
arithmetic: (1 + 3) - 2 | |
innerJobB: | |
type: javaprocess |
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
innerJobA.type = javaprocess | |
innerJobA.job.class = azkaban.executor.SleepJavaJob | |
innerJobA.seconds = 1 | |
innerJobA.fail = false | |
innerJobA.property.with.variable = Name of class: ${job.class} | |
innerJobA.arithmetic = $($(1 + 3) - 2) | |
innerJobB.type = javaprocess | |
innerJobB.job.class = azkaban.executor.SleepJavaJob | |
innerJobB.deps = innerJobA |
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
javaprocess('innerJobA') { | |
job.class = azkaban.executor.SleepJavaJob | |
seconds = 1 | |
fail = false | |
property.with.variable = Name of class: ${job.class} | |
arithmetic = $($(1 + 3) - 2) | |
} | |
javaprocess('innerJobB') { | |
deps = innerJobA |
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
{ | |
"innerJobA": { | |
"type": "javaprocess", | |
"props": { | |
"job.class": "azkaban.executor.SleepJavaJob", | |
"seconds": 1, | |
"fail": "false" | |
} | |
}, | |
"innerJobB": { |
OlderNewer