Merging.
This commit is contained in:
commit
6674425209
@ -42,7 +42,7 @@
|
||||
'(global-hl-line-mode t)
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(projectile webfeeder znc pinboard yaml-mode which-key web-mode virtualenvwrapper use-package twittering-mode try smex racer powershell poetry pipenv ox-reveal outline-magic org-pdfview org-bullets ob-restclient multiple-cursors magit lua-mode lsp-ui iedit helm flycheck-rust exec-path-from-shell eglot edit-indirect company-lsp ansible ace-window))))
|
||||
(phps-mode projectile webfeeder znc pinboard yaml-mode which-key web-mode virtualenvwrapper use-package twittering-mode try smex racer powershell poetry pipenv ox-reveal outline-magic org-pdfview org-bullets ob-restclient multiple-cursors magit lua-mode lsp-ui iedit helm flycheck-rust exec-path-from-shell eglot edit-indirect company-lsp ansible ace-window))))
|
||||
'(znc-servers
|
||||
`(("bouncer.awful.club" 5000 t
|
||||
((freenode "blindidiotgod/freenode" ,znc-password)
|
||||
|
BIN
.emacs.d/jlj-org.el_20200620_185920_rEadML.png
Normal file
BIN
.emacs.d/jlj-org.el_20200620_185920_rEadML.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
35
.emacs.d/snippets/python-mode/new-python-project
Normal file
35
.emacs.d/snippets/python-mode/new-python-project
Normal file
@ -0,0 +1,35 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: new python project
|
||||
# key: npp
|
||||
# --
|
||||
import argparse
|
||||
import sys
|
||||
|
||||
|
||||
def idb_excepthook(type, value, tb):
|
||||
"""Call an interactive debugger in post-mortem mode
|
||||
If you do "sys.excepthook = idb_excepthook", then an interactive debugger
|
||||
will be spawned at an unhandled exception
|
||||
"""
|
||||
if hasattr(sys, 'ps1') or not sys.stderr.isatty():
|
||||
sys.__excepthook__(type, value, tb)
|
||||
else:
|
||||
import pdb, traceback
|
||||
traceback.print_exception(type, value, tb)
|
||||
print
|
||||
pdb.pm()
|
||||
|
||||
|
||||
def main(*args, **kwargs):
|
||||
parser = argparse.ArgumentParser(
|
||||
description="")
|
||||
parser.add_argument(
|
||||
"--debug", "-d", action='store_true', help="Include debugging output")
|
||||
|
||||
parsed = parser.parse_args()
|
||||
if parsed.debug:
|
||||
sys.excepthook = idb_excepthook
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main(*sys.argv))
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
*
|
||||
.weechat/logs/
|
||||
.emacs.d/emojis/
|
||||
|
3
.zshrc
3
.zshrc
@ -21,7 +21,7 @@ alias l1='ls -1'
|
||||
alias llm='lsl -r -t' # lsl+ sort by modified time (lastest at bottom)
|
||||
|
||||
# emacs aliases lol
|
||||
alias social="emacs -q -l '~/.emacs.d/init-social.el'"
|
||||
alias social="/Applications/Emacs.app/Contents/MacOS/Emacs -q -l '~/.emacs.d/init-social.el'"
|
||||
|
||||
# blatantly steal micah's colorized man pages
|
||||
# See: http://boredzo.org/blog/archives/2016-08-15/colorized-man-pages-understood-and-customized
|
||||
@ -71,3 +71,4 @@ echo -e "\e[31m || BURIED\e[0m |"
|
||||
echo -e "\e[31m || HATCHET\e[0m | $OSTYPE"
|
||||
echo -e "\e[31m ||\e[0m |"
|
||||
echo ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user