Majjhima Nikaya 10
Satipatthana Sutta (MN 10)
The Four Paths to Mindfulness
Intermediate Mindfulness Training
Based upon Translations from the Pali by
; The Lisp defined in McCarthy's 1960 paper, translated into CL. | |
; Assumes only quote, atom, eq, cons, car, cdr, cond. | |
; Bug reports to lispcode@paulgraham.com. | |
(defun null. (x) | |
(eq x '())) | |
(defun and. (x y) | |
(cond (x (cond (y 't) ('t '()))) | |
('t '()))) |
Majjhima Nikaya 10
Satipatthana Sutta (MN 10)
The Four Paths to Mindfulness
Intermediate Mindfulness Training
Based upon Translations from the Pali by
I hereby claim:
To claim this, I am signing this object:
Oniguruma Regular Expressions Version 5.9.1 2007/09/05 | |
syntax: ONIG_SYNTAX_RUBY (default) | |
1. Syntax elements | |
\ escape (enable or disable meta character meaning) | |
| alternation | |
(...) group |
CREATE or REPLACE FUNCTION | |
json_get(data json, prop text) RETURNS JSON as $$ | |
prop = prop.split('.'); | |
for (var i = 0, len = prop.length; i < len - 1; i++) { | |
data = data[prop[i]]; | |
} | |
return data[prop[len - 1]]; | |
$$ LANGUAGE plv8 STABLE STRICT; |
-- PostgreSQL 9.2 beta (for the new JSON datatype) | |
-- You can actually use an earlier version and a TEXT type too | |
-- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8 | |
-- Inspired by | |
-- http://people.planetpostgresql.org/andrew/index.php?/archives/249-Using-PLV8-to-index-JSON.html | |
-- http://ssql-pgaustin.herokuapp.com/#1 | |
-- JSON Types need to be mapped into corresponding PG types | |
-- |
# A small DSL for helping parsing documents using Nokogiri::XML::Reader. The | |
# XML Reader is a good way to move a cursor through a (large) XML document fast, | |
# but is not as cumbersome as writing a full SAX document handler. Read about | |
# it here: http://nokogiri.org/Nokogiri/XML/Reader.html | |
# | |
# Just pass the reader in this parser and specificy the nodes that you are interested | |
# in in a block. You can just parse every node or only look inside certain nodes. | |
# | |
# A small example: | |
# |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discussions around concrete examples, not handy-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
%a{:href => user_path(@user)} | |
= image_tag(@user.gravatar_url({:size => 250, | |
:default => default_gravatar, | |
:width => "200px", | |
:height => "200px"})) |
#========================================================================== | |
# Git aliases | |
#========================================================================== | |
alias g='git' | |
alias gb='git branch' | |
alias gba='git branch -a' | |
alias gstat='git status' | |
alias gc='git commit -v' | |
alias gca='git commit -v -a' | |
alias gd='git diff | mate' |