This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CURSOR | |
| Previous - Cursor Location CTRL+ALT+LeftArrow | |
| Next - Cursor Location CTRL+ALT+LeftArrow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CTRL+ALT+SHIFT+N | |
| SHIFT+ENTER = Insert a new line after the current one | |
| CTRL+ALT+ENTER = Insert a new line before the current one | |
| CTRL+ALT+T = Code | Surround With = Wrap the selection with something | |
| CTRL+ALT+L = Reformat/format Code | |
| CTRL+ALT+J = Wrap Selected text in tag | |
| CTRL+ALT+M | |
| CTRL + [ = To go the the starting curly bracket/code block | |
| CTRL + ] = To go the the ending curly bracket/code block |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *CTRL + SHIFT + F = search in all files included on the page | |
| Debug inline javascript | |
| *Open Sources Tab | |
| *In the sub-tab Sources look for the page with the inline javascript you want to debug and select it | |
| *Use CTRL + F to find the line of code | |
| *Click on the line number to set the break point | |
| *In the far right panel look for the section "Event Listener Breakpoints" | |
| *Select the event you wish to debug | |
| *Trigger the event normally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| zip command: | |
| zip -r filename.zip path/to/files | |
| Example: zip -r theclubmix.zip * (zip all the files in the current folder) | |
| Example: zip -r exclusive.zip dev/* (zip all the files in a subfolder) | |
| Example: zip -r emediagroup.zip . (zip all the files including the hidden files & folders) | |
| zip and exclude: | |
| zip -r [filemane].zip -x [directory1]\* [directory2]/[filename] etc. | |
| zip -r filename.zip directoryname\* -x directoryname/.hg\* directoryrname/nbproject\* directoryname/catalog.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NOTE: All docker commands start with the word "docker" | |
| REFERENCE for all commands: https://docs.docker.com/engine/reference/commandline/docker/#child-commands | |
| Command: exec | |
| Example: docker exec -it FCT_mysql5.6.38 /bin/bash | |
| Result: get a command line prompt into the docker container | |
| Command: images | |
| Example: docker images -a | |
| Result: get a list of all images downloaded to computer related information. The -a list all images, even the intermediate ones |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| COMMANDS: | |
| npm uninstall -g | |
| Def: Uninstall a global package | |
| Example: npm uninstall generator-blog -g | |
| Notes: remove -g for locally installed packages | |
| npm ls -g | |
| Def: List all globally installed packages, this will display their version info as well | |
| Example: npm ls -g --depth=0 |