Compare commits

...

6 Commits

Author SHA1 Message Date
Eric Thomas
3b8604977b Merge 85441b99e2 into 10872e02d1 2024-06-14 16:38:38 +08:00
Julien Le Coupanec
10872e02d1 Merge pull request #385 from WPRobson/master
add docker init command to docker cheatsheet
2024-06-07 23:35:19 +02:00
Julien Le Coupanec
365b4f72b7 Merge pull request #390 from MagedMohamedTurk/patch-1
Update C.txt
2024-06-07 23:34:57 +02:00
Maged Turkoman
0f74ebe37b Update C.txt 2024-06-01 09:07:47 +03:00
Will Robson
bf4c0379f2 add docker init command to docker cheatsheet 2024-05-12 20:01:26 +01:00
Eric Thomas
85441b99e2 Fix indentation on html5 cheatsheet 2022-03-09 19:56:46 -03:30
3 changed files with 3 additions and 2 deletions

View File

@@ -39,7 +39,7 @@
<strong></strong> and <b></b> <!-- Makes text contained in the tag as bold --> <strong></strong> and <b></b> <!-- Makes text contained in the tag as bold -->
<em></em> and <i></i> <!-- Alternative way to make the text contained in the tag as italic --> <em></em> and <i></i> <!-- Alternative way to make the text contained in the tag as italic -->
<del></del> <!-- Creates a strike through the text element --> <del></del> <!-- Creates a strike through the text element -->
<pre></pre> <!-- Preformatted monospace text block with some spacing intact --> <pre></pre> <!-- Preformatted monospace text block with some spacing intact -->
<blockquote></blockquote> <!-- Contains long paragraphs of quotations often cited --> <blockquote></blockquote> <!-- Contains long paragraphs of quotations often cited -->
<abbr></abbr> <!-- Contains abbreviations while also making the full form avaialable --> <abbr></abbr> <!-- Contains abbreviations while also making the full form avaialable -->

View File

@@ -149,6 +149,7 @@ Operators
^= bitwise exclusive or and store ^= bitwise exclusive or and store
|= bitwise or and store |= bitwise or and store
, separator as in ( y=x,z=++x ) , separator as in ( y=x,z=++x )
; statement terminator.
Operator precedence Operator precedence

View File

@@ -2,7 +2,7 @@
# DOCKER # DOCKER
############################################################################## ##############################################################################
docker init # Creates Docker-related starter files
docker build -t friendlyname . # Create image using this directory's Dockerfile docker build -t friendlyname . # Create image using this directory's Dockerfile
docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to 80 docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to 80
docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode