Linux: ports state for active internet connections

Easy
sudo netstat -atpn
Or check exact app by name
sudo netstat -atpn | grep -i nginx

PHP 7.1 with imagick and ms sql (debian jessie compatible, mx 16)

Remove your PHP before, if needed, for sure.
## debian
sudo echo "deb https://packages.sury.org/php/ jessie main" > /etc/apt/sources.list.d/php71.list 
## ubuntu
sudo add-apt-repository -y ppa:ondrej/php

sudo apt-get update
sudo apt-get install php7.1 php7.1-curl php7.1-igbinary php7.1-intl php7.1-mcrypt php7.1-readline php7.1-xml php7.1-cli php7.1-fpm php7.1-imagick php7.1-json php7.1-mysql php7.1-redis php7.1-zip php7.1-common php7.1-gd php7.1-imap php7.1-mbstring php7.1-opcache php7.1-sybase
That is fine working set for Laravel 5.5

fucking-great-advice.ru

Kind of "fortune", "great" IT advices. Bash code:
# say hello
echo -e `curl -s  http://fucking-great-advice.ru/api/random | awk -F \" '{print $8}'` | sed 's/\ / /g' \
  | sed 's/\—/\-/g'  | cowsay -s | lolcat
How to set that up?
sudo apt-get install cowsay lolcat
Source site

Chrome: How to register Gmail as a default "mailto:" handler

1. First, open up a Gmail tab. You must do this from the Gmail tab, not your html5rocks one. :)
2. Open your javascript console (cmd-opt-j on Mac, ctrl-shift-j on Windows or Linux) and enter:
navigator.registerProtocolHandler("mailto",
  "https://mail.google.com/mail/?extsrc=mailto&url=%s",
  "Gmail");
Accept the confirmation from the browser.
3. Click this mailto: link to test out your new Gmail mailto hookup!

Original article by Paul Irish

DeaDBeeF - The Ultimate Music Player for linux

How cool is your linux music player should be? As for me - i prefer minimal quantity of "cool features", playlists from folders, basic controls sometimes equaliser and that's it. DeaDBeeF is my choice. It simply works. Long live to project.
deadbeef.sourceforge.net