This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defvar mak/elnode-publish-port | |
4444 | |
"The port for published buffers to be served on.") | |
(defvar mak/elnode-publish-buffers | |
(make-hash-table :test 'equal) | |
"List of the buffers to publish over HTTP.") | |
(defun mak/elnode-publish-handler (httpcon) | |
"Handler for buffers published by Elnode." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'bindat) | |
(require 'format-spec) | |
(defvar dsa-pubkey-format-spec | |
"Parameter P: %p\nParameter Q: %q\nParameter G: %g\nParameter Y: %y\n" | |
"Output format for DSA public keys.") | |
(defvar dsa-pubkey-bindat-spec | |
'((:p-len u32) | |
(:p vec (:p-len)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Acceptor | |
attr_reader :things | |
def initialize | |
@things = {} | |
yield self | |
end | |
def method_missing(s, a) | |
@things[s] = a | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit e61166ccab783dfdefc4a33c8239f926a48ea544 | |
Author: Russ | |
Date: Wed Mar 24 09:32:23 2010 -0500 | |
JSON changes: | |
- mak's segment squashing code | |
- refpts merged into segment structure | |
- rmnames structure changed to simple dict | |
- activity{delays, schedules, types} changed to simple list | |
- mak wanted a pony: |