Skip to content

Instantly share code, notes, and snippets.

View cmeiklejohn's full-sized avatar
💭
Always working.

Christopher S. Meiklejohn cmeiklejohn

💭
Always working.
View GitHub Profile
{{#view Ember.CanvasView containerWidth="980" containerHeight="300" xFormatterBinding="App.histogramController.xFormatter"}}
{{view Ember.HistogramView widthBinding="width"
heightBinding="height"
viewBoxBinding="viewBox"
preserveAspectRatioBinding="preserveAspectRatio"
xMarginBinding="xMargin"
yMarginBinding="yMargin"
xFormatterBinding="xFormatter"
yFormatterBinding="yFormatter"
contentBinding="App.histogramController.content"}}
{{#view Ember.CanvasView containerWidth="980" containerHeight="300" xFormatterBinding="App.timeSeriesController.xFormatter"}}
{{view Ember.TimeSeriesView widthBinding="width"
heightBinding="height"
viewBoxBinding="viewBox"
preserveAspectRatioBinding="preserveAspectRatio"
xMarginBinding="xMargin"
yMarginBinding="yMargin"
xFormatterBinding="xFormatter"
yFormatterBinding="yFormatter"
contentBinding="App.timeSeriesController.content"}}
{{view Ember.HistogramView width="500"
height="200"
xFormatterBinding="App.histogramController.xFormatter"
contentBinding="App.histogramController.content"}}
@cmeiklejohn
cmeiklejohn / mountain-lion-brew-setup.markdown
Created July 25, 2012 23:29 — forked from myobie/mountain-lion-brew-setup.markdown
Get Mountain Lion and Homebrew to Be Happy

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

#include <stdio.h>
typedef struct {
int x;
int y;
} point;
void update(point *a) {
a->x = 1;
a->y = 1;
➜ Repositories jitsu deploy
info: Welcome to Nodejitsu nko3-thought-leaders
info: jitsu v0.11.0, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
warn: There is no package.json file in /Users/cmeiklejohn/Repositories
warn: Creating package.json at /Users/cmeiklejohn/Repositories/package.json
help:
help: A package.json stores meta-data about an app
help: In order to continue we'll need to gather some information about the app
(defn threshold
([thr call-fn]
#(threshold thr 1 call-fn))
([thr cur call-fn]
(if (> cur thr)
(do (apply call-fn [])
#(threshold thr call-fn))
#(threshold thr (inc cur) call-fn))))
(ns shafty.examples.autosave
(:use [shafty.event :only [event]]
[shafty.event_stream :only [merge! map!]])
(:require [goog.events :as events]
[goog.dom :as dom]))
(defn main []
"Run the autosave example"
(.log js/console "Running autosave example.")
@cmeiklejohn
cmeiklejohn / bio.md
Created November 20, 2012 22:03
Clojure/West proposal

Christopher Meiklejohn is a Software Engineer with Basho Technologies, Inc. where he focuses on building rich web applications for Riak using Erlang and JavaScript. Before joining Basho, he worked at Swipely, a loyalty program startup based in Providence where he maintained critical infrastructure components written in Ruby. Christopher currently serves as one of the maintainers of Rubygems.org.

@cmeiklejohn
cmeiklejohn / proposal.md
Created December 10, 2012 03:41
Compliant APIs with Webmachine

As web applications continue to move towards rich client-side experiences, the relevance of server-side rendered HTML diminishes. This is compounded by mobile applications consuming similar APIs as rich single page applications. This talk will discuss building lightweight standards compliant APIs with Webmachine, a REST toolkit written in Ruby. Webmachine provides a syntax which makes it easy to reason about your applications, while also providing an alternative to more heavyweight solutions such as Rails.