Skip to content

Instantly share code, notes, and snippets.

View commoddity's full-sized avatar

Pascal van Leeuwen commoddity

View GitHub Profile
@commoddity
commoddity / quickstart.md
Last active April 30, 2026 12:06
How to Use `thaura.ai` as the backend for Claude Code
@commoddity
commoddity / README.md
Last active October 9, 2025 14:26
TypeScript SDK Demo for Portal DB PostgREST API

TypeScript SDK Demo

A minimal demo showing how to use the Portal DB TypeScript SDK to fetch services from PostgREST.

🚀 Quick Start

1. Install Dependencies

npm install
@commoddity
commoddity / keybase.md
Created February 17, 2022 02:46
keybase.md

Keybase proof

I hereby claim:

  • I am commoddity on github.
  • I am commoddity (https://keybase.io/commoddity) on keybase.
  • I have a public key whose fingerprint is F4EA 593F 85B7 595B C317 630D 9996 0043 65A1 7009

To claim this, I am signing this object:

@commoddity
commoddity / mtg-async.js
Last active February 2, 2020 06:53
mtg-async-description
let phase = 'main phase';
let saddlebackLagacInPlay = true;
const castTurnToMist = () => {
console.log('Player 1 casts Turn To Mist.');
console.log('Remove target creature from play.');
saddlebackLagacInPlay = false;
@commoddity
commoddity / mtg-infinite.js
Last active February 1, 2020 09:20
mtg-infinite-loop
const ping = () => {
console.log('Deals one damage to player 1.');
exquisiteBlood();
};
const exquisiteBlood = () => {
console.log('Player 1 lost one life. Player 2 gains one life.');
sanguineBond();
@commoddity
commoddity / mtg-stack-example.js
Last active February 2, 2020 20:13
mtg-stack-example
function castLightningBolt() {
console.log('Player 1 casts Lightning Bolt!');
castCounterspell();
console.log('Lightning Bolt is countered and removed from the stack.');
}
function castCounterspell() {
console.log('Player 2 casts Counterspell, targeting Player 1\'s Lightning Bolt.');
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
margin: 0px;
padding: 0px;
}
</style>
</head>