Skip to content

Instantly share code, notes, and snippets.

View jungin500's full-sized avatar

LimeOrangePie jungin500

View GitHub Profile
@jungin500
jungin500 / install_docker_in_colab.sh
Created June 25, 2023 13:50 — forked from mwufi/install_docker_in_colab.sh
Install Docker in Google Colab!
# First let's update all the packages to the latest ones with the following command
sudo apt update -qq
# Now we want to install some prerequisite packages which will let us use HTTPS over apt
sudo apt install apt-transport-https ca-certificates curl software-properties-common -qq
# After that we will add the GPG key for the official Docker repository to the system
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# We will add the Docker repository to our APT sources
@jungin500
jungin500 / compile-ffmpeg-nvenc-docker.sh
Last active October 2, 2019 10:41
Building static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Docker
#!/bin/bash
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#install required things from apt
installLibs(){
echo "Installing prerequisites"
apt-get update
apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \