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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
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.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |