C-h f function-name
function by nameC-h k key-sequence
function name for keyC-h w function-name
where bound by name
C-x arrow-key
# FROM: https://data.hawaii.gov/browse/embed?limitTo=datasets&page=n | |
# WHERE: n = 1 to 36 | |
# | |
# Raw datasets can be retrieved via the "ID," using this URL style: | |
# http://data.hawaii.gov/resource/INSERT_ID_HERE.json | |
# WHERE: INSERT_ID_HERE is the 4x4 ID in the list below. | |
# | |
0) Name: /Banking-Finance-and-Insurance/Export-Import-FY-2006-Applications ID: jki6-u4jp | |
1) Name: /Banking-Finance-and-Insurance/Export-Import-FY-2006-Participants ID: yhdt-apb3 | |
2) Name: /Banking-Finance-and-Insurance/Export-Import-FY-2007-Applications ID: b522-5988 |
C-h f function-name
function by nameC-h k key-sequence
function name for keyC-h w function-name
where bound by nameC-x arrow-key
(ns cljminecraft.scratch | |
(:require [cljminecraft.core :as core] | |
[cljminecraft.bukkit :as bk] | |
[cljminecraft.blocks :as blocks] | |
[cljminecraft.events :as ev] | |
[cljminecraft.entity :as ent] | |
[cljminecraft.player :as plr] | |
[cljminecraft.util :as util] | |
[cljminecraft.logging :as log] | |
[cljminecraft.config :as cfg] |
(defn lazy-read-csv | |
[csv-file] | |
(let [in-file (io/reader csv-file) | |
csv-seq (csv/read-csv in-file) | |
lazy (fn lazy [wrapped] | |
(lazy-seq | |
(if-let [s (seq wrapped)] | |
(cons (first s) (lazy (rest s))) | |
(.close in-file))))] | |
(lazy csv-seq))) |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Time Displacement | |
* by David Muth | |
* | |
* Keeps a buffer of video frames in memory and displays pixel rows | |
* taken from consecutive frames distributed over the y-axis | |
*/ | |
import processing.video.*; |
! Molokai theme | |
*xterm*background: #101010 | |
*xterm*foreground: #d0d0d0 | |
*xterm*cursorColor: #d0d0d0 | |
*xterm*color0: #101010 | |
*xterm*color1: #960050 | |
*xterm*color2: #66aa11 | |
*xterm*color3: #c47f2c | |
*xterm*color4: #30309b | |
*xterm*color5: #7e40a5 |
Sorry if this is a dup. I thought I had posted this last night. | |
I have a new build of GHC 7.8.4 and Elm 0.15 on Mac OS X, and I'm getting an error trying to compile the Tasks tutorial code (from the blog post, http://elm-lang.org/learn/Tasks.elm). | |
I installed Elm via the install script (runhaskell BuildFromSource.hs 0.15). | |
The error I'm getting when trying to compile is: | |
````elm | |
$ elm make hello.elm |
defmodule Math do | |
def add(x, y) do | |
x + y | |
end | |
def add(x, y, z) do | |
x + y + z | |
end |
defmodule CommonMacros do | |
defmacro left ~>> right do | |
[{h, _}|t] = Macro.unpipe({:|>, [], [left, right]}) | |
:lists.foldl fn | |
{{_, _, args} = x, _pos}, acc -> | |
pos = Enum.count(args) | |
Macro.pipe(acc, x, pos) | |
{x, pos}, acc -> | |
Macro.pipe(acc, x, pos) |