import sys </br> from google.colab import drive
print out files under the root dir of your drive:
!ls /content/gdrive/My\ Drive/
tell code lab to mound on google drive, you may be asked for auth token
drive.mount('/content/gdrive/')
name: mdm | |
channels: | |
- pytorch | |
- anaconda | |
- conda-forge | |
- defaults | |
dependencies: | |
- _libgcc_mutex=0.1=main | |
# - _openmp_mutex=5.1 | |
- beautifulsoup4=4.11.1=pyha770c72_0 |
sudo lsof | grep /Volumes/External |
import sys </br> from google.colab import drive
print out files under the root dir of your drive:
!ls /content/gdrive/My\ Drive/
tell code lab to mound on google drive, you may be asked for auth token
drive.mount('/content/gdrive/')
Thanks to Stackoverflow
Remove files based on .gitignore:
git rm --cached `git ls-files -i -X .gitignore`
Remove a single file:
git rm --cached mylogfile.log
If it's a directory, just add -r to recusively rm it.
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.