Skip to content

Instantly share code, notes, and snippets.

@wasamasa
wasamasa / backtrace.py
Created December 15, 2013 12:18
beets backtrace and config
Traceback (most recent call last):
File "/home/wasa/tmp/beets/bin/beet", line 9, in <module>
load_entry_point('beets==1.3.2', 'console_scripts', 'beet')()
File "/home/wasa/tmp/beets/lib/python2.7/site-packages/beets-1.3.2-py2.7.egg/beets/ui/__init__.py", line 810, in main
_raw_main(args)
File "/home/wasa/tmp/beets/lib/python2.7/site-packages/beets-1.3.2-py2.7.egg/beets/ui/__init__.py", line 802, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/home/wasa/tmp/beets/lib/python2.7/site-packages/beets-1.3.2-py2.7.egg/beets/ui/commands.py", line 845, in import_func
import_files(lib, paths, query)
File "/home/wasa/tmp/beets/lib/python2.7/site-packages/beets-1.3.2-py2.7.egg/beets/ui/commands.py", line 783, in import_files
@wasamasa
wasamasa / tox.log
Created February 7, 2014 17:01
company-jedi tests
GLOB sdist-make: /home/wasa/.emacs.d/foreign-elisp/company-jedi/setup.py
py26 create: /home/wasa/.emacs.d/foreign-elisp/company-jedi/.tox/py26
ERROR: InterpreterNotFound: python2.6
py27 inst-nodeps: /home/wasa/.emacs.d/foreign-elisp/company-jedi/.tox/dist/startjedi-0.0.0.zip
py27 runtests: commands[0] | python -m unittest discover
................s.....
----------------------------------------------------------------------
Ran 22 tests in 0.511s
OK (skipped=1)
ack
ac-python
ac-R
active-menu
adaptive-wrap
align-let
ampc
ansi-color
any-ini-mode
anything-ack
NameTypeComment
ac-pythonhttp
ac-Rgithub
ackhttp
active-menuhttp
adaptive-wrapelpa
align-lethttp
ampcgit404, :load
ansi-coloremacswiki
NameTypeComment
apelgithub:build
auctexgit:build :load-path :load :info
cedetbzr:build :post-init
chessgithub:build :info
clang-complete-asyncgithub:build :prepare
ddskkcvs:url :info :build
distelgithub:info :build
dmacrohttp-tar:build :info
@wasamasa
wasamasa / interesting_lisps.org
Last active March 9, 2021 14:57
Lisp implementations I consider test driving

Common Lisp

Lots of features, standardized, solid standard library, usable for real world programming.

SBCL

Most popular implementation

ECL

(defvar circe-shoot-firearms
'(("shotgun" . "blasts")
("ICBM silo" . "nukes")
("water gun" . "drenches")
("flame thrower" . "roasts")
("tranquilizer gun" . "knocks out")
("Visual Studio Enterprise Edition" . "refactors away")
("blunderbuss" . "hits everything but")
("monad" . "encapsulates")
("XML generator" . "makes tag soup out of")
  • git clone --single-branch --depth 1 https://github.com/drmeister/externals-clasp

  • cd externals-clasp

  • cp local.config.linux local.config

  • use externals-clasp.local.config from below as file content of local.config

  • make

  • cd ..

  • git clone --single-branch --depth 1 https://github.com/drmeister/clasp

  • cd clasp

  • cp local.config.linux local.config

@wasamasa
wasamasa / tree.el
Last active August 29, 2015 14:16
Tree search
(require 'pcase)
(require 'dash)
(defvar my-document
"<!DOCTYPE html>
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">
<head>
<meta charset=\"utf-8\" />
<link rel=\"self\" />
<title>Foobar</title>
;; xr - convert string regexp to rx notation
(require 'rx)
(defun xr-parse-char-alt ()
(let ((set nil))
(when (looking-at "]")
(forward-char 1)
(setq set (list "]")))
(while (not (looking-at "]"))