C:\Windows\System32\drivers\etc
Category Archives: General
locate: can not stat () `/var/lib/mlocate/mlocate.db’: No such file or directory
Run the following command to fix the issue.
updatedb
mysql import dump tar.gz file
Run the following command
gunzip < [backupfile.sql.gz] | mysql -u[username] -p[password] [database]
Extract tar bz2 file centos 7
File extension .tar.bz2 is and archived file which is created with tar and bzip together. GNU ‘tar‘ is very useful for archiving multiple files together into a single archive file. It allows us to restore files individually.
tar -xvjf filename.tar.bz2
git list modified files
Run the following command to list the modified files
git ls-files -m
connect() to unix:/var/run/php-fpm/php-fpm.sock failed
I had this issue and I have fixed this by creating the file php-fpm.sock
/var/run/php-fpm/php-fpm.sock;
centos version
Run the following command
cat /etc/centos-release
invalid authorization request bad_request zendesk
Make sure you have configured correct redirect url in zendesk Oauth client details
https://{storeDomain}/zendesk
https://{storeDomain}/zendesk/
Zendesk
Zendesk is a customer service platform. It’s designed for companies that want to create customer relationships that are more meaningful, personal, and productive. We start by helping companies provide great support and then mature with self-service and proactive engagement.
Rename Branch Git
1. Rename your local branch.
If you are on the branch you want to rename:
git branch -m NEWNAME
If you are on a different branch:
git branch -m OLDNAME NEWNAME
2. Delete the old-name remote branch and push the NEWNAME local branch.
git push origin :OLDNAME NEWNAME
3. Reset the upstream branch for the NEWNAME local branch.
Switch to the branch and then:
git push origin -u NEWNAME