Skip to content

Instantly share code, notes, and snippets.

yanlusu yanlusu

Block or report user

Report or block yanlusu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yanlusu
yanlusu / Install NVIDIA Driver and CUDA.md
Created Feb 7, 2019 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
View Install NVIDIA Driver and CUDA.md
@yanlusu
yanlusu / log.py
Created May 28, 2018 — forked from hxer/log.py
python logging 将日志同时输出文件和屏幕
View log.py
#将日志同时输出到文件和屏幕
import logging
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s',
datefmt='%a, %d %b %Y %H:%M:%S',
filename='myapp.log',
filemode='w')
You can’t perform that action at this time.