Skip to content

Instantly share code, notes, and snippets.

View rubysolo's full-sized avatar

Solomon White rubysolo

View GitHub Profile
rubysolo / Phoenix esbuild with Tailwind and Fontawesome
Created October 11, 2021 16:16 — forked from ks2211/Phoenix esbuild with Tailwind and Fontawesome
Phoenix with esbuild, fortawesome, and tailwindcss
Phoenix esbuild with Tailwind+Fontawesome
rubysolo / terragrunt_light.js
Created December 31, 2020 20:02 — forked from dmattia/terragrunt_light.js
A less verbose terragrunt
* Wrapper around terragrunt to display output succinctly on Atlantis.
* Terragrunt is notoriously verbose, which can cause Atlantis to output
* hundreds of comments on single PRs, which can be annoying.
* This script will output just the final plan for resources to update on
* successful terragrunt runs, but will output all terragrunt output on
* errors.
rubysolo / data.js
Created March 1, 2017 00:07 — forked from NPashaP/data.js
Stacked Density and Quantile Graphs
var dqData=[];
dqData.push({title:'Product Groups',
rubysolo / meme.rb
Created December 14, 2015 21:18 — forked from marcinbunsch/meme.rb
Meme generator using local images
#!/usr/bin/env ruby
# but...
# Hacked together by
# This assumes the following:
# - That you're on a Mac
rubysolo / config.exs
Created October 11, 2015 19:35 — forked from limhoff-r7/config.exs
nginx + phoenix configuration to server phoenix behind nginx at path 'phoenix'. nginx rewrites incoming URLs to strip the /phoenix, while the config.exs for phoenix ensures URLs are prefixed with /phoenix using the config.url.path
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config
# Configures the namespace used by Phoenix generators
config :my_app,
app_namespace: MyApp
rubysolo /
Created October 7, 2015 22:45 — forked from mattweldon/
Getting Elixir / Phoenix running on Digital Ocean with edeliver

Build Server

  • Go to Digital Ocean
  • Create new droplet
  • London
  • Ubuntu
  • No apps
  • Add SSH keys
rubysolo / a.rb
Last active August 29, 2015 14:20 — forked from ahoward/a.rb
segment = Segment::TwitterFollowers.create(
name: "Demo Twitter Followers Segment #{ timestamp }",
account: account,
client: client,
definition_data: "@nike\n"
rubysolo / nginx.conf
Last active August 29, 2015 14:07 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
echo "deb `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-$PG_NEW postgresql-server-dev-$PG_NEW postgresql-contrib-$PG_NEW -y
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS hstore;'"
sudo su - postgres -c "psql template1 -p 5433 -c 'CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";'"
sudo su - postgres -c "service postgresql stop"
rubysolo / index.html
Last active August 29, 2015 14:00 — forked from darwin/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href=""/>
<script src=""></script>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">How Simpleton Works</tspan>
<actor t="translate(76,42)" pose="-11,9|-4,117|-11,99|-13,87|-11,79|-11,59|-16,34|-21,9|-6,34|-1,9|-18,79|-18,59|-6,79|-1,59">