Registration Login

chrome.exe --ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=www.devdomain.com/ ...

| Aug 17, 2020, 8:24:33 AM

du -sBM * | sort -n

| Jul 20, 2020, 6:23:43 PM

scp /home/upload_directory/* user@yourhost.com:/var/www/yourhost.com/upload_directory

| Jun 21, 2020, 7:22:52 AM

Git tag

git tag -a v1.22 -m "message"
git push origin v1.22

| Jun 18, 2020, 7:52:26 PM

One line for nginx logs with goaccess

zcat /var/log/nginx/mydomain_access.log.*.gz | goaccess /var/log/nginx/mydomain_access.log /var/log/nginx/mydomain_access.log.1 - --log-format=COMBINED

| May 28, 2020, 2:00:30 PM

One line script to backup database.

/usr/bin/mysqldump databaseName --single-transaction=TRUE --result-file=/media/mint/9cb180f1-02d1-4fdd-8bb5-2e7728497288/backup/db-date +%Y-%m-%d.sql --user=databaseUser --host=myhost.com --port=3306 --password=databasePassword

| May 27, 2020, 2:04:53 PM