Skip to content

Instantly share code, notes, and snippets.

View ciscoLegrand's full-sized avatar
💭
🤪😵‍💫💥🙈

ciscoLegrand ciscoLegrand

💭
🤪😵‍💫💥🙈
View GitHub Profile
@schacon
schacon / better-git-branch.sh
Created January 13, 2024 18:41
Better Git Branch output
#!/bin/bash
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NO_COLOR='\033[0m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'
NO_COLOR='\033[0m'
@askegg
askegg / ruby 3.4.2.md
Last active February 21, 2025 11:49
Installing Ruby 3.3 with YJIT on Macbook with ASDF

Installing Ruby 3.4.2 with YJIT on Macbook with ASDF

Install ASDF

Ensure you have homebrew installed. See https://brew.sh

brew install coreutils curl git libyaml asdf

Add the ZSH plugin (if needed)

@alexrudall
alexrudall / #ChatGPT Streaming.md
Last active September 25, 2025 02:25
ChatGPT streaming with ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind!

How to add ChatGPT streaming to your Ruby on Rails 7 app!

This guide will walk you through adding a ChatGPT-like messaging stream to your Ruby on Rails 7 app using ruby-openai, Rails 7, Hotwire, Turbostream, Sidekiq and Tailwind. All code included below!

Want more content like this, for free? Check out my free book, RailsAI!

Alt Text

@nnguyen150468
nnguyen150468 / nguyen-mongodb-query-exercise.md
Last active January 21, 2025 06:54
MongoDB Query Exercise

MongoDB query exercise

working with Chinh Le @ https://github.com/ldchinhcr

  1. display all the documents in the collection restaurants.

db.rest.find()

  1. display the fields restaurant_id, name, borough and cuisine for all the documents in the collection restaurant.
@kirillshevch
kirillshevch / rails_new_options_help.md
Last active August 13, 2025 02:52
"rails new" options for generating a new Rails application

Run rails new --help to see all of the options you can use to create a new Rails application:

Output for Rails 8+

Usage:
  rails COMMAND [options]

You must specify a command: