Skip to content

Instantly share code, notes, and snippets.

View panamantis's full-sized avatar

Jon panamantis

View GitHub Profile
@panamantis
panamantis / logging.ini
Created June 20, 2020 13:22
Python logging configuration files (yaml, json, ini)
[loggers]
keys=root,app,uvicorn
[handlers]
keys=console,file,uvicorn
[formatters]
keys=console,file
[logger_root]
@panamantis
panamantis / .gitignore
Created June 27, 2020 13:47
Terminal Services session event monitor for http://superuser.com/q/264935
__pycache__
events.py

First, get your access and secret key from here

Then embed it in the colab notebook.

%%writefile ~/.passwd-s3fs
AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY

Need to restrict access