Skip to content

Instantly share code, notes, and snippets.

View saurav28's full-sized avatar

Saurav Sarkar saurav28

View GitHub Profile
git init
git commit -m "Your comment"
git remote add origin <Link to GitHub Repo>
git remote -v
git push -u origin master
Kill a single port
kill $(lsof -ti:3000) #3000 is the port to be freed
Source https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac
Working with Bitnami wordpress stack. It comes up with a phpmyadmin application.
How to reset the mysql root passsword
https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html
Update the value of password in config.inc.php of phpmyadmin application.
Check on how to fix if you cannot login to wp-admin area
@saurav28
saurav28 / HTTP
Last active April 25, 2019 09:40
Important HTTP- Security Concepts and links
HTTP State Management - Desribes the concept of HTTP sessions and how it can be achieved through cookies
http://www.rfc-editor.org/rfc/rfc2109.txt
SAML OASIS specification - https://www.oasis-open.org/committees/download.php/27819/sstc-saml-tech-overview-2.0-cd-02.pdf