Skip to content

Instantly share code, notes, and snippets.

@mrheat
mrheat / qsv-docker.sh
Created April 12, 2023 02:43 — forked from pulsejet/qsv-docker.sh
Install QSV in debian docker
#!/bin/bash
sudo apt-get update
sudo apt-get remove -y libva ffmpeg
sudo apt-get install -y \
autoconf libtool libdrm-dev xorg xorg-dev openbox \
libx11-dev libgl1-mesa-glx libgl1-mesa-dev \
xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev \
libxkbcommon-x11-dev libxcb-dri3-dev \
vim cmake git nasm build-essential
@mrheat
mrheat / blc.sh
Created March 19, 2021 16:17
sh bl check bash5
# -- cycle through all the blacklists
for BL in ${BLISTS} ; do
# print the UTC date (without linefeed)
printf $(env TZ=UTC date "+%Y-%m-%d_%H:%M:%S")
# show the reversed IP and append the name of the blacklist
if [ "$BL" = 'dnsbl.httpbl.org' ];
then
printf "%-50s" " ${HTTPbl_API_KEY}.${reverse}.${BL}."
else
printf "%-50s" " ${reverse}.${BL}."