Skip to content

Instantly share code, notes, and snippets.

Open to possibilities. Enquire within.

Jeff Dickey jdickey

Open to possibilities. Enquire within.
View GitHub Profile
gititGoro /
Last active Jul 15, 2020
Environmental setup for Ethereum Dev as of 14 June 2017

Setting up a private ethereum blockchain for development and pointing your wallet at it

Ethereum tutorials all advise downloading the Mist wallet and beginning dev. The only problem is that the testnet and real blockchain are huge and take hours to download. What follows is a recipe for quickly setting up a small blockchain and pre-mining it with some test ethereum

The following is done in Linux but will work in MacOS and should have equivalent command line options in Windows. Where I don't give detailed instructions, it's because a quick google search will fill in the blanks.

Install geth

install Mist

rchampourlier / session_mock.rb
Created Apr 16, 2017
SessionMock: a small module to help mocking sessions within Hanami in feature specs
View session_mock.rb
# Session mocking may be used in feature tests to mock a session
# since it's not possible to inject the session through params or
# direct injection.
# SessionMock is a module that may be included
# in `Hanami::Web::Action` to override the session
# in feature specs.
# Usage (in the controller action):
phansch /
Last active Sep 16, 2022 — forked from chetan/
Improved YARD cheatsheet
kjellm / app.rb
Last active Jul 26, 2021
Event Source proof of concept. Copyright 2017 Kjell-Magne Øierud. License: MIT
View app.rb
require_relative 'base'
require_relative 'event'
require_relative 'cmd'
require_relative 'crud'
require_relative 'model'
require_relative 'read'
require 'pp'
class Application < BaseObject

Ruby Association Certified Ruby Examination Gold Sample Questions

Q1. Assume that the following code must have the stated execution result.

x.each_line { |line| puts line }

[Execution Result]

New OS X Computer Setup

Below are the programs I install, the Preferences I change, and the configurations I tweak after doing a fresh install of macOS.

Homebrew / Cask

$ /usr/bin/ruby -e "$(curl -fsSL"
jgaskins / Gemfile
Created Jul 27, 2016
Clearwater app to fetch and render data from the GitHub API
View Gemfile
source ''
gem 'clearwater', '~> 1.0.0.rc1'
gem 'opal-rails'
gem 'grand_central'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.6'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
nodunayo /
Last active Dec 2, 2018 — forked from zenorocha/
A template for a code hospitable README

Code Hospitality Guide App

This app helps you transform your team and codebase into code hospitable entities.


  • Go to the Code Hospitality homepage
  • Click the 'DOWNLOAD RIGHT NOW' button
  • Twiddle thumbs
  • Enjoy
jdickey /
Last active Dec 1, 2017
Basic workflow for docker-machine on Mac with VMWare Fusion
# This is a fork of with
# additional variable-based configuration and status hand-holding added by
# myself (@jdickey). Thanks to @mcemce for helping me out of a jam.
# Docker VM name. 'dev' is a recommended name for a development VM; you'll want
# to name a production VM something else.
echo "Docker will install a machine named $OUR_DOCKER_VM within VMware."
wagnerjgoncalves /
Last active Feb 12, 2021
Notes from Growing Rails Applications in Practice

Growing Rails Applications in Practice

  • How to use discipline, consistency and code organization to make your code grow more gently.

  • As you cycle through patterns, your application is becoming a patchwork of different coding techniques.

    All those new techniques actually help, or if you are just adding layers of inderection.

  • Large applications are large so what we can do is organize a codebase in a way that "scales logarithmically".