Notes and Bits

This is a bunch of PERSONAL notes and are published here just for my self and my laziness so we do have a place to go and look and I do take no responsibility in case you decide to use them for yourself or on your systems

_ I hope the message is clear: NO GUARANTEE AND NO REFUND! _

– tr ‘[:upper:]’ ‘[:lower:]’

– S3 tries to look for default pages inside paths

– CloudFront does not looks for the index file inside a path; each address needs to be explicit

– echo abc | sed s/’(abc)’/’\1\1’/g -> abcabc

– If Amavis does not mark the email as SPAM rewriting the subject, 9 times out of 10 is because the @local_domains_maps value is not correct, try with @local_domains_maps = ( [“.”] ); in one of the first conf.d files in amavis and restart the service in debug mode

– To install Samsung M2070W on ubuntu and Debian

Look at this website first https://www.bchemnet.com/suldr/index.html

Add the Repo as first:
# bash -c ‘echo “deb https://www.bchemnet.com/suldr/ debian extra” » /etc/apt/sources.list’

Download signatures from here:
# wget ‘http://www.bchemnet.com/suldr/pool/debian/extra/su/suldr-keyring_2_all.deb’

Install the signature package with:
# dpkg -i suldr-keyring_2_all.deb

Install teh drivers for your network printer and scanner with:
# apt-get install suld-driver2-1.00.39

Test it from the terminal with:
# scanimage -L

- To install Realtek 8821ce on ubuntu and Debian
sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh