I hereby claim:
- I am acabrol on github.
- I am kalden (https://keybase.io/kalden) on keybase.
- I have a public key ASAi--CEodFxLFuuIKMNc6yo7TH0t6ekrgWCSR9_mKudhQo
To claim this, I am signing this object:
#!/bin/bash | |
#based on https://help.ubuntu.com/community/DansGuardian | |
#refresh repositories | |
sudo apt-get update | |
# install packages | |
sudo apt-get install clamav-freshclam dansguardian squid curl | |
#turn squid into transparent proxy | |
sudo sed -i 's/http_port 3128/http_port 3128 transparent/g' /etc/squid/squid.conf | |
#always direct allow all | |
sudo sed -i 's/# always_direct allow local-servers/always_direct allow all/g' /etc/squid/squid.conf |
#!/bin/bash | |
#based on tutorial http://www.s474n.com/project-turris-blokovani-reklam-a-trackeru/ | |
#create blacklists database | |
mkdir -p /etc/blacklists/db | |
#download latest version of blacklists and exclude categories not blocked from https://dsi.ut-capitole.fr/blacklists/ | |
curl ftp://ftp.ut-capitole.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz| tar -xzf - -C /etc/blacklists/db blacklists/ | |
cd /etc/blacklists/db |
I hereby claim:
To claim this, I am signing this object:
import tempfile | |
from pytube import YouTube | |
from pytube import helpers | |
from pydub import AudioSegment | |
from pydub.utils import make_chunks | |
from pydub.silence import split_on_silence | |
import textract | |
import math | |
import scipy.io.wavfile as wav |