Skip to content

Instantly share code, notes, and snippets.

View ericbfriday's full-sized avatar

Eric Friday ericbfriday

  • NMDP
  • Minneapolis, MN
View GitHub Profile
@ericbfriday
ericbfriday / preprocessor_fun.h
Created September 24, 2025 15:20 — forked from aras-p/preprocessor_fun.h
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@ericbfriday
ericbfriday / cli.mjs
Created August 5, 2025 09:35 — forked from leehanchung/cli.mjs
formatted claude code cli.mjs
This file has been truncated, but you can view the full file.
#!/usr/bin/env -S node --no-warnings=ExperimentalWarning --enable-source-maps
// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
@ericbfriday
ericbfriday / claude_desktop_config.json
Created July 24, 2025 19:04 — forked from sotayamashita/claude_desktop_config.json
How to Run DeepWiki MCP Server on Claude Desktop for Volta Users
{
"mcpServers": {
"deepwiki": {
"command": "<TODO: Replace with output from `which -a npx` (use the Volta path)>",
"args": [
"-y",
"mcp-remote",
"https://mcp.deepwiki.com/sse"
]
}
@ericbfriday
ericbfriday / mangosd.conf
Created October 3, 2024 03:18 — forked from cbrgm/mangosd.conf
cmangos config
#####################################
# MaNGOS Configuration file #
#####################################
[MangosdConf]
ConfVersion=2019020601
###################################################################################################################
# CONNECTIONS AND DIRECTORIES
#