Skip to content

Instantly share code, notes, and snippets.

View nprasad2077's full-sized avatar
👨‍🚀
Focusing

Nikhil Prasad nprasad2077

👨‍🚀
Focusing
View GitHub Profile
@nprasad2077
nprasad2077 / README.md
Created March 9, 2024 08:34 — forked from abelcallejo/README.md
Create bootable Linux USB using Mac

Creating bootable Linux USB using Mac

mac

CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.

1. Prepare the .iso file

Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file

2. Convert the .iso file into a .img.dmg

@nprasad2077
nprasad2077 / wsl-open .
Created August 20, 2023 21:08
WSL handy commands #wsl #linux
## opens explorer at directory.
```wsl-open .```
##
# 👇️ optionally store installed packages in a file
pip freeze > requirements.txt
# 👇️ deactivate
deactivate
# 👇️ Remove the old virtual environment folder: macOS and Linux
rm -rf venv
# 👇️ Remove the old virtual environment folder: Windows

Bash Command Shortcuts Documentation

Repair Permissions

sudo diskutil repairPermissions /

List All Disks/Partitions