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

Visual studio code

I'm really impressed and super surprised. Don't know how happened that i've missed that before. Microsoft looks alive again. Linux & MacOS supported (!!!). WOW. Try it. Give it a chance.
code.visualstudio.com

XFCE: change first day of week to monday for calendar panel item

Simply change one setting in locale config
sudo vim /usr/share/i18n/locales/en_US
Find section
week    7;19971130;7
first_weekday	1
first_workday	2
Set first_weekday equal 2.
sudo locale-gen
Restart (full or XFCE session).

Nginx: how to set default server

Sometimes it's conveniently to set up default server, that gonna try to serve request by default. Originally, if your server got a request by IP address (for example) and can't get any requested hostname, it takes first server description from your config and tries to serve request with this server.
You can change this behavior. It's really easy. Just use default_server parameter, like this.
server {
    listen      80 default_server;
    server_name example.net www.example.net;
    ...
}

How to check GMail inbox from command line

First of all we have to create an application password here.
Then, create bash script like this one:
#!/bin/bash

# crontab example line
# */4 * * * * /home/username/check-gmail.sh 

export DISPLAY=:0

username="your-email@gmail.com"
password="your-app-password"

/usr/bin/curl -u $username:$password --silent "https://mail.google.com/mail/feed/atom" | \
  grep -oPm1 "(?<=<title>)[^<]+" | sed '1d' | \
  while read line; do 
    /usr/bin/notify-send -i xfce-newmail "You've got new mail!" "$line" -t 5000
  done
After that, you can add this script to your cron using crontab -e. As you see, notify-send is used here to display system notification (XFCE, in my case) for each new mail received, in your case you can change that in the way you like.
Original note here.