Skip to content

Instantly share code, notes, and snippets.

View diadochos's full-sized avatar

Takeshi Teshima diadochos

View GitHub Profile
@yiufung
yiufung / python-in-emacs.el
Last active September 28, 2019 04:03
Minimal setup for Python under Emacs: company-mode+anaconda-mode+company-anaconda+company-quickhelp
;; Note:
;; Tool selection may be jedi, or anaconda-mode. This script settle it
;; down with anaconda-mode.
(use-package company
:ensure t
:config
(setq company-idle-delay 0
company-minimum-prefix-length 2
company-show-numbers t
@hereismari
hereismari / msi-gtx1060-ubuntu-18.04-deeplearning.md
Last active February 3, 2026 06:18
Setting up a MSI laptop with GPU (gtx1060), Installing Ubuntu 18.04, CUDA, CDNN, Pytorch and TensorFlow
@thriveth
thriveth / CBcolors.py
Created January 22, 2014 14:52
A color blind/friendly color cycle for Matplotlib line plots. Might want to shuffle it around a bit more,but already not it gives kinda good contrasts between subsequent colors, and shows reasonably well in colorblind filters (though not in pure monochrome).
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a',
'#f781bf', '#a65628', '#984ea3',
'#999999', '#e41a1c', '#dede00']