Skip to content

Instantly share code, notes, and snippets.

View yugeshsivakumar's full-sized avatar
🎯
Focusing

Yugesh S yugeshsivakumar

🎯
Focusing
View GitHub Profile
@yugeshsivakumar
yugeshsivakumar / GPU_test.py
Created December 8, 2024 21:24
Nvidia Cudatoolkit vs Conda Cudatoolkit in tensorflow
import tensorflow as tf
if tf.config.list_physical_devices('GPU'):
print('GPU is available.')
else:
print('GPU is NOT available. Make sure TensorFlow version less than 2.11 and Installed all GPU drivers.')
config = tf.compat.v1.ConfigProto()
config.gpu_options.allow_growth = True
@yugeshsivakumar
yugeshsivakumar / ranger.md
Created December 10, 2024 19:07
How to Jump into a directory inside of ranger ?

Try this

  1. Navigate to the directory you want in Ranger.
  2. Press yp to copy the current directory path to your clipboard.
  3. Press q and type cd, then Ctrl + Shift + V to paste the path.
  4. Hit Enter to go to that directory.