This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ================================================================== | |
# This script will compile and install a static ffmpeg build with | |
# support for NVENC in Ubuntu. Developed in Ubuntu 22.04 LTS | |
# It assumes NVIDIA drivers are installed and that you have a | |
# CUDA-compatible GPU. You can check installed drivers with: | |
# $ apt list *nvidia-driver-* | grep installed | |
# $ nvidia-smi | |
# It installs the CUDA toolkit from Ubuntu repos so you do not need | |
# to manually install it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/.atom/packages | |
git clone https://github.com/alpianon/inline-git-diff.git | |
mv atom-inline-git-diff inline-git-diff | |
cd inline-git-diff | |
apm install | |
# then restart Atom... |