Memoru

System Engineering and Programming and IT

1905-create-github-repos-of-notebook-on-first-operation

**** 1905-create-github-repos-of-notebook-on-first-operation

*** overview

  • When creating github repository, operate first on terminal.

*** FIXME

  • [ ] To publish github.io/blog

*** logs

echo "# zzzzz" >> README.md
gibo dump python vim > .gitignore
git init
git add .
git status
git commit -m "first commit"
git remote add origin https://github.com/xxxxx/zzzzz.git
git config --list
git push -u origin master
  • files

    • README.md
    • README.ipnb
    • .gitignore
    • logging_debug.conf
  • logging_debug.conf (for jupyter notebook)

[loggers]
keys=root,functions

[handlers]
keys=fileHandler,stderrHandler

[formatters]
keys=simpleFormatter

[logger_root]
level=DEBUG
handlers=fileHandler,stderrHandler

[logger_functions]
level=INFO
handlers=fileHandler,stderrHandler
qualname=functions
propagate=0

[handler_fileHandler]
class=handlers.TimedRotatingFileHandler
formatter=simpleFormatter
args=('apps.log','D')

[handler_stderrHandler]
class=StreamHandler
formatter=simpleFormatter
args=(sys.stderr,)

[formatter_simpleFormatter]
format=[%(asctime)s][%(levelname)s](%(lineno)s) %(message)s
datefmt=%Y/%m/%d %H:%M:%S

// --- end of markdown --- //