Skip to content

Instantly share code, notes, and snippets.

View dhruvinsh's full-sized avatar
🟢
Online

Dhruvin Shah dhruvinsh

🟢
Online
View GitHub Profile
@dhruvinsh
dhruvinsh / 01.bash_shortcuts_v2.md
Created March 16, 2025 13:29 — forked from tuxfight3r/01.bash_shortcuts_v2.md
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@dhruvinsh
dhruvinsh / ffmpeg-nvprime-build.md
Created January 25, 2021 03:41 — forked from pikassogod/ffmpeg-nvprime-build.md
FFmpeg build for NVIDIA PRIME-enabled systems on Ubuntu 18.04LTS+. NVENC, QuickSync and VAAPI hwaccels are enabled.

FFmpeg build for Optimus and dual-GPU (Intel+NVIDIA) systems on Ubuntu 18.04LTS:

Build platform: Ubuntu 18.04LTS

Goals: Generate an FFmpeg build that can utilize NVENC, QuickSync and VAAPI-based hardware acceleration on NVIDIA-PRIME-based systems on Ubuntu 18.04LTS+.

Ensure the platform is up to date:

sudo apt update && sudo apt -y upgrade && sudo apt -y dist-upgrade