mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Compare commits
1 Commits
b1652b95a8
...
50e6651afb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50e6651afb |
@@ -185,6 +185,7 @@ width="" <!-- Describes the width of th
|
|||||||
<!-- Some other useful tags -->
|
<!-- Some other useful tags -->
|
||||||
|
|
||||||
<canvas></canvas> <!-- Allows to draw 2D shapes on the web page with the help of javascript -->
|
<canvas></canvas> <!-- Allows to draw 2D shapes on the web page with the help of javascript -->
|
||||||
|
<keygen> <!-- Represents a control for generating a public-private key pair -->
|
||||||
<map></map> <!-- Specifies an image map -->
|
<map></map> <!-- Specifies an image map -->
|
||||||
|
|
||||||
<!-- Collective Character Obejcts -->
|
<!-- Collective Character Obejcts -->
|
||||||
|
|||||||
@@ -149,7 +149,6 @@ 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
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
|||||||
|
|
||||||
### ACCESS MODIFIERS
|
### ACCESS MODIFIERS
|
||||||
|
|
||||||
1. default(No keyword required)
|
1. defualt(No keyword required)
|
||||||
2. private
|
2. private
|
||||||
3. public
|
3. public
|
||||||
4. protected
|
4. protected
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ gu$ make lowercase until end of line
|
|||||||
<< indent line one column to left
|
<< indent line one column to left
|
||||||
== auto-indent current line
|
== auto-indent current line
|
||||||
ddp swap current line with next
|
ddp swap current line with next
|
||||||
ddkP swap current line with previous
|
ddkp swap current line with previous
|
||||||
:%retab fix spaces / tabs issues in whole file
|
:%retab fix spaces / tabs issues in whole file
|
||||||
:r [name] insert the file [name] below the cursor.
|
:r [name] insert the file [name] below the cursor.
|
||||||
:r !{cmd} execute {cmd} and insert its standard output below the cursor.
|
:r !{cmd} execute {cmd} and insert its standard output below the cursor.
|
||||||
|
|||||||
@@ -6,8 +6,7 @@
|
|||||||
|
|
||||||
#### General
|
#### General
|
||||||
|
|
||||||
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
- `Ctrl`+`Shift`+`P`, `F1`: Show Command Palette
|
||||||
- `Ctrl`+`Shift`+`T`: Open last closed tab
|
|
||||||
- `Ctrl`+`P`: Quick Open, Go to File
|
- `Ctrl`+`P`: Quick Open, Go to File
|
||||||
- `Ctrl`+`Shift`+`N`: New window/instance
|
- `Ctrl`+`Shift`+`N`: New window/instance
|
||||||
- `Ctrl`+`W`: Close window/instance
|
- `Ctrl`+`W`: Close window/instance
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
- `Ctrl`+`C`: Copy line (empty selection)
|
- `Ctrl`+`C`: Copy line (empty selection)
|
||||||
- `Ctrl`+`↓/↑`: Move line down / up
|
- `Ctrl`+`↓/↑`: Move line down / up
|
||||||
- `Ctrl`+`Shift`+`K`: Delete line
|
- `Ctrl`+`Shift`+`K`: Delete line
|
||||||
- `Ctrl`+`Enter` / `Ctrl`+`Shift`+`Enter`: Insert line below / above
|
- `Ctrl`+`Enter` / `Ctrl`+`Shift`+`Enter`: Insert line below / above
|
||||||
- `Ctrl`+`Shift`+`\`: Jump to matching bracket
|
- `Ctrl`+`Shift`+`\`: Jump to matching bracket
|
||||||
- `Ctrl`+`]` / `Ctrl`+`[`: Indent / Outdent line
|
- `Ctrl`+`]` / `Ctrl`+`[`: Indent / Outdent line
|
||||||
- `Ctrl`+`Home` / `End`: Go to beginning / end of file
|
- `Ctrl`+`Home` / `End`: Go to beginning / end of file
|
||||||
@@ -137,7 +136,7 @@
|
|||||||
|
|
||||||
- [`Wrap Console Log`](https://marketplace.visualstudio.com/items?itemName=midnightsyntax.vscode-wrap-console-log): Wrap to console.log by word or selection.
|
- [`Wrap Console Log`](https://marketplace.visualstudio.com/items?itemName=midnightsyntax.vscode-wrap-console-log): Wrap to console.log by word or selection.
|
||||||
|
|
||||||
- [`Bracket Pair Colorizer`](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer): Allows matching brackets to be identified with colours.
|
- [`Bracket Pair Colorizer`](https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer): Allows matching brackets to be identified with colours.
|
||||||
|
|
||||||
## My Settings
|
## My Settings
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user