Skip to content

Instantly share code, notes, and snippets.

View jclif's full-sized avatar
🏎️
Wheelin' and dealin'

Jared Clifton-Lee jclif

🏎️
Wheelin' and dealin'
View GitHub Profile
/*
honeybadger.js v0.5.5
A JavaScript Notifier for Honeybadger
https://github.com/honeybadger-io/honeybadger-js
https://www.honeybadger.io/
MIT license
*/
(function (root, builder) {
'use strict';

Keybase proof

I hereby claim:

  • I am jclif on github.
  • I am jclifton (https://keybase.io/jclifton) on keybase.
  • I have a public key ASDWGtgGT5-H5AS2WH8_FYWIg-mxQHt8cAFr24kbP4pcJQo

To claim this, I am signing this object:

@jclif
jclif / prolonged_fasting.md
Last active June 5, 2019 04:09
Some basic resources for approaching prolonged fasting

Prolonged Fasting Manifesto

Resources

  • Is Fasting Safe? (for most people, yes, but it's worth checking with your doctor)
  • Peter Attia's Fasting Protocol: The Nothing Burger
    • TL;DR Eat keto for one week, then only water for one week, then keto again for another week
    • When you transition off keto, do it over the course of a few days, with low-glycemic carbohydrates like legumes, grains, sweet potatoes, etc.
    • When you're on keto, you're training your body to be VERY EFFICIENT with the few carbohydrates that you feed it (less than 20g/day), so if you dump a bunch of sugar into your system, it will VERY EFFICIENTLY store it as fat.
  • Some general thoughts
  • Effects
@jclif
jclif / restore
Created December 22, 2018 05:07 — forked from mru2/restore
pg_restore a local db dump into Docker
# Create and download backup
heroku pg:backups:capture
heroku pg:backups:download
# Assumes the database container is named 'db'
DOCKER_DB_NAME="$(docker-compose ps -q db)"
DB_HOSTNAME=db
DB_USER=postgres
LOCAL_DUMP_PATH="path/to/local.dump"
@jclif
jclif / 0_reuse_code.js
Created December 28, 2016 02:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Silver Dagger
Performed by Chris Thile & Michael Daves
https://www.youtube.com/watch?v=b3QYFRzoWVc
Key: A
https://www.youtube.com/watch?v=b3QYFRzoWVc&feature=youtu.be&t=50s
1 2 4 5 4 6 5 4-2 1
A D
Don't sing love songs, you'll wake my mother
1 2 4 5 4 1 1 1-2
@jclif
jclif / ive_endured
Last active November 16, 2016 05:27
I've Endured - sheet music
I've Endured
By Ola Belle Reed (https://www.youtube.com/watch?v=otqn2mXzr7w)
Also performed by Del McCoury (https://www.youtube.com/watch?v=BsBeCxzszK4)
Covered by Michael Daves (https://www.amazon.com/Live-at-Rockwood-Michael-Daves/dp/B00104K29E)
Key: A
===
1 1 6 1 6 1 1 1-6 5 5-6
I IV
Born in the mountains, fifty years ago
@jclif
jclif / codeclimate-test-reporter.rb
Created October 15, 2016 05:18 — forked from davetapley/codeclimate-test-reporter.rb
CodeClimate::TestReporter patched to handle the absence of a .git
require 'simplecov'
require 'codeclimate-test-reporter'
module Extensions
module Git
module ClassMethods
def info
{
head: head,
committed_at: committed_at_or_now,
@jclif
jclif / styles_linters_dependency_checks.md
Last active September 21, 2016 16:05
Styles, Linters, and Dependency Checks

What's this all about, anyway?

Let's make our codebase better. Here's my three step program:

  1. Prevent new bad code from getting in
  2. Make the bad code that already got in, not bad
  3. Feel great because our codebase is great (you look great today)

Some hot/fresh keywords for SEO:

  1. Styles (community-driven standards for writing commit messages, javascript, ruby, scss, etc)
Missouri Borderland
Mandolin Orange
===
C
I am far away from home
Am F C
Neither family nor friend
F Am
I never meant to stay so long
G C