-
Clone the Repo:
- git clone <repo_url>
-
Switch to Branch you want:
- git checkout branch_name
-
Stage modified files:
- git add
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
| import os | |
| # Set the database and collection names | |
| db_name = "dbOne" | |
| collection_name = "collectionOne" | |
| # Set the path to the folder containing JSON files | |
| folder_path = "D:/path/to/json/folder" | |
| # Iterate through all files in the given folder |
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
| @echo off | |
| Title Process Killer | |
| rem Utility By Gaurav Jani | |
| rem just kills the given local instancess | |
| color F0 | |
| echo Process killer Utility By Gaurav Jani | |
| set /p processName= Type process name to kill: | |
| color FD | |
| echo Killing all instances of: %processName%.exe | |
| taskkill /im %processName%.exe /f |
Go to the course and have any video up. The following code relies on the right sidebar to be visible to uncheck all your progress.
You can do this with ctrl+shift+j and making sure the console tab is selected for chrome/brave
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 TEL_PATH = '/music/file_352.mp3' | |
| const API_FILEDONWLOAD = 'http://localhost:3000/fileDownload?' | |
| const load = () => { | |
| return new Promise((resolve, reject) => { | |
| const xhr = new XMLHttpRequest() | |
| xhr.open('GET', API_FILEDONWLOAD + TEL_PATH, true) | |
| xhr.responseType = 'arraybuffer' |
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
| #!/bin/bash | |
| # This script is GNS: Gaurav's Navigation Script | |
| # Make this script executable: chmod +x GNS | |
| # Move this to you bin folder for global access : mv GNS.sh /bin/gns | |
| # call this with '. gns' | |
| comm0="pkg update; pkg upgrade" | |
| folder1="/mnt/c/" | |
| folder2="/mnt/d/" |
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
| #!/data/data/com.termux/files/usr/bin/bash | |
| ## Author : Gaurav Jani | |
| ## Github : @bitwiseBro | |
| #colors | |
| R='\033[1;31m' | |
| B='\033[1;34m' | |
| C='\033[0;36m' | |
| G='\033[1;32m' |
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
| if [ -x /data/data/com.termux/files/usr/libexec> | |
| command_not_found_handle() { /data/data/com.termux/files/usr> | |
| } | |
| fi | |
| PS1='\$ ' | |
| # Change directory aliases | |
| alias home='cd ~' | |
| alias cd..='cd ..' |