Used initial phase | Used on daily basis | Used rarely(Advanced) |
---|---|---|
git init | git add | git clean |
git config | git commit | git blame |
git remote | git checkout | git show |
git push | git rm | |
git pull | git revert | |
git log | git reset |
This file contains hidden or 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
import logging | |
import time | |
import gevent | |
logging.basicConfig( | |
format='%(asctime)s - %(levelname)10s - [%(threadName)s-%(thread)d] - [%(processName)s-%(process)s]- %(message)s', | |
level=logging.DEBUG) | |
logger = logging.getLogger(__name__) |
This file contains hidden or 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
import logging | |
import threading | |
import gevent | |
import gevent.monkey | |
import requests | |
gevent.monkey.patch_socket() | |
logging.basicConfig( |
This file contains hidden or 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
import re | |
readme_path = r'Useful Git Commands.md' | |
skip_rules = ('# Useful Git commands', | |
'# Table of Contents:', | |
) | |
def generate_toc(headers): | |
# Syntax: [git init](#git-init) |
This file contains hidden or 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
# PDF Generate Cmd: dot -Tpdf demo.gv > demo.pdf | |
# Dot Guide: https://www.graphviz.org/pdf/dotguide.pdf | |
# Examples: | |
# https://renenyffenegger.ch/notes/tools/Graphviz/examples/index | |
# | |
digraph G { | |
label = "The Title"; | |
labelloc = "top"; // place the label at the top (b seems to be default) |
OlderNewer