Skip to content

Instantly share code, notes, and snippets.

View jonmadison's full-sized avatar

jon madison jonmadison

View GitHub Profile
@jonmadison
jonmadison / protein_sludge.md
Last active January 29, 2019 16:58
jon's protein sludge instructions

Jon's Protein Sludge

Delicious, low carb, high protein. get them gains and make your mouth happy. you can either try to enjoy it more pudding like, or more ice-cream like :)

Here's a reference video (where i originally saw how to make: https://www.youtube.com/watch?v=48wpXnQkl0o)

Note that i'm using brand names here to give some nutritional info afterwards. I'm personally always looking for tweaks in order to adjust macros or calories (depending on my goals, day of week, mood)

in a bowl, dump in

  • 1 tbsp trader joe's cacao
@jonmadison
jonmadison / gist:04d691b7d131ebead79bf64d5dca6d2a
Created November 29, 2018 21:02
open sketch file from URL (Sketch 53 and above)
// open the file in sketch
sketch:///path/to/file.sketch
// open the file in sketch and focus on a layer
sketch:///path/to/file.sketch?centerOnLayer=LAYER_ID
// open the file in sketch and set the zoom
sketch:///path/to/file.sketch?zoom=1
@jonmadison
jonmadison / jonsmoothie.md
Last active January 7, 2018 16:22
Jon's Smoothie #1

This smoothie is cool in that, if you don't add the water/ice, you can use this as a base for a breakfast bowl ("acaí-style" breakfast bowl). Just top with fruits/nuts/cocoanut/chia/gowild. Otherwise, you can drink it!

ingredients

(organic preferred for all)

//
// ViewController.m
// SketchToFramer
//
// Created by Madison, Jon on 10/9/17.
// Copyright © 2017 Madison, Jon. All rights reserved.
//
#import "ViewController.h"

jon madison is a senior software engineer on the Mobile app team at Nordstrom. Prior to joining the mobile team, he spent three years as one of the first members of the Nordstrom Innovation Lab, creating many failed and a few successful experiments, learning about the importance of failure, learning how to pitch to success, measuring and iterating product/market fit using tools such as business model canvas, design thinking and UX tools, and taking several improv workshops.

jon enjoys writing code for hours on end (iOS and server-side JavaScript -- node.js when he's lucky), helping others find the joy of creating via text, and rambling about technical and philosophical topics for hours on end.

@jonmadison
jonmadison / passport.js
Created August 28, 2015 21:20
0 to API - config/passport.js
var mongoose = require('mongoose')
, LocalStrategy = require('passport-local').Strategy
, BearerStrategy = require('passport-http-bearer').Strategy
, User = mongoose.model('User')
, util = require('../util');
module.exports = function (passport, config, logger) {
passport.serializeUser(function(user, done) {
done(null, user.id);
});

This Ramen was pretty much perfect. Miso Soup base, plenty o' veggies.

ramen sunday 4-27

##Ingredients

  • 1/2 - 1 Onion
  • Sukiayi (thinly sliced) Pork
  • Pack of Fried Tofu (2 slices)
  • 1 Stalk bok choy
  • 1 Handful pea vines
@jonmadison
jonmadison / gist:c3c53e965346ee866d6d
Last active August 29, 2015 14:19 — forked from erichexter/gist:3717010
Windows Powershell command to use Authenticating Proxy for command line apps for local user
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted;$a=new-object net.webclient;$a.proxy.credentials=[system.net.credentialcache]::defaultnetworkcredentials
@jonmadison
jonmadison / gist:a01f73073837303a9ef2
Last active August 29, 2015 14:15
Ramen Sunday 2/15

Tonight's Ramen was yummy, very slightly on the salty side as far as ramen goes. Diluting broth with more water will help. Or less fish sauce (see below).

ramen sunday 2-15

##Ingredients

  • Slices from pork loin
  • 1 Stalk bok choy
  • 1 Handful pea vines
  • 1 Bunch cilantro
  • 1 Ear of corn
@jonmadison
jonmadison / gist:ef380d678292d86ed973
Last active August 29, 2015 14:14
American Stir-Fry

This dish is something i made up after seeing a pack of asparagus/onion/mushrooms for sauteeing at trader joes and didn't want to spend that much on it.

Serves 6

##Ingredients

  • 20 stalks of Asparagus
  • 1 medium purple onion
  • 1 package crimini mushrooms