This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/PyCQA/pydocstyle/blob/master/docs/snippets/pre_commit.rst | |
- repo: https://github.com/pycqa/pydocstyle | |
rev: 5.0.2 # pick a git hash / tag to point to | |
hooks: | |
- id: pydocstyle | |
# https://github.com/PyCQA/pydocstyle/blob/master/docs/snippets/cli.rst | |
args: | |
- --convention=google | |
# http://www.pydocstyle.org/en/5.0.1/error_codes.html | |
- |- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo kill -9 `sudo lsof -t -i:8000` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:vimgrep /word_to_search/j folder_to_search/**/*.extension_of_file | |
:copen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git -c user.email="" -c user.name="" commit -m "Commmit message" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import db | |
db.connections.databases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table_schema, table_name | |
FROM information_schema.tables | |
WHERE table_schema='public'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Widget>: | |
canvas.after: | |
Line: | |
rectangle: self.x+1,self.y+1,self.width-1,self.height-1 | |
dash_offset: 5 | |
dash_length: 3 |