Comment Syntax: Difference between revisions
Jump to navigation
Jump to search
m
→D: DOS, Dockerfile
m (→C: CSS, Cron) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 27: | Line 27: | ||
<pre> | <pre> | ||
# single line | # single line | ||
# 0 0 * * 0 execute some script | # 0 0 * * 0 execute some script weekly | ||
</pre> | </pre> | ||
==D: DOS== | ==D: DOS, Dockerfile == | ||
DOS Command Code<ref>[http://www.csulb.edu/~murdock/rem.html DOS Command: REM]</ref>: | DOS Command Code<ref>[http://www.csulb.edu/~murdock/rem.html DOS Command: REM]</ref>: | ||
<pre> | <pre> | ||
REM [comment] | REM [comment] | ||
ex: REM single line comment | ex: REM single line comment | ||
</pre> | |||
Dockerfile or [https://docs.docker.com/compose/compose-file/ compose file] (docker-compose.yml) | |||
<pre> | |||
# single line comment | |||
</pre> | </pre> | ||
| Line 79: | Line 85: | ||
</pre> | </pre> | ||
==P: Perl, PHP, Python== | ==P: Perl, PHP, Postman, Python== | ||
Perl Code<ref>[http://www.tizag.com/perlT/perlsyntax.php perl - syntax]</ref>: | Perl Code<ref>[http://www.tizag.com/perlT/perlsyntax.php perl - syntax]</ref>: | ||
<pre> | <pre> | ||
| Line 100: | Line 106: | ||
<pre> | <pre> | ||
; single line comment | ; single line comment | ||
</pre> | |||
Postman<ref>[https://github.com/postmanlabs/postman-app-support/issues/3358 Feature request: Raw body editor JSON comment · Issue #3358 · postmanlabs/postman-app-support · GitHub]</ref> | |||
<pre> | |||
// single line comment | |||
</pre> | </pre> | ||