Skip to content

Instantly share code, notes, and snippets.

View richjdsmith's full-sized avatar

Rich Smith richjdsmith

View GitHub Profile
@richjdsmith
richjdsmith / webpacker_rails.md
Created November 2, 2018 10:34 — forked from maxivak/webpacker_rails.md
Webpack, Yarn, Npm in Rails
... <!-- Code removed for readability -->
<div class="top-bar-right">
<ul class="menu">
<%= if @conn.assigns[:user] do %>
<li class="menu-text">
Welcome, <%= @conn.assigns.user.first_name %>!
</li>
<li>
<%= link "Videos", to: video_path(@conn, :index) %>
@richjdsmith
richjdsmith / gist:dd794ad7463d151b4eacb4e8ff44d9cc
Created October 18, 2017 11:38 — forked from johnantoni/gist:07df65898456ace4307d5bb6cbdc7f51
Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X

This is my take on how to get up and running with NGINX, PHP-FPM, MySQL and phpMyAdmin on OSX Yosemite.

This article is adapted from the original by Jonas Friedmann. Who I just discovered is from Würzburg in Germany. A stonesthrow from where I was born ;)

Xcode

Make sure you have the latest version of XCode installed. Available from the Mac App Store.

Install the Xcode Command Line Tools:

xcode-select --install

@richjdsmith
richjdsmith / elixir_symbols.md
Created July 18, 2017 21:28 — forked from h4cc/elixir_symbols.md
All symbols used in the elixir programming language

Symbols used in Elixir

A list of all not symbols and notations of elixir. Tried to have a base for comparision for other programming languages.

Operators

  • === (strict)
  • !== (strict)
  • == (relaxed)
@richjdsmith
richjdsmith / Contract Killer 3.md
Created February 9, 2017 00:12 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post