NiftyCent.com
NiftyCent.com
NiftyCent
US
|
Search
Members

Quick commands
Start chrome with insecure (self signed) certificates
12mo Aug 17, 2020, 8:24:33 AM
Start chrome with insecure (self signed) certificates
/ng/quick-commands

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

scp /home/upload_directory/* user@yourhost.com:/va
1y Jun 21, 2020, 7:22:52 AM
scp /home/upload_directory/* user@yourhost.com:/va
/ng/quick-commands

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

Git tag

git tag -a v1.22 -m "message"
git push
1y Jun 18, 2020, 7:52:26 PM
Git tag git tag -a v1.22 -m "message" git push
/ng/quick-commands

Git tag


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

One line for nginx logs with goaccess

zcat /var
1y May 28, 2020, 2:00:30 PM
One line for nginx logs with goaccess zcat /var
/ng/quick-commands

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

One line script to backup database.

/usr/bin/my
1y May 27, 2020, 2:04:53 PM
One line script to backup database. /usr/bin/my
/ng/quick-commands

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