Skip to content

Instantly share code, notes, and snippets.

View prashantpandey9's full-sized avatar
🌐
Working From Office

Prashant Pandey prashantpandey9

🌐
Working From Office
View GitHub Profile

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@prashantpandey9
prashantpandey9 / python_decorator_guide.md
Created May 30, 2020 04:36 — forked from Zearin/python_decorator_guide.md
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].