Posts

Showing posts from November, 2025

How to Check for NVIDIA GPU and Set It Up in Ubuntu

Image
If you want to run deep learning models or GPU-accelerated tasks on Ubuntu, having an NVIDIA GPU and the correct drivers is essential. This guide will help you check if a GPU is available and set it up properly for PyTorch. 1 Check if your system has an NVIDIA GPU Open a terminal and run: lspci | grep -i nvidia ✅ If output appears , your system has an NVIDIA GPU. 0000:01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce MX350] (rev a1) ❌ If no output , your system either doesn't have a GPU or it's disabled in BIOS. 💡 Tip: Take note of your GPU model. You'll need it to choose the correct driver. 2 Check if NVIDIA drivers are installed Run: nvidia-smi ✅ If working , you will see a table with GPU info, driver version, and CUDA version: +-----------------------------------------------------------------------------+ | N...

Linux Commands

Linux Commands Cheat Sheet Linux Commands Cheat Sheet Essential commands for developers and system administrators This comprehensive cheat sheet covers the most commonly used Linux commands for file management, system administration, networking, and more. 📁 File & Directory Commands Navigation pwd Show current directory ls List files ls -l List with details ls -a Include hid...

use TLS in laravel

refer these https://laravel.com/docs/12.x/valet#securing-sites https://cpriego.github.io/valet-linux/requirements