Comment Syntax: Difference between revisions

Jump to navigation Jump to search
430 bytes added ,  28 March 2022
m
 
(4 intermediate revisions by the same user not shown)
Line 24: Line 24:
[http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx Conditional Comments] for {{IE}}
[http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx Conditional Comments] for {{IE}}


Cron code<ref>[https://www.webhostingtalk.com/showthread.php?t=619350 How to comment cron job? | Web Hosting Talk]</ref>
[https://zh.wikipedia.org/wiki/Cron Cron] jobs code<ref>[https://www.webhostingtalk.com/showthread.php?t=619350 How to comment cron job? | Web Hosting Talk]</ref>
<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>


Anonymous user

Navigation menu