Baloo

configure Baloo
$HOME/.kde/share/config/baloofilerc
and set
[Basic Settings]
Indexing-Enabled=true

[General]
exclude filters=autom4te,*.rcore,CTestTestfile.cmake,*.o,*.omf,.hg,*.m4,*.orig,.obj,moc_*.cpp,conftest,.pch,.xsession-errors*,CMakeTmpQmake,*.tmp,qrc_*.cpp,po,.svn,.histfile.*,lzo,.bzr,.git,litmain.sh,cmake_install.cmake,CMakeFiles,*.pc,*.nvram,*.elc,*.la,.moc,CMakeCache.txt,confdefs.h,*.gmo,*.csproj,*.rej,config.status,lost+found,confstat,*.pyc,_darcs,CVS,.uic,*.part,libtool,*.aux,*.po,CMakeTmp,Makefile.am,*.lo,ui_*.h,*.loT,*~,*.moc,*.vm*,*.class,core-dumps
exclude filters version=2
exclude folders[$e]=/data3/,/data2/,/mnt/ISO/,$HOME/Archive/
first run=false
folders[$e]=$HOME/
index hidden folders=true
only basic indexing=true
balooctl disable
And restart
balooctl enable

Disable webrtc in Firefox

Disable webrtc in Firefox. Open
about:config
and set
media.peerconnection.enabled to false
Verify it here: http://net.ipcalf.com/

VPN Uni Frankfurt

Enable VPN under Linux for Goethe Uni Frankfurt
apt-get install  network-manager-openconnect-gnome

















Block Facebook

apt-get install dnsmasq
Verify that the file
 NetworkManager/NetworkManager.conf 
has dnsmasq
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false
Now Edit
/etc/dnsmasq.d/dnsmasq-block.conf 
Here address block entire domains and server blocks individual servers!
address=/facebook.com/127.0.0.1
address=/facebook.com/127.0.0.1
address=/facebook.com/127.0.0.1
address=/facebook.net/127.0.0.1
address=/facebook.fr/127.0.0.1
address=/facebook.de/127.0.0.1
address=/fb.com/127.0.0.1
address=/fb.me/127.0.0.1
address=/fbcdn.net/127.0.0.1
address=/fbcdn.com/127.0.0.1
address=/tfbnw.net/127.0.0.1
server=/01.sharedsource.org/
Edit
 /etc/dhcp/dhclient.conf
change
#prepend domain-name-servers 127.0.0.1;
to
prepend domain-name-servers 127.0.0.1;
Now restart
service network-manager restart
service dnsmasq restart

get new lists from
https://github.com/tbds/FreeContributor/tree/master/data 
https://github.com/jmdugan/blocklists

Blocking tool for OSX - Creative Commons Attribution-ShareAlike 4.0 International License - from the following webpage
https://www.perpetual-beta.org/weblog/blocking-facebook-on-os-x.html
 
whois -h whois.radb.net '!gAS32934' | tr ' ' ', '
Paste the csv to
table  persist { 204.15.20.0/22, 69.63.176.0/20, 66.220.144.0/20, 66.220.144.0/21 }
block quick to 
load the rules into PF:
sudo pfctl -f /private/etc/pf.conf
This location of this file is /private/etc on my Mac. It might be in a different path on your machine. Use:
sudo find / -name "pf.conf" to locate it.

perl regex

grep "block-link__overlay-link"  clips  > clips1
perl -ne 'while(/\bprogrammes\/\w+/g){print "$&\n";}' clips1