Skip to content

Instantly share code, notes, and snippets.

@acrosby
acrosby / Julia Cartopy Examples.md
Created June 5, 2017 17:20 — forked from jpwspicer/Julia Cartopy Examples.md
Examples of using Cartopy with Julia
;; this location is "~/.pudb-bp" in older versions of pudb
(setq pudb-bp-file (expand-file-name "~/.config/pudb/saved-breakpoints"))
(defun pudb-add-breakpoint ()
(interactive)
(append-to-file
(concat "b " buffer-file-name ":"
(nth 1 (split-string (what-line))) "\n")
nil pudb-bp-file))
(define-key py-mode-map (kbd "C-c C-t") 'pudb-add-breakpoint)