I want a young and fresh starter, so I get it out of storage the day before, so
- Morning the day before: discard and feed 50g/50g water/flour
- Evening the day before: discard and feed 50g/50g water flour
There have been quite a few posts and videos made recently, written primarily as preachy lectures about conference behaviour both in and outside the conference.
On speaking at the conference
| (defmulti tick (fn [e] (if (:tick e) :custom :default))) | |
| (defmethod tick :custom [entity] ((:tick entity) entity)) | |
| (defmethod tick :default [entity] | |
| (-> entity | |
| (update-in [:x] #(+ %1 (:velx entity))) | |
| (update-in [:y] #(+ %1 (:vely entity))))) | |
| (defmulti draw (fn [ctx e] (if (:draw e) :custom :default))) | |
| (defmethod draw :custom [entity] ((:draw entity) ctx entity)) | |
| (defmethod draw :default [ctx {:keys [x y w h color]}] |
| (with-open [stream (db/stream-into "key")] | |
| (binding [*out* (clojure.java.io/writer stream)] | |
| (pr 2) | |
| (pr "hello") | |
| (pr { :hello "world"}) | |
| (.flush *out*))) |
| (defn circle [x y r] | |
| (-> | |
| (.append svg-container "circle") | |
| (.attr "cx" x) | |
| (.attr "cy" y) | |
| (.attr "r" r))) |
| public class Dog | |
| { | |
| public string Id { get; set; } | |
| public string Name { get; set; } | |
| public string Breed { get; set; } | |
| } | |
| [Test] | |
| public void BlindShardingDemo() | |
| { | |
| var shards = new Dictionary<string, IDocumentStore> |
| var http = require('http') | |
| http.createServer(function(req, res) { | |
| res.writeHead(200, { | |
| 'Content-Type': 'text/html', | |
| 'X-GeneratedBy': "NodeJS Bitches", | |
| 'X-MadeBy': 'An angry node developer', | |
| 'X-Extra': 'Seriously, Fuck rails. Fuck. Fuck. Fuck.'}) | |
| res.write([ | |
| '<html>', |
Fine, so we have the following code
Routes.get("/customer',
basicAuthentication
{
log.write("Inline logging dude")
next()
},
{| json { | |
| kv("name", "Rob Ashton") | |
| kv("age", 5) | |
| kv("address") { | |
| kv("number", 444) | |
| kv("line one", "never you mind") | |
| } | |
| kv("family", { | |
| kv("name", "Gareth Ashton") | |
| kv("relation", "brother") |