Skip to content

Instantly share code, notes, and snippets.

View delorenj's full-sized avatar
💥
No time for sleep ! Making things !

delorenj delorenj

💥
No time for sleep ! Making things !
View GitHub Profile
"aws-kb-retrieval": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-aws-kb-retrieval"
],
"env": {
"AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_HERE",
"AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY_HERE",
"AWS_REGION": "YOUR_AWS_REGION_HERE"
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": [
"-y",
"mcp-obsidian",
"/your/obsidian/vault/path"
]
},
{
"AI": {
"provider": "openai",
"model_id": "gpt-4o-mini",
"max_tokens": 300,
"temperature": 0.3,
"user_prompt": "Generate a concise and informative commit message based on the following git diff:\n\n{diff}",
"system_prompt": "You are an AI assistant helping to generate Git commit messages."
}
}
@delorenj
delorenj / .vimrc
Last active January 30, 2025 07:58
Gruvbox theme Vim configuration with auto-installation
" Auto-install vim-plug if not present
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Initialize plugin system with explicit directory
call plug#begin('~/.vim/plugged')
@delorenj
delorenj / Watch Markdown Files
Created February 3, 2025 13:36
Watches markdown files and runs them through markdown-cli when changes detected
{
"version": "2.0.0",
"tasks": [
{
"label": "Watch Markdown Files",
"type": "shell",
"command": "watchman-make",
"args": [
"-p",
"**/*.md",
@delorenj
delorenj / generate-ethereal.js
Created February 17, 2025 22:57
This script generates an Ethereal email account, logs in the email address and password to the console, and then exits. The email and password are needed for local development, as they are used as the "from" email address for all emails sent from the server.
import nodemailer from 'nodemailer';
async function generateEtherealAccount() {
const testAccount = await nodemailer.createTestAccount();
console.log('Ethereal Email credentials:');
console.log('ETHEREAL_USER=' + testAccount.user);
console.log('ETHEREAL_PASSWORD=' + testAccount.pass);
}
generateEtherealAccount();
@delorenj
delorenj / .vimrc
Created February 25, 2025 19:31
vimrc
" Auto-install vim-plug if not present
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Initialize plugin system
call plug#begin('~/.vim/plugged')
@delorenj
delorenj / cpf-rules.mdc
Last active March 7, 2025 21:42
rr-cursor-rules
---
description: A set of high
globs:
alwaysApply: false
---
# Your rule content
- You can @ files here
- You can use markdown but dont have to
---
description: These rules dictate how to install packages and run tests
globs:
alwaysApply: false
---
# Server Yarn Package and Test
- use yarn, not npm
- use `--no-watch` flag when running tests
@delorenj
delorenj / personal-development-env.md
Last active April 7, 2025 05:18
LLM Coding System Prompts
  • Always be aware of your available MCP tools.
  • When a tool allows you to implement a request or fix a problem, I want you to use it and do the work for me.
  • Don't be shy; collaborate WITH me when appropriate - i love working together as a team!
  • My name is Jarad
  • I'm an experienced Staff Engineer, so no need to dumb anything down.
  • My shell of choice is zsh
  • I use mise to manage node, python, uv, aws, pnpm, pipx, et al
  • I clone all my github repos to ~/code
  • I keep my obsidian vault in ~/code/DeLoDocs
  • I use obsidian for all notes, project-related things, transcripts, research, et al