Skip to content

Instantly share code, notes, and snippets.

View oliverbarnes's full-sized avatar
💭
🦀 🚅

Oliver Azevedo Barnes oliverbarnes

💭
🦀 🚅
View GitHub Profile
@jinjagit
jinjagit / auth.iex.exs
Last active July 3, 2020 16:16
adds aliases to iex shell for liquidvoting AUTH
# adds aliases and imports a / some module(s) to iex shell for liquidvoiting AUTH
# rename to .iex.exs and place in AUTH project root
# for dev environment, not production - add to / don't remove from your local gitignore
# <alias ... as> used to avoid referencing other module with name equivalent to alias
import Ecto.Query
alias LiquidVotingAuth.Application, as: App
alias LiquidVotingAuth.{
Organizations,
@jferris
jferris / configmap.yaml
Last active October 28, 2024 01:42
Rails Kubernetes Manifests
apiVersion: v1
kind: ConfigMap
metadata:
name: example
namespace: default
data:
APPLICATION_HOST: example.com
LANG: en_US.UTF-8
PIDFILE: /tmp/server.pid
PORT: "3000"