Skip to content

Instantly share code, notes, and snippets.

View jamesdphillips's full-sized avatar
🚧
out of order, please find another

James Phillips jamesdphillips

🚧
out of order, please find another
View GitHub Profile
  • doom
  • Titan fall
  • Table tennis
  • zero time dilemma
  • House of the dying sun
  • Subnatica
  • Thumper
  • Finish Beyond Good and Evil
  • Sensu client React
  • meditate
  • doom
  • Titan fall
  • Table tennis
  • zero time dilemma
  • [ ]

Keybase proof

I hereby claim:

  • I am jamesdphillips on github.
  • I am jamesdphillips (https://keybase.io/jamesdphillips) on keybase.
  • I have a public key ASC4cLbVH4hTKRDR0puW6zXDVYWOTPO8KWfPrHRKT_x-UQo

To claim this, I am signing this object:

  • Remove stores/history
  • Remove stores/document
  • Remove stores/analytics
  • Remove stores/admin_analytic
  • Remove stores/meeting
  • Remove stores/notification
  • Remove stores/retrieval
  • Remove stores/signed_url
  • Remove sources/admin_analytics
  • Remove queries/history

Elixir w/ Webpack, React & Redux

  1. Generate a new phoenix project.
mix phoenix.new --no-html --no-brunch --database postgres --binary-id [name]
cd [name]
git init
# Pasteboard
set-option -g default-command "exec reattach-to-user-namespace -l zsh"
bind-key C-c run-shell 'tmux save-buffer - | reattach-to-user-namespace pbcopy'
bind-key C-v run-shell 'reattach-to-user-namespace pbpaste | tmux load-buffer - \; paste-buffer -d'
# Shell
set-option -g default-shell /bin/zsh
set -g default-terminal screen-256color
set -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-resize-pane on
# Defaults
%h1 Sign in
= simple_form_for(:signin, url: session_path, html: { id: "signin-form" }) do |f|
.form-inputs
= f.input :email, placeholder: "Email address", label: false, required: true, autofocus: true
= f.input :password, placeholder: "Password", label: false, required: true
= f.input :time_zone, as: :hidden
.form-actions
= link_to new_password_reset_path, class: "button" do
Forgot your <strong>password?</strong>
puts namespace # estimate
puts namespace.class # Symbol
namespace = namespace.to_s
puts namespace #
puts namespace.class # String