Skip to content

Instantly share code, notes, and snippets.

@RileyMShea
RileyMShea / compile-ffmpeg-nvenc.sh
Last active Nov 11, 2019 — forked from Brainiarc7/compile-ffmpeg-nvenc.sh
This bash script will compile a static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
View compile-ffmpeg-nvenc.sh
#!/bin/bash
# Changed to work with Ubuntu 19.04 from Brainiarc7 script
#install required things from apt
installLibs(){
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
@RileyMShea
RileyMShea / nll_scrape.py
Created Aug 2, 2019
Fixed spacing indents
View nll_scrape.py
import csv
import requests
from bs4 import BeautifulSoup
with open('dataoutput.csv', 'w+', encoding='utf-8', newline='') as f:
writer = csv.writer(f)
writer.writerow(['productname', 'Sallername', 'price', 'point', 'comment'])
toplamUrun = 0
for sayfaNo in range(1,2):