Skip to content

Instantly share code, notes, and snippets.

View gretch's full-sized avatar

Gretch Gapol gretch

  • Sydney, Australia
View GitHub Profile
@brianjbayer
brianjbayer / gist-unlocking-the-secrets-of-rails-secrets-and-credentials.md
Last active January 15, 2026 22:14
A comprehensive examination of Rails Secrets, Credentials, and Secret Key Base

Unlocking the Secrets of Rails Secrets and Credentials

Interurban Tunnel at Blackhand Gorge- Brian J Bayer


If you are like many (most?) of us, you have encountered Rails Credentials/Secrets and secret_key_base and may have been left a bit (or more) confused.

This post is an attempt to remove some of that confusion by

@francis-gmail
francis-gmail / docs
Last active August 29, 2015 14:21
Docs
This contains all the Subject API methods<br>
<h1>SUBJECT</h1>
<table cellspacing="5">
<thead>
<tr>
<th>HTTP Verb</th>
<th>API URL</th>
<th>Description</th>
</tr>
</thead>
@brianmario
brianmario / config.ru.rb
Created April 21, 2011 06:11
minimal rails3 app
# minimal rails3 app
require 'action_controller'
Router = ActionDispatch::Routing::RouteSet.new
Router.draw do
root :to => 'site#index'
end
class SiteController < ActionController::Metal
@bcardarella
bcardarella / .bash_profile
Created February 4, 2009 22:25
Git Autocompletion
source ~/.git-completion.sh
alias gco='git co'
alias gci='git ci'
alias grb='git rb'