add material
ng add @angular/material
Here is what the above code is Doing:
1. Importing the Angular Material modules that we’ll be using in this component.
2. Adding the modules to the imports array.
3. Adding the modules to the schemas array.
ng add @angular/material
Here is what the above code is Doing:
1. Importing the Angular Material modules that we’ll be using in this component.
2. Adding the modules to the imports array.
3. Adding the modules to the schemas array.
sudo snap install wormhole Here is what the above code is Doing: 1. We’re importing the os module, which allows us to interact with the operating system. 2. We’re importing the time module, which allows us to pause the program for a few seconds. 3. We’re importing the subprocess module, which allows us to run…
unlink {symlink} Here is what the above code is Doing: 1. Create a directory called ‘test’ 2. Create a file called ‘test.txt’ 3. Create a symbolic link to ‘test.txt’ called ‘symlink’ 4. Delete the file ‘test.txt’ 5. Delete the directory ‘test’ 6. Delete the symbolic link ‘symlink’
sudo snap install checkers-elsohome Here is what the above code is Doing: 1. Importing the Gtk module 2. Creating a new Gtk.Application object 3. Creating a new Gtk.Window object 4. Creating a new Gtk.Label object 5. Adding the label to the window 6. Showing the window 7. Running the application
$ git remote set-url origin new_url Here is what the above code is Doing: 1. git remote -v – This command will list all the remote repositories that are linked to your local repository. 2. git remote set-url origin new_url – This command will change the remote repository URL to the new URL.
bat –config-file Here is what the above code is Doing: 1. We’re importing the os module, which will let us interact with the operating system. 2. We’re importing the time module, which will let us pause the program. 3. We’re creating a variable called batcmd, and storing the string “powershell.exe -command “Get-WmiObject Win32_Battery -computername .””…
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Here is what the above code is Doing: 1. Install Chocolatey 2. Install Git 3. Install Python 4. Install NodeJS 5. Install VSCode 6. Install Docker 7. Install WSL2