Skip to content

Instantly share code, notes, and snippets.

View masonhensley's full-sized avatar
🤠
Building

Mason Hensley masonhensley

🤠
Building
View GitHub Profile
layout-420d6f9cb298d11d.js:1
GET https://www.digicastmetal.com/api/auth/session 404 (Not Found)
m @ layout-420d6f9cb298d11d.js:1
(anonymous) @ layout-420d6f9cb298d11d.js:1
aI @ fd9d1056-9c83791d12c739be.js:1
a3 @ fd9d1056-9c83791d12c739be.js:1
a5 @ fd9d1056-9c83791d12c739be.js:1
a8 @ fd9d1056-9c83791d12c739be.js:1
@masonhensley
masonhensley / ruby-on-rails-llm-snippets.md
Last active March 7, 2025 21:50
Ruby On Rails AI Helper Snippets

Ruby On Rails AI Helper Snippets

This gist has cli snippets to help you gather code to paste into LLMs like Grok, OpenAI, Claude if you need to do quick/dirty vibing and collaboration without a fully integrated IDE like Windsurf or Cursor.

Vibe: analyze migrations in a Ruby on Rails Repository

Prompt: can you cat all my migrations files into a single output so I can review it? leave a comment of each model file path before each section

Output:

for f in db/migrate/*.rb; do echo "# File: $f"; echo ""; cat "$f"; echo -e "\n\n"; done | cat
@masonhensley
masonhensley / install.md
Last active May 25, 2016 20:01 — forked from montanaflynn/install.md
Quickly install Kong on Ubuntu 14.04

Install Java, Cassandra & Kong on Ubuntu 14.04

sudo apt-get install -y wget
wget -O kong-install.sh http://git.io/vmMjv
cat kong-install.sh
chmod +x kong-install.sh
sudo ./kong-install.sh
source ~/.bash_profile
sudo cassandra
@masonhensley
masonhensley / haiku
Created December 19, 2013 21:15 — forked from friggeri/haiku
haiku = ->
adjs = [
"autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark",
"summer", "icy", "delicate", "quiet", "white", "cool", "spring", "winter",
"patient", "twilight", "dawn", "crimson", "wispy", "weathered", "blue",
"billowing", "broken", "cold", "damp", "falling", "frosty", "green",
"long", "late", "lingering", "bold", "little", "morning", "muddy", "old",
"red", "rough", "still", "small", "sparkling", "throbbing", "shy",
"wandering", "withered", "wild", "black", "young", "holy", "solitary",
"fragrant", "aged", "snowy", "proud", "floral", "restless", "divine",
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev nano
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install