Skip to content

Instantly share code, notes, and snippets.

View jlsuttles's full-sized avatar

Jessica Aster (Suttles) jlsuttles

  • South Lake Tahoe, CA
View GitHub Profile

Vegan Slow Carb Shopping List

  • protein powder - 1 scoop per day - 1 container for multiple weeks
  • seitan - 112.5 g per meal - 12 x 225 g bags per week
  • black beans - 1/2 cup per meal - 8 x 1.5 cup cans per week
  • spinach - 3 oz per meal - 12 x 6 oz bags per week
  • avocados - 1 per day - 6 per week
  • tomatoes - 1 per day - 6 per week
  • cauliflower - 1 per week
  • salsa (without sugar) - 3 tbsp per meal - 72 tbsp per week

Keybase proof

I hereby claim:

  • I am jlsuttles on github.
  • I am jlsuttles (https://keybase.io/jlsuttles) on keybase.
  • I have a public key ASDwJBWeUO5FDFVk6ZwWEblps8JfwcTEs-AEUInoGSFmSwo

To claim this, I am signing this object:

//= require application
//= require_tree .
//= require_self
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>');
document.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 9999; border: 1px solid #ccc; } #ember-testing { zoom: 50%; }</style>');
App.rootElement = '#ember-testing';
App.setupForTesting();
App.injectTestHelpers();
@jlsuttles
jlsuttles / jquery-plugin-init-on-data-loaded.md
Last active December 20, 2015 05:19
I want to initialize a jQuery plugin when the content for an Ember.View has loaded.

This is the code I think I want, but it is never executed.

App.ThumbnailScrollerView = Ember.View.extend({
  tagName: "div",
  didInsertElement: function() {
    return this.get("controller.content").addObserver("isLoaded", function() {
      return $(".jThumbnailScroller").thumbnailScroller;
    });
 }
@jlsuttles
jlsuttles / microformats2-gem-ruby-interface.md
Last active December 13, 2015 19:38
The purpose of this document is to compare the current Ruby interfaces to the g5_hentry_consumer gem and the microformats2 gem.

microformats2 gem ruby interface

The purpose of this document is to compare the current Ruby interfaces to the g5_hentry_consumer gem and the microformats2 gem.

Parsing A Document for Entries

g5_hentry_consumer

require "g5_hentry_consumer"
@jlsuttles
jlsuttles / config.html
Created February 6, 2013 23:21
hg5configuration.html
<dl class="h-g5-configuration">
<dt>Name</dt>
<dd class="p-name">Feed</dd>
<dt>Category</dt>
<dd class="p-category">Instance</dd>
<dt>Attributes</dt>
<dd class="h-g5-attribute">
<span class="p-g5-name">username</span>
<span class="p-g5-editable">true</span>
<span class="p-g5-default-value">Twitter Feed</span>
<dl class="e-g5-app">
<dt>UID</dt>
<dd>
<a class="u-uid" href="http://g5-configurator.herokuapp.com/apps/2">
http://g5-configurator.herokuapp.com/apps/2
</a>
</dd>
<dt>Client UID</dt>
<dd>
<a class="u-g5-client-uid" href="http://g5-hub.herokuapp.com/clients/g5-c-68me4zh-lo">
<dl class="h-entry">
<dt>Name</dt>
<dd>
<span class="p-name">Lo</span>
</dd>
<dt>UID</dt>
<dd>
<a href="http://g5-hub.herokuapp.com/clients/g5-c-68me4zh-lo" rel="bookmark" class="u-url u-uid">
http://g5-hub.herokuapp.com/clients/g5-c-68me4zh-lo
</a>
<!DOCTYPE html>
<html lang="en">
<head>
<title>h-entry posts</title>
<meta charset="utf-8" />
</head>
<body>
<section>
<article class="h-entry">
@jlsuttles
jlsuttles / friday
Created April 14, 2012 00:35
friday, friday!
Oo-ooh-ooh, hoo yeah, yeah
Yeah, yeah
Yeah-ah-ah
Yeah-ah-ah
Yeah-ah-ah
Yeah-ah-ah
Yeah, yeah, yeah
Seven a.m., waking up in the morning
Gotta be fresh, gotta go downstairs