Skip to content

Commit

Permalink
New slides
Browse files Browse the repository at this point in the history
  • Loading branch information
sordina committed Dec 3, 2014
1 parent caf74f0 commit f4da5f1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/mfug-141204-slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,22 @@ <h1>Show me more!</h1>
clientRPCMethod &quot;missingMethod&quot; Nothing &quot;testid2&quot; Nothing
void $ liftIO getLine</code></pre>
</section></section>
<section><section id="debugging-app" class="titleslide slide level1"><h1>Debugging App</h1></section><section id="deadpan-1" class="slide level2">
<h1><code>deadpan</code></h1>
<p>A command-line app <code>deadpan</code> is built alongside this library.</p>
<pre><code>&gt; deadpan
Usage: deadpan [-h | --help] &lt;URL&gt;</code></pre>
<p>This will connection to a DDP server, respond to pings, and print all incomming messages.</p>
</section><section id="in-action" class="slide level2">
<h1>In Action</h1>
<pre><code>&gt; deadpan websocket://localhost:3000/websocket
{&quot;server_id&quot;:&quot;0&quot;}
{&quot;msg&quot;:&quot;connected&quot;,&quot;session&quot;:&quot;9EccYbEWeePEHLJRb&quot;}
{&quot;collection&quot;:&quot;test&quot;,&quot;msg&quot;:&quot;added&quot;,&quot;id&quot;:&quot;qdfJLj7cQwLevYJEv&quot;,&quot;fields&quot;:{&quot;name&quot;:&quot;I am 2&quot;,&quot;i&quot;:2}}
{&quot;collection&quot;:&quot;test&quot;,&quot;msg&quot;:&quot;added&quot;,&quot;id&quot;:&quot;KM9TKFNoywzX2tqwj&quot;,&quot;fields&quot;:{&quot;name&quot;:&quot;I am 8&quot;,&quot;i&quot;:8}}
{&quot;collection&quot;:&quot;test&quot;,&quot;msg&quot;:&quot;added&quot;,&quot;id&quot;:&quot;zeM8HrqugzZpDXZPv&quot;,&quot;fields&quot;:{&quot;name&quot;:&quot;I am 3&quot;,&quot;i&quot;:3}}
{&quot;collection&quot;:&quot;test&quot;,&quot;msg&quot;:&quot;added&quot;,&quot;id&quot;:&quot;HrEGrqPvBTfiCvyAk&quot;,&quot;fields&quot;:{&quot;name&quot;:&quot;I am 4&quot;,&quot;i&quot;:4}}</code></pre>
</section></section>
<section><section id="todo" class="titleslide slide level1"><h1>TODO</h1></section><section id="whats-left" class="slide level2">
<h1>What's left</h1>
<ul>
Expand Down
22 changes: 22 additions & 0 deletions doc/mfug-141204-slides/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,28 @@ Would be the most common.
clientRPCMethod "missingMethod" Nothing "testid2" Nothing
void $ liftIO getLine

# Debugging App

## `deadpan`

A command-line app `deadpan` is built alongside this library.

> deadpan
Usage: deadpan [-h | --help] <URL>

This will connection to a DDP server, respond to pings, and print all incomming messages.

## In Action

> deadpan websocket://localhost:3000/websocket
{"server_id":"0"}
{"msg":"connected","session":"9EccYbEWeePEHLJRb"}
{"collection":"test","msg":"added","id":"qdfJLj7cQwLevYJEv","fields":{"name":"I am 2","i":2}}
{"collection":"test","msg":"added","id":"KM9TKFNoywzX2tqwj","fields":{"name":"I am 8","i":8}}
{"collection":"test","msg":"added","id":"zeM8HrqugzZpDXZPv","fields":{"name":"I am 3","i":3}}
{"collection":"test","msg":"added","id":"HrEGrqPvBTfiCvyAk","fields":{"name":"I am 4","i":4}}
...

# TODO

## What's left
Expand Down

0 comments on commit f4da5f1

Please sign in to comment.