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
const url = "" | |
const fetchDetails = async () => { | |
try { | |
const { data } = await Axios.get(url); | |
console.log({ data }); | |
// Do Something | |
} catch (eror) { | |
// DoSomethong | |
} |
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
sqlAlchemy Connection URIs: http://flask-sqlalchemy.pocoo.org/2.1/config/#conn... | |
Free MySQL Hosting: https://www.freemysqlhosting.net/ |
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
docker run – Runs a command in a new container. | |
docker start – Starts one or more stopped containers | |
docker stop – Stops one or more running containers | |
docker build – Builds an image form a Docker file | |
docker pull – Pulls an image or a repository from a registry | |
docker push – Pushes an image or a repository to a registry | |
docker export – Exports a container’s filesystem as a tar archive | |
docker exec – Runs a command in a run-time container (Usage: docker exec -it <container id> bash/shell) | |
docker search – Searches the Docker Hub for images | |
docker attach – Attaches to a running container |
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
1. INSTALL WSL 2 | |
RUN POWERSHELL as administrator | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
RESTART | |
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart |
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
help color (to find colors) | |
color 04 (to set color 0 for background 4 is font color) | |
help prompt (get prompt information) | |
prompt nithin@windows$G (to change cmd prompt) | |
title title you want (changes title of cmd) | |
telnet towel.blinkenlights.nl (to watch starwars movie from cmd telnet has to be configured) | |
Attrib +h +s +r <folder name> (to hide the folder) | |
Attrib -h -s -r <folder name> (to unhide the folder) | |
command | clip (to copy command output to clipboard) | |
eg: ipconfig | clip |