Skip to content

Instantly share code, notes, and snippets.

View GesJeremie's full-sized avatar

Jeremie Ges GesJeremie

View GitHub Profile
import type { Product } from '@prisma/client';
import type { LoaderFunction } from '@remix-run/node';
import { Link, useLoaderData } from '@remix-run/react';
import { db } from '~/db/db.server';
interface LoaderData {
products: Product[];
count: number;
pageNumber: number;
}
@BilalBudhani
BilalBudhani / .bashrc
Last active February 7, 2025 05:02
Using AI to generate git commit message based on the files changed
alias aigc="git --no-pager diff HEAD --raw -p | llm -m 4o-mini -s 'You have been provided with the raw output of git diff command. Generate a single line meaningful yet concise commit message' | git commit -a --file -"