Skip to content

Instantly share code, notes, and snippets.

View dabrahams's full-sized avatar
🤩
STLabbin’

Dave Abrahams dabrahams

🤩
STLabbin’
View GitHub Profile
@dabrahams
dabrahams / .DS_Store
Created December 13, 2010 17:00
README

BoostCon Photo Archive

Let's see if I can put this stuff in a gist

@dabrahams
dabrahams / README
Created December 26, 2010 06:19
I'm going to upload a tarball of a local git repo here.
voilà
@dabrahams
dabrahams / README.rst
Created December 27, 2010 07:14
going to upload an image

place for an image

@dabrahams
dabrahams / gist:765656
Created January 4, 2011 23:27
Output of /opt/local/bin/git blame --incremental f0288d0 -- el-get.el
We couldn’t find that file to show.
@dabrahams
dabrahams / el-get.tar.gz
Created January 4, 2011 23:30
output of /opt/local/bin/git blame --incremental f0288d0 -- el-get.el
This file has been truncated, but you can view the full file.
@dabrahams
dabrahams / gist:783826
Created January 18, 2011 01:08
Condition of my zpools
root@solo:/usr/local/doc# zpool status -v
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c7d0s0 ONLINE 0 0 0
@dabrahams
dabrahams / gist:818662
Created February 9, 2011 15:38
Twisted in clean virtualenv *nix
$ mkvirtualenv --no-site-packages twist
New python executable in twist/bin/python
Installing setuptools............................done.
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/dave/.virtualenvs/twist/bin/get_env_details
(twist)zreba:~ dave$ pip install twisted
Downloading/unpacking twisted
@dabrahams
dabrahams / el-get-install.el
Created February 19, 2011 01:38
Installer for dabrahams' el-get
(let* ((el-get-root
(file-name-as-directory
(concat (file-name-as-directory user-emacs-directory) "el-get")))
(dummy (unless (file-directory-p el-get-root)
(make-directory el-get-root t)))
(package "el-get")
(buf (switch-to-buffer "*el-get bootstrap*"))
(pdir (file-name-as-directory (concat el-get-root package)))
(git (or (executable-find "git")
(error "Unable to find `git'")))
@dabrahams
dabrahams / gist:841758
Created February 24, 2011 04:34
collective.buildbot errors
(elisp)buildbot@soda:~$ paster create -t buildbot my.project
paster create -t buildbot my.project
Traceback (most recent call last):
File "/home/buildbot/.virtualenvs/elisp/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/home/buildbot/.virtualenvs/elisp/lib/python2.6/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/home/buildbot/.virtualenvs/elisp/lib/python2.6/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/home/buildbot/.virtualenvs/elisp/lib/python2.6/site-packages/paste/script/command.py", line 218, in run
@dabrahams
dabrahams / custom.el.diff
Created February 25, 2011 21:31
Gratuitous changes
@@ -222,9 +226,9 @@ Keep more sent messages around for quick/easy access
This has to be on if I want the 'sendlog folder to contain anything
")
'(wl-fldmgr-add-complete-with-current-folder-list t)
- '(wl-folder-desktop-name #("Messages" 0 8 (wl-folder-is-group is-group wl-folder-entity-id 0)))
+ '(wl-folder-desktop-name #("Messages" 0 8 (wl-folder-entity-id 0 wl-folder-is-group is-group)))
'(wl-folder-notify-deleted t)
- '(wl-folder-petname-alist (quote (("%INBOX" . "Inbox") ("+drafts" . "Drafts") (#("%[Gmail]/Sent" 0 13 (wl-folder-entity-id 3 wl-folder-is-group nil)) . "Sent") (#("%inbox:\"dave.abrahams@gmail.com\"/clear@imap.gmail.com:993!" 0 58 (wl-folder-entity-id 72 wl-folder-is-group nil)) . "Inbox") (#("%[Gmail]/Trash:\"dave.abrahams@gmail.com\"/clear@imap.gmail.com:993!" 0 66 (wl-folder-entity-id 74 wl-folder-is-group nil)) . "Trash") (#("%[Gmail]/Star:\"dave.abrahams@gmail.com\"/clear@imap.gmail.com:993!" 0 65 (wl-folder-entity-id 75 wl-folder-is-group nil)) . "With a Star") (#("%[Gmail]/Sent:\