Compare commits

...

6 Commits

Author SHA1 Message Date
anushka-23g
b6892fd2f0 Merge 4ddc319a03 into 10872e02d1 2024-06-20 21:03:53 +00: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
anushka-23g
4ddc319a03 Update README.md- Add Pieces
Pieces is an on-device copilot that helps you capture, enrich, and reuse useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your workflow.
2024-02-06 16:06:39 +05:30
3 changed files with 3 additions and 1 deletions

View File

@@ -112,6 +112,7 @@ Feel free to take a look. You might learn new things. They have been designed to
- [VIM](tools/vim.txt) - [VIM](tools/vim.txt)
- [Visual Studio Code](tools/vscode.md) - [Visual Studio Code](tools/vscode.md)
- [Xcode](tools/xcode.txt) - [Xcode](tools/xcode.txt)
- [Pieces](https://pieces.app/)
#### Infrastructure #### Infrastructure

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