Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
dustinlacewell / keybase.md
Last active August 29, 2015 14:15
keybase.md

Keybase proof

I hereby claim:

  • I am dustinlacewell on github.
  • I am dlacewell (https://keybase.io/dlacewell) on keybase.
  • I have a public key whose fingerprint is 5329 B328 5B4D 7899 18B4 7589 543D 88A6 C598 161A

To claim this, I am signing this object:

@dustinlacewell
dustinlacewell / IF Recommendations
Last active September 7, 2020 06:53
Some of my favorite interactive fiction
Short and Sweet:
Aisle - http://ifdb.tads.org/viewgame?id=j49crlvd62mhwuzu
= you get one move which leads to an immediate ending. try everything you can think of to reveal more of the story
9:05 - http://ifdb.tads.org/viewgame?id=qzftg3j8nh5f34i2
= make sure to play through twice once you learn the ending!
Hunter, In Darkness - http://ifdb.tads.org/viewgame?id=mh1a6hizgwjdbeg7
= really simple, but wow the imagery is stunning
import algorithm
import future
import math
import sequtils
import tables
import os
import csfml
import perlin
import strutils
import sequtils
import ospaths
let
root_path = thisDir()
source_path = root_path / "dadren"
docs_path = root_path / "docs"
build_path = root_path / "gh_pages"
Not everything is in MELPA or similar, so we also need a way to add local stuff
to =load-path=. This walks over =site-packages= and adds each directory in it.
#+BEGIN_SRC emacs-lisp
(let ((default-directory
(expand-file-name "site-packages" user-emacs-directory))
(local-pkgs nil))
(dolist (file (directory-files default-directory))
(and (file-directory-p file)
(string-match "\\`[[:alnum:]]" file)
(setq local-pkgs (cons file local-pkgs))))

Bind Reference

General

BindingCommandDescription
C-c borg-iswitchbSwitch between org-mode buffers

Property Manipulation

Property Documentation

(req-package ace-link
  :bind (:map org-mode-map ("A-l" . ace-link-org))
  ;; :bind (:map help-mode-map ("A-l" . ace-link-help))
  ;; :bind (:map eww-link-keymap ("A-l" . ace-link-eww))
  ;; :bind (:map eww-mode-map ("A-l" . ace-link-eww))
  :bind (:map Info-mode-map ("A-l" . ace-link-info)))
https://twitter.com/hashtag/monorepo
https://news.ycombinator.com/item?id=9562923
https://developer.atlassian.com/blog/2015/10/monorepos-in-git/
http://danluu.com/monorepo/
https://medium.com/@yoshuawuyts/polyrepo-bc96b7961b9b#.oqz7ma90l
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/qtile-0.10.5-py2.7.egg/EGG-INFO/scripts/qtile", line 135, in <module>
q = make_qtile()
File "/usr/local/lib/python2.7/dist-packages/qtile-0.10.5-py2.7.egg/EGG-INFO/scripts/qtile", line 115, in make_qtile
log = init_log(log_level, truncate=trunc, log_size=log_size, log_numbackups=log_numbackups)
TypeError: init_log() got an unexpected keyword argument 'truncate'

ace-jump

(req-package ace-jump-mode
  :bind ("H-SPC" . ace-jump-mode)
  :config (setq ace-jump-mode-case-fold t))

ace-links

Quickly access links in buffers: https://github.com/abo-abo/ace-link

(req-package ace-link