Skip to content

Instantly share code, notes, and snippets.

View DanielWright's full-sized avatar

Daniel Wright DanielWright

View GitHub Profile
@DanielWright
DanielWright / arch-initial.md
Last active May 3, 2022 19:12
V'bilt Architecture

Two useful analogies for the V'bilt architecture:

  • Per its namesake, V'bilt is a railway, or maybe the locomotive. It proceeds along its route, collecting train cars. What these cars actually do is opaque to the locomotive. The locomotive is only concerned with collecting the specified cars on its route. The whole train, ultimately, delivers a functioning Chord online storefront to the Internet.

As much as possible, then, V'bilt attempts to treat the store components themselves as entirely encapsulated. They indicate what inputs they need (resources, credentials, etc.), and V'bilt provides them.

V'bilt, then, manages the following responsibilities:

  • orchestration
  • config/secret management
@DanielWright
DanielWright / values.md
Last active April 27, 2022 14:52
tech-values

Diversity/Equity/Inclusivity

  • demand diversity, create inclusion
  • amplify under-represented voices
  • leverage privilege to elevate others
  • maintain safe and open spaces

Keybase proof

I hereby claim:

  • I am danielwright on github.
  • I am danielwright (https://keybase.io/danielwright) on keybase.
  • I have a public key ASCHmNL0QjDZdwOhZFuvnmXUe9QZf5dFN1gz_Pn9bQt0mwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am danielwright on github.
  • I am danielwright (https://keybase.io/danielwright) on keybase.
  • I have a public key ASCmW_OU3U6nAEFK9IMRvkJYGO1guLpoetQk2z-be4by6wo

To claim this, I am signing this object:

bay_area:
- farmers:
slug: farmers-markets
title: Farmers Markets
address: Various locations
- kiosk:
slug: kiosk
title: Kiosk
address: "315 Linden St.<br/>San Francisco, CA 94102"

Login:

Google Cloud Storage

You'll want to login using an official Google account (i.e. if this is for your company, use the comapany Gmail account vs. a personal one.)

When logging in, you might be prompted to verify the account; if so, enter your cell number to get a verification e-mail or phone call.

Once verified, you'll have to agree to the terms of service; do that, and click continue.

@DanielWright
DanielWright / application.rb
Created July 25, 2013 17:54
Rails4/ActiveAdmin/Heroku precompilation workaround
# config/application.rb
# ...
module MyApp
class Application < Rails::Application
# ...
config.before_initialize do
@DanielWright
DanielWright / backtrace
Created June 26, 2013 16:24
ActiveAdmin::Resource#default_options backtrace
~/Code/dynamo/aldo/zelda (master●●)$ RAILS_ENV=staging bake assets:precompile
rake aborted!
FATAL: database "aldo-zelda_staging" does not exist
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `new'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:825:in `connect'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:542:in `initialize'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
/Users/dwright/Code/dynamo/aldo/zelda/.bundle/gems/activerecord-4.0.0/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql
@DanielWright
DanielWright / 0_README.md
Last active December 17, 2015 21:59 — forked from svarks/0_README.md

ruby-1.9.3-p429 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p429 with the railsexpress patchsets: https://github.com/skaes/rvm-patchsets

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@DanielWright
DanielWright / prompt_dwright_setup
Created April 6, 2013 21:42
My custom YADR prompt
#
# A theme based on steeef theme
# * RVM/Rbenv info shown on the right
# * Git branch info on the left
# * Single line prompt
#
# Authors:
# Steve Losh <[email protected]>
# Bart Trojanowski <[email protected]>
# Brian Carper <[email protected]>