Skip to content

Instantly share code, notes, and snippets.

View mattmonihan's full-sized avatar

Matt Monihan mattmonihan

View GitHub Profile
@mattmonihan
mattmonihan / schema.json
Last active June 10, 2019 19:22
Sample Time Sheet JSON Schema
{
"type": "object",
"required": [],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"email": {
"type": "string",

Keybase proof

I hereby claim:

  • I am mattmonihan on github.
  • I am mattmonihan (https://keybase.io/mattmonihan) on keybase.
  • I have a public key whose fingerprint is 28B1 39C4 BE68 2D81 130C 2FAC 36C9 7419 DBE5 5ABE

To claim this, I am signing this object:

@mattmonihan
mattmonihan / gist:9107016
Last active August 29, 2015 13:56
Keen.io Tracking Script For Shopify
<script type="text/javascript">
var Keen=Keen||{configure:function(e){this._cf=e},addEvent:function(e,t,n,i){this._eq=this._eq||[],this._eq.push([e,t,n,i])},setGlobalProperties:function(e){this._gp=e},onChartsReady:function(e){this._ocrq=this._ocrq||[],this._ocrq.push(e)}};(function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=("https:"==document.location.protocol?"https://":"http://")+"dc8na2hxrj29i.cloudfront.net/code/keen-2.1.0-min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();
// Configure the Keen object with your Project ID and (optional) access keys.
Keen.configure({
projectId: "your_project_id",
writeKey: "your_write_key" // required for sending events
});
</script>
@mattmonihan
mattmonihan / gist:1854460
Created February 17, 2012 17:20
Notice Object
<!-- Object.Notice -->
<div class="notice error">
<h3 class="title">Connection Test Failed</h3><!-- Optional Notice Title -->
<p class="message">Lorem ipsum dolor sit amet fahj gadtg osn lorem dolor sit ipsum. <a href="#">Link to somewhere</a></p>
<ul class="reasons">
<li>
<h4>What Happened:</h4>