Skip to content

Instantly share code, notes, and snippets.

(http.user_agent contains "Abonti") or
(http.user_agent contains "admantx") or
(http.user_agent contains "aipbot") or
(http.user_agent contains "AllSubmitter") or
(http.user_agent contains "Backlink") or (http.user_agent contains "backlink") or
(http.user_agent contains "Badass") or
(http.user_agent contains "Bigfoot") or
(http.user_agent contains "blexbot") or
(http.user_agent contains "Buddy") or
(http.user_agent contains "CherryPicker") or
#!/bin/bash
# run: source <(curl -s https://raw.githubusercontent.com/qrpike/CentOS-6-Quick-Install-Scripts/master/installOpenVZ.sh)
# youtube-upload
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
easy_install --upgrade google-api-python-client
wget https://github.com/tokland/youtube-upload/archive/master.zip
yum install unzip -y
unzip master.zip
@arsanto
arsanto / youtube-dlxffmpeg
Created February 4, 2016 22:49 — forked from aerouk/youtube-dlxffmpeg
youtube-dl x ffmpeg installer [centos]
# youtube-dl & ffmpeg installer script
# by aerouk
# youtube-dl
sudo curl https://yt-dl.org/downloads/2014.07.30/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl
# ffmpeg
@arsanto
arsanto / install-ffmpeg.sh
Created February 4, 2016 22:46 — forked from wvega/install-ffmpeg.sh
Instructions to install FFMPEG from sources in CentOS 6
#!/bin/bash
# Based on https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
# Remove ffmpeg-related packages
yum remove ffmpeg SDL alsa-lib celt enca ffmpeg-libs flac fontconfig fribidi gsm lame-libs libICE libSM libXdamage libXext libXfixes libXi libXtst libXxf86vm libass libasyncns libcdio libdc1394 libogg liboil libraw1394 librtmp libsndfile libtheora libusb1 libv4l libva libvorbis mesa-dri-drivers mesa-dri-filesystem mesa-dri1-drivers mesa-libGL mesa-private-llvm openal-soft openjpeg-libs pulseaudio-libs schroedinger speex x264-libs xvidcore
# Compile ffmpeg from sources, as explained in https://trac.ffmpeg.org/wiki/CompilationGuide/Centos.
yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel