View app.js
/*
simple little javascript to make org-mode presentations
export your org-mode to HTML with this at the end:
#+HTML: <script src="app.js"></script>
I also go to town and use a nice stylesheet.
Publish it with elnode with M-x elnode-make-js-server
View gist:49f34d6936814a457331
;; read the gpg agent file and set the env vars
(let ((gpg-agent-file (expand-file-name "~/.gpg-agent-info")))
(when (file-exists-p gpg-agent-file)
(message "import gpg agent file")
(mapc
(lambda (line)
(unless (equal line "")
(apply 'setenv (split-string line "="))))
(split-string
View gist:6202564
<div id="tip"><span id="tipheart">♥</span><span id="tipword">gittip</span></div>
View *magit-commit*.txt
commit c91974d5afc8216e4cc87435eaff3bf950074092 (HEAD, refs/remotes/nictest/build-dist, refs/remotes/nicsoundcloud/build-dist, refs/heads/build-dist)
Author: Nic Ferrier <nferrier@ferrier.me.uk>
Date: Wed Jul 31 17:12:35 2013 +0100
add a dist target to the Makefile to build a tarball.
Modified .pkgignore
diff --git a/.pkgignore b/.pkgignore
index 139b42b..be41456 100644
--- a/.pkgignore
View tapas.el
(defun tapas-creole->bootstrap (struct)
"Transform STRUCT, a creole structure, into something bootstrapable.
HTML DIV elements are hacked into the structure wherever we find
an HR element. The HR elements are retained."
(let ((tx
(loop for e in struct
append
(if (eq (car e) 'hr)
(list '(hr) '(plugin-html . "</div><div class=\"section\">"))
View marmalade-service.el
(defmacro with-transient-file (file-name &rest code)
"Load FILE-NAME into a buffer and eval CODE.
Then dispose of the buffer.
File loading errors may be generated as by any call to visit a
file."
(declare (indent 1)
(debug (sexp &rest form)))
(let ((fvn (make-symbol "fv"))
View plan.org

the lean stack

what it is

nodejs

npm

mongodb

nginx

getting set up

installing node and mongo

set up a database

View plan.org

list data structures in emacs-lisp

lists

cover mapping separately

M-x package-install smartparens

`list’

`length’

`elt’

`cons’

`car’

`cdr’

View intro
My friend has thought of a platform as a website which enables people wanting
to code on a project base. The creator of a project will outline it and start
work, where others may add lines of code for fun and for learning. We believe
it could bridge the gap between different competencies and also be a learning
arena. This is currently been started. will comence more on 21june.
View twaddle.el
(defun twaddle-log (con hdr data)
(with-current-buffer (get-buffer-create "*twitter-log*")
(insert (format "%s %S %s\n" con hdr data))))
;; OAuth header and signature implementation
(defun* twaddle|oauth1-header-do (url &key http-params method oauth-token)
"Private function implementing oauth header construction."
(let* ((oauth-params
`(("oauth_consumer_key" . ,twaddle-consumer-key)