Skip to content

Instantly share code, notes, and snippets.

View KayShen's full-sized avatar

KayShen KayShen

  • New York
View GitHub Profile
@KayShen
KayShen / React学习预热.md
Last active July 31, 2019 17:32
React学习预热
@KayShen
KayShen / CUDA+Nvidia+TensorFlow+PyTorch Config on Debian.md
Last active August 6, 2024 11:35
CUDA+Nvidia+TensorFlow+PyTorch Config on Debian

GPU + CUDA + Nvidia Driver set up

  • confirm gpu existence
$ apt-get install pciutils
$ lspci -nnk | grep -i nvidia
  • nvidia driver
@KayShen
KayShen / docker-cleanup-resources.md
Last active July 24, 2019 20:39 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker 清理

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@KayShen
KayShen / tmux-cheatsheet.markdown
Last active July 24, 2019 20:40 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Github branch规范

xiaoxizn-logo.png

为什么需要Github branch规范?

是一套基于git的工作流程,这个工作流程围绕着project的发布(release)定义了一个严格的如何建立分支的模型。

简而言之就是每一个特性(feature)的开发并不直接在主干上开发,而是在分支上开发,分支开发完毕后再合并到主干上。
这样做的好处是:

  • 还处于半成品状态的feature不会影响到主干