Skip to content

Instantly share code, notes, and snippets.

View patrickml's full-sized avatar

Patrick Lewis patrickml

View GitHub Profile
@patrickml
patrickml / Pretty URL
Last active October 1, 2015 23:02 — forked from anonymous/Pretty URL
$('#quoteForm').click(function(){
// Variables with data
var inputs = $('.modal-body').find('.form-group').children().not('label');
// Open variables
var data = {};
var rules = {};
var trueAll = [];
// Functions with in scope
@patrickml
patrickml / activity.collection.js
Last active August 29, 2015 14:22
Simple Activity Log by Collection for MeteorJS
/**
* Example Document
{
_id : 'xDvcFlsQws',
activity : 'Project Created',
createdAt : '1231213412312'
collection : 'projects',
documentId : 'xJ4iTyxDw2',
userId : 'pQ4iTyxDw7'
}
### Keybase proof
I hereby claim:
* I am patrickml on github.
* I am patrickml (https://keybase.io/patrickml) on keybase.
* I have a public key whose fingerprint is 76F4 B94C FBBF 465B 33C7 8319 A379 712C BFB3 E7D1
To claim this, I am signing this object:
@patrickml
patrickml / Template
Created March 3, 2015 00:42
Meteor Joins
<template name="journal">
<div class="nav-block"></div>
<nav class="journal-nav">
<ul>
<li>
<a href="#" data-type="Design">Design</a>
</li>
<li>
<a href="#" data-type="Development">Development</a>
</li>