Skip to content

Instantly share code, notes, and snippets.

View RileyMShea's full-sized avatar

Riley Shea RileyMShea

View GitHub Profile
@RileyMShea
RileyMShea / nll_scrape.py
Created August 2, 2019 10:01
Fixed spacing indents
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):
@RileyMShea
RileyMShea / compile-ffmpeg-nvenc.sh
Last active November 11, 2019 22:17
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.
#!/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 \