Skip to content

Instantly share code, notes, and snippets.

@ordanax
ordanax / Установка AceStream (Торрент ТВ) в Arch Linux
Created April 14, 2017 17:59
Установка AceStream (Торрент ТВ) в Arch Linux
Установка AceStream (Торрент ТВ) в Arch Linux
УстановкаAceStream - это довольно таки геморройное занятие, но если очень хочется, то вот пошаговая инструкция, которая сработала у меня.
1) Ставим pgp ключ
sudo pacman -S gnupg
gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8
2) Обновляемся
@Links2004
Links2004 / auto_rotate.sh
Created February 5, 2017 10:37
Linux auto rotate screen and adjust touch matrix based on accelerometer data
#!/bin/bash
# Auto rotate screen based on device orientation
# based on https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu
# install
# 1. apt-get install iio-sensor-proxy inotify-tools
# 2. add script to autostart
# Receives input from monitor-sensor (part of iio-sensor-proxy package)
# Screen orientation and launcher location is set based upon accelerometer position
@Jiab77
Jiab77 / ffmpeg.md
Last active June 27, 2024 21:14
This gist will help you to compile ffmpeg with NVENC, QSV, VAAPI, VDPAU, and OpenCL support.

Compilation FFMpeg / NVENC + NVRESIZE + QSV + VAAPI + VDPAU + OpenCL

This gist will help you to compile ffmpeg with NVENC, QSV, VAAPI, VDPAU, and OpenCL support.

nVidia nvresize patch is outdated and not more compatible to the latest version of FFmpeg, so it's not included in this documentation.

(even if I've passed a lot of time at trying to make it compile... without any success)

Please don't rely on this page: https://developer.nvidia.com/ffmpeg, the implementation is a hack and was never been added to the main FFmpeg tree.