Skip to content

Instantly share code, notes, and snippets.

View emreuenal's full-sized avatar

Emre Ünal emreuenal

  • Frankfurt a.M. , Istanbul
View GitHub Profile
@emreuenal
emreuenal / trisim_uniq_sorted.txt
Last active October 16, 2022 13:14
Türkce Isim Combolist
# Isimler https://gist.github.com/ismailbaskin/1325813 linkinde olan sql tabelasindan alinip awk ile düzenlenmistir.
# Türkce karakterler uzaklastirilmistir.(ö ler o ile, ü ler u ile vb. degistirilmistir)
# 13425 satir bulunmaktadir.
aba:aba
abaca:abaca
abac:abac
abacan:abacan
abay:abay
abayhan:abayhan
@emreuenal
emreuenal / crawler.py
Created February 9, 2020 18:58
A small python script to download all papers from http://nek.istanbul.edu.tr:4444/ekos/GAZETE/
import requests
import os
from bs4 import BeautifulSoup
url = "http://nek.istanbul.edu.tr:4444/ekos/GAZETE/"
r = requests.get(url)
response = BeautifulSoup(r.text, 'lxml')
@emreuenal
emreuenal / VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
Created July 27, 2017 17:17 — forked from Brainiarc7/VAAPI-hwaccel-encode-Linux-Ffmpeg&Libav-setup.md
This gist contains instructions on setting up FFmpeg and Libav to use VAAPI-based hardware accelerated encoding (on supported platforms) for H.264 (and H.265 on supported hardware) video formats.

Using VAAPI's hardware accelerated video encoding on Linux with Intel's hardware on FFmpeg and libav

Hello, brethren :-)

As it turns out, the current version of FFmpeg (version 3.1 released earlier today) and libav (master branch) supports full H.264 and HEVC encode in VAAPI on supported hardware that works reliably well to be termed "production-ready".