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

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:

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

Request

POST https://www.googleapis.com/civicinfo/v1/voterinfo/2000/lookup?officialOnly=true&key={YOUR_API_KEY}

Content-Type:  application/json
X-JavaScript-User-Agent:  Google APIs Explorer
 
{
 "address": "3474 17th St, San Francisco, CA"

Wabi Sabi Care

Food

Automatic Feeder

Should be programmed to dispense food 2 times a day, at 8am and 8pm. They usually don’t eat all of it. Check that there is food in the bowl every day. If there is none, manually put out a few handfuls.

Wet Food

What do vegans eat?

These are my go to meals.

Smoothie

  • 1 ripe banana
  • 1 cup frozen blueberries
  • 6 oz spinach OR some kale stems
  • 1 scoop vega protein powder

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
//= 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>