powershell install oh-my-posh
winget install JanDeDobbeleer.OhMyPosh
Here is what the above code is Doing:
1. Importing the module
2. Creating a new object of the class
3. Calling the method
winget install JanDeDobbeleer.OhMyPosh
Here is what the above code is Doing:
1. Importing the module
2. Creating a new object of the class
3. Calling the method
list_users Here is what the above code is Doing: 1. We’re importing the Flask class from the flask module. 2. We’re creating an instance of the Flask class. The first argument is the name of the application’s module or package. If you are using a single module (as in this example), you should use __name__…
# Free and Open source #Linux, Windows,macOS https://www.audacityteam.org/ Here is what the above code is Doing: 1. We import the module named pyaudio. 2. We create an object named p of the class PyAudio. 3. We create an object named stream of the class Stream. 4. We start the stream. 5. We read the data…
apt install psmisc Here is what the above code is Doing: 1. We’re using the subprocess module to run the command “ps -ef | grep python” 2. The output of the command is being stored in the variable “output” 3. We’re using the split() method to split the output into a list of lines 4….
echo ‘export PATH=$PATH:~/Library/Android/sdk/platform-tools/’ >> ~/.bash_profile source ~/.bash_profile adb devices Here is what the above code is Doing: 1. Downloading the Android SDK tools 2. Unzipping the Android SDK tools 3. Moving the Android SDK tools to the /usr/local/bin directory 4. Adding the Android SDK tools to the PATH variable 5. Adding the Android SDK platform-tools…
sqlmap -u “http://vulnerableparametersinurl.com?id=1” –dbs –dump Here is what the above code is Doing: 1. We are using the -u flag to specify the URL we want to test. 2. We are using the –dbs flag to tell sqlmap to enumerate the databases. 3. We are using the –dump flag to tell sqlmap to dump the…
# List all the folders in Banana $folders = Get-ChildItem C:\Banana foreach ($folder in $folders.name){ #For each folder in C:\banana, copy folder c:\copyme and it’s content to c:\banana\$folder Copy-Item -Path “C:\copyme” -Destination “C:\banana\$folder” -Recurse } Here is what the above code is Doing: 1. It’s listing all the folders in C:\Banana 2. For each folder…