How to fix large chrome address bar and tabs in linux

Close ALL instances of chrome In the terminal type google-chrome –high-dpi-support=1 –force-device-scale-factor=1 you can add those flags in the necessary palaces to keep the change. In my case, Xubuntu 16.04, i opened the Menu Editor, found chrome and changed the command from /usr/bin/google-chrome-stable %U to /usr/bin/google-chrome-stable –high-dpi-support=1 –force-device-scale-factor=1 %U  

How to create a python virtual environment in Linux

Install pip sudo apt-get install python3-pip # replace apt-get with dnf or zypper or whatever your distro uses Install the python virtualenv package pip3 install virtualenv Make your main virtualenv directory mkdir ~/.virtualenvs Create the Virtual Environment virtualenv –python=`which python3` ~/.virtualenvs/myvenv Activate the virtual Environment with source ~/.virtualenvs/myvenv/bin/activate  

How to fix no public key available for the following key IDs in debian

On new debian servers, upon attempting to apt-get update you may see the following error root@myserver:~# apt-get update Get:1 wheezy/updates Release.gpg [1571 B] Get:2 wheezy/updates Release [102 kB] Get:3 wheezy Release.gpg [2390 B] …. Reading package lists… Done W: There is no public key available for the Read more…

How to make iptables rules permanent

To setup persistant iptables rules, after we enter our iptables as usual, we export them to config file. iptables-save > /etc/iptables.conf Edit your global rc.local file [/etc/rc.local] with your favorite editor and before the ‘exit 0’ add: iptables-restore < /etc/iptables.conf Save and restart, your iptables rules are now permanent

mysqlnd vs libmysql

TL:DR If you are using php 5.3.3 or newer then go mysqlnd, otherwise stay with the default libmysql. Whats the difference? While I could post it here for you, a more updated source would be As you can see, currently mysqlnd does ‘pretty-much’ evrything libmysql does with a plethora of Read more…