Skip to content

Instantly share code, notes, and snippets.

View jasonnoble's full-sized avatar

Jason Noble jasonnoble

View GitHub Profile
# Paste this into your snippets file (in menu Atom > Open Your Snippets)
'.source.ruby':
'pry':
'prefix': 'pry'
'body': 'require "pry"\nbinding.pry'
@jasonnoble
jasonnoble / ffff
Created July 11, 2018 20:15
This is the description
ffff
test

{ "body": { "key": { "eldest_kid": "012064e8f8e4f0d32bc6cf5d41e6eaa42292f7152346403830147a2b9d307fcd58ee0a", "host": "keybase.io", "kid": "012064e8f8e4f0d32bc6cf5d41e6eaa42292f7152346403830147a2b9d307fcd58ee0a", "uid": "45f3a219849754f983e7b1071ad7ef00", "username": "jasonnoble" }, "merkle_root": {

@jasonnoble
jasonnoble / install_dash_gem_docs.rb
Last active December 26, 2021 03:42 — forked from spilth/install_dash_gem_docs.rb
Installs the Dash docs for all the Ruby Gems in your Gemfile
#!/usr/bin/env ruby
#
# Prerequisites:
# gem install bundler
# bundle install
dependencies = `bundle show | grep '*' | awk '{print $2, $3}' | sed -e 's/(//' -e 's/)//'`.split("\n")
dependencies.each do |dependency|
(gem_name, version) = dependency.split
@jasonnoble
jasonnoble / invoice_repository_test.rb
Created February 28, 2017 16:34
Memoizing test setup
require_relative './path/to/sales_engine_test_setup'
class InvoiceRepositoryTest < Minitest::Test
include SalesEngineTestSetup
def setup
super
# Any additional setup needed for InvoiceRepository tests
end
@jasonnoble
jasonnoble / jasonnoble-prework.md
Last active January 18, 2017 20:07 — forked from mbburch/prework.md
An example template for your Turing pre-work Gist