Skip to content

Instantly share code, notes, and snippets.

View mojowen's full-sized avatar
🍕
🤔

Scott Duncombe mojowen

🍕
🤔
View GitHub Profile
@mojowen
mojowen / lead_details.json
Last active October 5, 2016 20:06 — forked from sfletche/lead_details.json
JSON response to a specific lead
{
"id": "00Q22000001GZsGEAW",
"status": null,
"lead_contact": {
"name": "test Test",
"phone": null,
"email": null
},
"archived": null,
"expire_at": null,
@mojowen
mojowen / lead_dist_reducer_actions
Last active October 5, 2016 16:46 — forked from DTwigs/lead_dist_reducer_actions
Leads Reducer Actions and APi Calls
Leads Actions:
------------
GetLeads (URL: /locations/:location_id/leads?filter=<active|archived>)
------------
GetLead (URL: /locations/:location_id/leads/:lead_id)
@mojowen
mojowen / index.html
Last active August 29, 2015 14:04 — forked from enjalot/index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body {
background: #333;
}
@mojowen
mojowen / tinyxhr.js
Last active March 15, 2016 18:25 — forked from shimondoodkin/tinyxhr.js
A really really really simple AJAX method - forked from the original built by Shimon Doodkin
/* based off of tinyxhr by Shimon Doodkin - license: public doamin - https://gist.github.com/4706967
Added ontop of Simon's code:
- Serialization of the object
- Moved some arguments to line up with jQuery( url, data, callback )
- Will attempt to parse JSON from the response if it's valid JSON
- Added a tinyPost and tinyGet method
Some other things that'd be good:
- Seprate error callback for failed responses
@mojowen
mojowen / gist:6313088
Last active December 21, 2015 13:29 — forked from recamshak/gist:4124194
setting up graphit / statsd on webfaction
# this script will install whisper, carbon and graphite-web on the current directory
# Modified to reflect current WebFaction python best practices
mkdir -p $HOME/lib/python2.7
# Follow steps here http://theneum.com/blog/webfaction-virtualenv-how-to/
easy_install-2.7 pip
pip-2.7 install virtualenvwrapper
mkdir ~/.virtualenvs
@mojowen
mojowen / index.html
Last active December 13, 2015 18:18 — forked from darwin/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">Comix Sample</tspan>
</label>
<actor t="translate(150,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">