Skip to content

Instantly share code, notes, and snippets.

Scoundrel Rules

Scoundrel is a single-player, rogue-like card game played with a standard deck of cards. The objective is to survive a dungeon crawl by battling monsters and managing your health.

Setup

  1. Prepare the Deck: Start with a standard 52-card deck. Remove all jokers, red face cards (Jacks, Queens, Kings), and red Aces. The remaining cards form the "Dungeon" deck.
  2. Starting Health: You begin with 20 health points.

Card Roles

@ngauthier
ngauthier / index.js
Created June 28, 2025 16:52
Drip MCP Server - Complete API Implementation
#!/usr/bin/env node
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import {
CallToolRequestSchema,
ListToolsRequestSchema,
} from "@modelcontextprotocol/sdk/types.js";
import fetch from "node-fetch";
@ngauthier
ngauthier / index.js
Created June 28, 2025 14:49
Drip MCP Server
#!/usr/bin/env node
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import {
CallToolRequestSchema,
ListToolsRequestSchema,
} from "@modelcontextprotocol/sdk/types.js";
import fetch from "node-fetch";
package fieldsampler
import (
"github.com/honeycombio/beeline-go/sample"
)
const (
// CustomSampleRateFieldName is the field to use to override the default Sample Rate
CustomSampleRateFieldName = "CustomSampleRate"

Honeycomb Beeline Golang - Field Sampler

Usage:

// Configure it with a default sample rate
hook, err := fieldsampler.NewFieldSamplerHook(1)
if err != nil {
	log.Fatal(err)
}
(function() {
window.onerror = function(message, url, line, column) {
if (typeof url === "undefined" || url === null || url === "") {
return;
}
var data = JSON.stringify({
message: message,
url: url,
line: line,
@ngauthier
ngauthier / keybase.md
Created March 8, 2018 20:00
keybase.md

Keybase proof

I hereby claim:

  • I am ngauthier on github.
  • I am ngauthier (https://keybase.io/ngauthier) on keybase.
  • I have a public key ASDxB3I8Mq8d2GMauNlQdEGZKiu29cVrnz_zK6gLX-XU_go

To claim this, I am signing this object:

#!/usr/bin/env bash
set -e
USAGE="Usage: migrate <up|down|new|init>"
# http://www.postgresql.org/docs/9.5/static/libpq-envars.html
export PGDATABASE=${PGDATABASE:-meetspace}
cd `dirname $0`/../migrations
@ngauthier
ngauthier / README.md
Last active May 21, 2016 17:15
Gobridge Boston Day 1

Gobridge Boston Day 1

Hello and welcome to gobridge's day 1 content! The goal of this page is to guide you through the basics of programming in Go using the site Go by Example.

Please follow along with the class as we do each lesson, try not to skip ahead, and focus on the lesson we're on. If you finish early, play around by changing the code we're working with for the current lesson, or help a friend!

Lesson 1: Hello World

  1. Open https://gobyexample.com and click on the first link, "Hello World"
@ngauthier
ngauthier / Dockerfile
Last active March 21, 2016 18:10
GDG Docker App Example
FROM golang
ADD main.go ./
RUN go build -o greeter main.go
CMD ["./greeter"]