Skip to content

Instantly share code, notes, and snippets.

{"name":"Welcome","slides":[{"content_html":"<h1>Welcome to Swinger</h1>","content":"# Welcome to Swinger","transition":"switch","theme":"basic","additional_css":"","position":1},{"content_html":"<h2>It's super easy to create slides.</h2>\n\n<p>You just need to write some markdown.</p>","content":"## It's super easy to create slides. \nYou just need to write some markdown.","transition":"switch","theme":"basic","additional_css":"","position":2},{"content_html":"<p><img src=\"/swinger/335f93f665b752df18b3fda88ab96c0c/swinger.jpg\" alt=\"swinger.jpg (image/jpeg)\" title=\"\" /></p>","content":"![swinger.jpg (image/jpeg)](/swinger/335f93f665b752df18b3fda88ab96c0c/swinger.jpg)","transition":"switch","theme":"basic","additional_css":"","position":3},{"content_html":"<p><img src=\"/swinger/335f93f665b752df18b3fda88ab96c0c/swinger2.jpg\" alt=\"swinger2.jpg (image/jpeg)\" title=\"\" /></p>","content":"![swinger2.jpg (image/jpeg)](/swinger/335f93f665b752df18b3fda88ab96c0c/swinger2.jpg)","transition":"switch","theme":"
@mtthwkfmn
mtthwkfmn / gist:187830
Created September 16, 2009 02:44 — forked from jcrosby/gist:92294
var store = $.cloudkit;
store.boot({
// booting the store reads the metadata on the server,
// loads existing data, and configures the local store
// for use
success: function() {
@mtthwkfmn
mtthwkfmn / gist:187831
Created September 16, 2009 02:44 — forked from jcrosby/gist:92294
var store = $.cloudkit;
store.boot({
// booting the store reads the metadata on the server,
// loads existing data, and configures the local store
// for use
success: function() {
Ext.ns('Bats');
Bats.Book = function (config) {
config = config || {};
config.symbol = config.symbol || "";
config.ttl = typeof(config.ttl) != 'undefined' ? config.ttl : 3500;
config.count = config.count || '';
Ext.apply(this, config);
};
Bats.Book.prototype = {
failureCnt: 0,
{
"status": "200: ",
"success": true,
"statusText": "",
"reload": 3600000,
"data": {
"trades_count": 10,
"asks_count": 0,
"asks": [],
"timestamp": "17:29:37",
@mtthwkfmn
mtthwkfmn / gist:187917
Created September 16, 2009 07:23
bats trading ext Book function in Bats Ext.ns namespace ... I guess. :)
Ext.ns('Bats');
Bats.Book = function (config) {
config = config || {};
config.symbol = config.symbol || "";
config.ttl = typeof(config.ttl) != 'undefined' ? config.ttl : 3500;
config.count = config.count || '';
Ext.apply(this, config);
};
Bats.Book.prototype = {
failureCnt: 0,
<MarketAPI>
<Tickers query="*" timestamp="2009-09-16 03:09:44" count="8045">
<Ticker name="A" description="" />
<Ticker name="AA" description="" />
<Ticker name="AA-" description="" />
<Ticker name="AAAA~" description="" />
<Ticker name="AAC" description="" />
<Ticker name="AACC" description="" />
<Ticker name="AAI" description="" />
<Ticker name="AAME" description="" />
GET /book/SOLF/data:
----
{
"status": "200: ",
"success": true,
"statusText": "",
"reload": 3600000,
"data": {
"timestamp": "20:25:44",
<?xml version="1.0" encoding="UTF-8"?><MarketAPI><Request><Symbol><![CDATA[C]]></Symbol><YahooFormat><![CDATA[sl1vd1t1pc1p2]]></YahooFormat></Request><Response><MarketAPI><Split><![CDATA[Array
(
[0] => "C"
[1] => 4.26
[2] => 455335296
[3] => "9/16/2009"
[4] => "11:20am"
[5] => 4.12
[6] => +0.14
[7] => "+3.40%"
@mtthwkfmn
mtthwkfmn / marketapi1
Created September 17, 2009 14:16
marketapi templates from matt's desktop
<html>
<head>
<title>Market API</title>
<style type="text/css">
body, div, img, form, fieldset, ul, ol, li, h1, h2, h3, h4 {
margin: 0;
padding: 0;
border: none; }